Editing Kubernetes deployments
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | A Deployment provides declarative updates for [[Pods]] and [[ReplicaSets]]. | |
− | |||
− | + | https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ | |
− | |||
− | |||
− | |||
− | |||
− | + | * <code>[[kubectl rollout]]</code> | |
− | * <code>[[kubectl rollout | ||
* <code>[[kubectl create deployment]] hello-minikube --image=k8s.gcr.io/echoserver:1.10</code> | * <code>[[kubectl create deployment]] hello-minikube --image=k8s.gcr.io/echoserver:1.10</code> | ||
:: <code>[[kubectl expose]] deployment hello-minikube --type=[[NodePort]] --port=8080</code> | :: <code>[[kubectl expose]] deployment hello-minikube --type=[[NodePort]] --port=8080</code> | ||
Line 20: | Line 14: | ||
== Activities == | == Activities == | ||
− | |||
* [[CKA v1.23]]: [[Understand deployments and how to perform rolling update and rollbacks]] | * [[CKA v1.23]]: [[Understand deployments and how to perform rolling update and rollbacks]] | ||
* [[CKA v1.18]]: [[Understand deployments and how to perform rolling update and rollbacks|Understand Kubernetes deployments and how to perform updates and rollbacks]] | * [[CKA v1.18]]: [[Understand deployments and how to perform rolling update and rollbacks|Understand Kubernetes deployments and how to perform updates and rollbacks]] | ||
Line 26: | Line 19: | ||
* Read https://blog.container-solutions.com/kubernetes-deployment-strategies | * Read https://blog.container-solutions.com/kubernetes-deployment-strategies | ||
** Recreate, [[rolling-update]], [[a/b testing]] .../... | ** Recreate, [[rolling-update]], [[a/b testing]] .../... | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
* [[Canary Deployment]] | * [[Canary Deployment]] | ||
+ | * <code>[[kind: Deployment]]</code> | ||
* <code>[[kubectl scale]]</code> | * <code>[[kubectl scale]]</code> | ||
* <code>[[kubectl rolling-update]]</code> (deprecated) | * <code>[[kubectl rolling-update]]</code> (deprecated) | ||
− | |||
* [[Kubernetes services]] | * [[Kubernetes services]] | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
+ | * {{Kubernetes Workloads}} | ||
* {{Kubernetes deployments}} | * {{Kubernetes deployments}} | ||
− | + | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: