multi-k8s's People
Forkers
jay74jung aaronrryan alphapoint onggunhao azurecloudmonk softshekhar jacksontong perception30 challa medicharlachiranjeevi jdschmitz vijayenthran hsmaheen saifulcce bikram566 placidrod smettu007 torinouq matheustp tubalu naveenhmkumar arthurwei0 shostakovich m1rke youngkwonjo mukeshpurohit fbarbier maladiesecond yuriikhomych yuttasakcom syellanki rafaelmalheiros serendipity1004 lolzyloz vishal2232 openainext sim-repo praveen4g0 tabatrung bnamita ekpangmichael goyalvickey vkingmaker palino1611 nagarkarv ildarcheg yoongjian venkig-2244 sunnydevops maheshrajannan t0ry gleme vtejapy sahandmax ovvn el27egs spcarey uppalavijaygit thamgit sns45 mobile-unit vivekraj59 guptdaf bengugit01 mr-krishna sebge2 hoangminh0312 nkirui oskygh rggarcia84 apjd pretty25 pramine prasadmoru xmylydia sumeetisp mattmendoza412 githubly123 dragonmaster0511 chenna-wipro-com amangarg4804 madamanchikiran parthakonda tomtom80 raganavya vzan2012 sbala69gmail sanju918 colin311aws kinowarrior minty1968 aru9 akhilgupta91 mujjuuuu deraviyam thismahbub joaquimbarreto rm031015 michalbu shizonicmulti-k8s's Issues
Regarding the deployment of postgres
I was following your course on Udemy.
I have encountered an error while creating postgres-deoployment.
When we create postgres deployment, we cannot create it with without ENV parameter and otherwiese pod stays in crashLoopBackOff status.
So here is the code which works.
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres-deployment
spec:
replicas: 1
selector:
matchLabels:
component: postgres
template:
metadata:
labels:
component: postgres
spec:
containers:
- name: postgres
image: postgres
ports:
- containerPort: 5432
env:
- name: POSTGRES_HOST_AUTH_METHOD
value: trust
You just need to add the env parameter and its values, initially to create it. But as we progress then we can change its value according to the course
Helm init ( helm lint --service-account tiller --upgrade )
helm init
This command does not exist in Helm 3, following the removal of Tiller. You no longer need to install Tiller in your cluster in order to use Helm.
while executing this command: helm lint --service-account tiller --upgrade. I got :
Error: unknown command "init" for "helm"
Ingress service
I have also noticed that they have deprecated Ingress in the extensions/v1beta1 from kubernetes and replace with networking.k8s.io/v1beta1 and that's why my ingress-service.yaml was not working.
So here is the updated version of ingress-service.yaml as of now in year 2023.
Here is the current version of client and server of kubernetes.
{
"clientVersion": {
"major": "1",
"minor": "25",
"gitVersion": "v1.25.9",
"gitCommit": "a1a87a0a2bcd605820920c6b0e618a8ab7d117d4",
"gitTreeState": "clean",
"buildDate": "2023-04-12T12:16:51Z",
"goVersion": "go1.19.8",
"compiler": "gc",
"platform": "windows/amd64"
},
"kustomizeVersion": "v4.5.7",
"serverVersion": {
"major": "1",
"minor": "26",
"gitVersion": "v1.26.3",
"gitCommit": "9e644106593f3f4aa98f8a84b23db5fa378900bd",
"gitTreeState": "clean",
"buildDate": "2023-03-15T13:33:12Z",
"goVersion": "go1.19.7",
"compiler": "gc",
"platform": "linux/amd64"
}
}
and the yaml code
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: nginx
# rewrite means that it will rewrite the api path and send the traffic to the right resource
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
# name should be the same as we have defined in the service
name: client-cluster-ip-service
port:
number: 3000
- path: /api/
pathType: ImplementationSpecific
backend:
service:
# name should be the same as we have defined in the service
name: server-cluster-ip-service
port:
number: 5000
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.