kubernetes-demo's Introduction
kubernetes-demo's People
Forkers
naveen467 wenh123 kranthik123 chaconmelgarejo anandsoft scm-harsha princewadhwa alexhodan jnrishab atitshah23 vibin6666 sabya1981 michal-organek awscodedeployanshul vardhan0707 amit-uc shyamnaidu143 gachet fpbhur yuokada diderson mshivaramie22 unixonboard finlandlarry jfjessup jbrach zsaliou meetgadhiya jnprogrammer abowman32 davehorsley velmurugan-r boriskovalev chubao rajdhandus reyhaan faraz891 newtech43 trickybytes iamjatindersingh ankitkumarsinghrnc avi999 ovalerianos christophefromparis dileep-p avaussant ttorr3s simhead iamgini tmisv2 jayrout akramsadab wintoo robertkielty jpquense ckmohan macie-kassh uliul-devops saikrishna4293 thirueswaran richgoldd git4example rnanduru ashokkalakoti mrneodiablo apeg1515 maheshde791 2tunnels scarsman satyaelipe yuanxu-digicert satishsverma vchhillar isdiegoalves romaintailhurat sam38k0 godgoali stretchcloud puppetbabu niekoloid kiranjshetty aniamin karthikcloud84 dec212012ab ranjeetkowel macshev duyoji rishiraaz prabello alexeyltd cypherhyper brandeil sunilkamat85 yshenggb abdelwahebg alexmarinenko cse50 santhosh13nov inthebackofmymind saurabhpathak21kubernetes-demo's Issues
[ Section2. Lecture 21 ] Request more hands-on with healthchecks
This is a request of adding hands-on lectures about healthchecks
Lecture
Related question
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9630316
Add more info regarding kubectl set image command
error calling include: template: no template "temp.chart" associated with template "gotpl"
Hi,
I am following up lesson 73 and I get the error below
Error: render error in "helm-chart-creation/templates/ghost-deployment.yaml": template: helm-chart-creation/templates/ghost-deployment.yaml:9:14: executing "helm-chart-creation/templates/ghost-deployment.yaml" at <include "temp.chart" .>: error calling include: template: no template "temp.chart" associated with template "gotpl"
I thought that I need to move the .tpl file in the same folder as the Chart.yaml, actually I did that, but it didn't work, still getting that error.
Could it be something wrong with this piece of code from the .tpl file?
Create chart name and version as used by the chart label.
*/}}
{{- define "temp.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
Thanks.
Error pod has unbound immediate PersistentVolumeClaims Back-off restarting failed container
Hi,
I am getting errror "pod has unbound immediate PersistentVolumeClaims
Back-off restarting failed container" when deploying wordpress according to instructions in chapter 47.
Any ideas?
thanks in advance,
Amauris
[Feature] K8s on Virtual Machines
"Is there any plans to add a k8s installation using common virtual machines, like Vmware?
I want to know how to create a k8s cluster with 2 masters and at least 3 workers manually, and show the best practice for it, and tips about kubernetes network and some operational problems may you can have on a production environment."
Related Question(s):
Images provided in deployment.yml not wroking
I have recently applied for your course in Udemy and executing deployments mentioned but most of the images are not working on minikube:
kubelet, minikube Failed to pull image "mysql:5.6": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/library/mysql/manifests/5.6: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmysql%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.0.2.3:53: read udp 10.0.2.15:59586->10.0.2.3:53: i/o timeout
[ Section2/ Lecture 21/ 00:59] The video was cut
The instructor said "to determine when a pod is healthy or unhealthy" but he didn't complete the second part of the phrase which is "after it has become ready"
Lecture
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9630316
Related questions
apiVersion "apps/v1beta1" or "apps/v1beta2" are now legacy
The recent apiVersion of deployments is apiVersion: apps/v1
.
Related Question(s)
Section 3.Lecture 21 - kubectl dashboard can't display
Environment:
Minikube version (use minikube version
): v0.28.1
- OS : macOS Sierra v10.12.6
- VM Driver (e.g.
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): virtualbox - ISO version (e.g.
cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.28.1.iso
What happened:
After running kubectl proxy
, http://localhost:8001/ui
shows the following in the browser:
What you expected to happen:
OR
http://localhost:8001/ui
should redirect tohttp://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/overview
How to reproduce it (as minimally and precisely as possible):
- run
kubectl proxy
- navigate to
http://localhost:8001/ui
through the browser orcurl http://localhost:8001/ui
Tomcat Deployment failing on Minikube
Following error is appearing when deploying first app on K8s as per your training material:
Failed to pull image "tomcat:9.0": rpc error: code = Canceled desc = context canceled
[Section 2, Lecture 17] Typo in dashes of commands' options
Replacing single dashes by double dashes in Lecture 17.
i.e:
kubectl scale --replicas=4 deployment/tomcat-deployment
instead of
kubectl scale —replicas=4 deployment/tomcat-deployment
and so on.
Section4.Lecture 26 - Manage code dependencies
Trigger:
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/questions/4804306
Description
Sometimes, the student jumps into a lecture without following the previous lectures.
If the source code of that lecture dependents on other source code of another lecture, we may need to update the lecture of commands
"kubectl run" is deprecated, use "kubectl create" instead
In the autoscaling lesson the following is run in a second terminal:
kubectl run -i --tty load-generator --image=busybox /bin/sh
After this you get a warning:
kubectl run --generator=deployment/apps.v1beta1 is DEPRECATED and will be removed in a future version. Use kubectl create instead.
This issue is a recent issue and it has been already raised by the community 9 days ago:
-
issue: kubernetes/examples#277
-
migration example from
run
tocreate
: https://github.com/kubernetes/examples/pull/280/files
Related Question (s)
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/questions/5371892
Related Lecture
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9671606?start=0
[Section1, L3 ] Add a guide on how to pull changes after moving repository to LevelUp account
Overview
This lecture needs update namely after moving the GH repository to LevelUpEducation GH account
Related Lecture
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9624364?start=0
Related Question:
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9624364?start=0
rename Section 3/Lecture 19 to Labels & Selectors
Selectors are already explained in the Section 3/Lecture 19. I understand the title of the lecture is "Labels" , however, it should be renamed to "Labels & Selectors".
[Resource Quota Lecture] All objects must use either requests or limits
What happens during that lecture is we configure the limits.cpu in the Resourcequote. But don't configure it in the tomcat-deployment instead we configure the Cpu requests.
Which occurs in the error we receive. If you change limits.cpu to requests.cpu everything works just fine.
Related Question(s)
Deprecation of flag breaks Audits
I have used minikube v1.23.2 on Debian 10.10, fairly successfully on all lessons except Audits.
When running the dot sh command I got the following persistent error:
Problems detected in kube-apiserver [197470447e13]:Error: unknown flag: --Audit.Log Options.Path
Which required me to delete minikube and re-install it. Fortunately I had good notes. From my History I offer (with notes and #s) the commands I used to re-install minikube.
RemoveAndReinstallMiniKube.txt
[ Resources Quota Lecure] Add a useful command for valdiation
Just after running kubectl -n cpu-limited-tomcat get resourcequota
, we can run the describe command:
kubectl -n cpu-limited-tomcat describe resourcequotas compute-resources
Related Lecture:
https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9671576?start=0
[Suggestion] - Assign IAM role at the pod level
Overview
Adding a lecture to explain how we can implement IAM role on pod level rather than apply on nodes ?
Related question (s):
[Volumes Lecture ] The default storage Class in minikube
The DefaultStorageClass admission plugin must be enabled to not encounter issues
Related Question(s):
investigate secret issue
[Docker] Isolation use cases
[Section 1, Lecture 8 ] Sync slide title, text and talk
Around minute 3:50, you change the slide title and start talking about minikube, but the main text remains the same as to when you were talking about GKE
error: SchemaError(io.k8s.api.apps.v1beta2.DaemonSet): invalid object doesn't have additional properties
Getting following error when applying deployment.yaml.
kubernetes-demo-master/Introduction to Kubernetes/Your First k8s App/deployment.yaml
kubectl apply -f deployment.yaml
error: SchemaError(io.k8s.api.apps.v1beta2.DaemonSet): invalid object doesn't have additional properties
kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Your First Kubernetes Application Commands - HTTP Status 404 – Not Found
After deploying the tomcat yaml file and getting and checking the url by minikube service tomcat-deployment --url
I get an HTTP Status 404 – Not Found error from Apache Tomcat/9.0.35
[Helm Section - Lecture 71] Typo "kube-system" and not "kube.system"
At the minute 6 and 26 seconds, the instructor ran this command:
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube.system:tiller
This command includes a typo in the value of the last option
Related Question(s):
Api version deprecated
Change apps/v1beta2 to apps/v1
[Section 2, Lecture 17] Line is duplicated in the list of commands
kubectl describe services tomcat-load-balancer
Is duplicated.
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.