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 rolling-update]]</code> | |
− | * <code>[[kubectl | + | * <code>[[kubectl rollout]]</code> |
* <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> | ||
− | + | [[kubectl describe deployment]] mysql | |
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
− | * [[CKA v1. | + | * [[CKA v1.18]]: Understand [[Kubernetes deployments|deployments]] and how to perform updates and rollbacks |
− | + | * [[CKA v1.15]]: [[Understand Deployments and how to perform rolling updates]] | |
− | |||
− | * [[CKA v1.15]]: Understand Deployments and how to perform | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
* [[Canary Deployment]] | * [[Canary Deployment]] | ||
+ | * <code>[[kind (Kubernetes)|kind]]: Deployment</code> | ||
+ | * [[Kubernetes services]] | ||
* <code>[[kubectl scale]]</code> | * <code>[[kubectl scale]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | * {{ | + | * {{kubectl}} |
− | * {{ | + | * {{CKA}} |
+ | * {{K8s}} | ||
+ | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: