리뷰 Kubernetes v1.6에 배포개
리뷰 7545개
There are bugs in the code: $ git diff deployments/hello-canary.yaml diff --git a/courses/ak8s/kubernetes/deployments/hello-canary.yaml b/courses/ak8s/kubernetes/deployments/hello-canary.yaml index f092efa7..d68e65bd 100644 --- a/courses/ak8s/kubernetes/deployments/hello-canary.yaml +++ b/courses/ak8s/kubernetes/deployments/hello-canary.yaml @@ -6,7 +6,7 @@ spec: replicas: 1 selector: matchLabels: - app: hello-canary + app: hello template: metadata: labels: $ git diff deployments/hello-green.yaml diff --git a/courses/ak8s/kubernetes/deployments/hello-green.yaml b/courses/ak8s/kubernetes/deployments/hello-green.yaml index 80967127..3ff3c1d2 100644 --- a/courses/ak8s/kubernetes/deployments/hello-green.yaml +++ b/courses/ak8s/kubernetes/deployments/hello-green.yaml @@ -1,9 +1,12 @@ -apiVersion: app/v1 +apiVersion: apps/v1 kind: Deployment metadata: name: hello-green spec: replicas: 3 + selector: + matchLabels: + app: hello template: metadata: labels:
Tony W. · 5년 초과 전에 리뷰됨
Had to change my hello-canary deployment file because it triggered an error. The Deployment "hello-canary" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"app":"hello", "track":"canary", "version":"2.0.0"} : `selector` does not match template `labels`" Changing the matchLabels app to hello instead of hello-canary fixed the problem.
Henrique G. · 5년 초과 전에 리뷰됨
I had to edit two deploments YAML files in order to get it working: deployments/hello-green.yaml was missing selector nano deployments/hello-canary.yaml because selector needed to be seperated into app: hello track: canary
Martijn R. · 5년 초과 전에 리뷰됨
Rupam J. · 5년 초과 전에 리뷰됨
Ashish P. · 5년 초과 전에 리뷰됨
Overall really useful, however there were some issues with the deployment yaml files for the canary deployment. The selector name wasn't correct and the deployment wouldn't run.
Max U. · 5년 초과 전에 리뷰됨
Benjo D. · 5년 초과 전에 리뷰됨
the github file is outdated, it requires github to update the API version of the yaml file to make it runnable
Kwan H. · 5년 초과 전에 리뷰됨
Robert O. · 5년 초과 전에 리뷰됨
Issue with hello-canary yaml file.
Abhishek T. · 5년 초과 전에 리뷰됨
Canary and Blue Green Deployments don't seem to work. Error 1: kubectl create -f deployments/hello-canary.yaml The Deployment "hello-canary" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"app":"hello", "track":"canary", "version":"2.0.0"}: `selector` does not match template `labels` Error 2: error: unable to recognize "deployments/hello-green.yaml": no matches for kind "Deployment" in version "app/v1"
Pratik M. · 5년 초과 전에 리뷰됨
4.0
Phani K. · 5년 초과 전에 리뷰됨
vaishali k. · 5년 초과 전에 리뷰됨
vaishali k. · 5년 초과 전에 리뷰됨
Akshay R. · 5년 초과 전에 리뷰됨
extensions/v1beta1 Deprecated
Eric G. · 5년 초과 전에 리뷰됨
ahora si
Leandro G. · 5년 초과 전에 리뷰됨
There are issues with 2 files used in this tutorial: - deployments/hello-canary.yaml --> app: hello - deployments/hello-green.yaml --> add selector to spec
Fatos H. · 5년 초과 전에 리뷰됨
Great lab! I found an error in one file and I reported it
Andres S. · 5년 초과 전에 리뷰됨
vaishali k. · 5년 초과 전에 리뷰됨
Zbigniew P. · 5년 초과 전에 리뷰됨
There are some errors in the config files (green dep file, canary dep). Although it helped me to learn more while debugging to fix the errors, I would like the flow to be smooth and include these as (known) challenges.
Durga P. · 5년 초과 전에 리뷰됨
vaishali k. · 5년 초과 전에 리뷰됨
4.5
Phani K. · 5년 초과 전에 리뷰됨
Prakash S. · 5년 초과 전에 리뷰됨
Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.