Giter Site home page Giter Site logo

kubernetes-demo's People

Contributors

24601 avatar abdennour avatar cxhercules avatar jleetutorial avatar stefanthorpe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kubernetes-demo's Issues

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.

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

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

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 or minikube 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:

image

What you expected to happen:

OR

  • http://localhost:8001/ui should redirect to http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/overview

image

How to reproduce it (as minimally and precisely as possible):

  • run kubectl proxy
  • navigate to http://localhost:8001/ui through the browser or curl 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

"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:

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

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"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.