Difference between revisions of "Kubernetes deployments"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* [[CKA v1.18]]: Understand [[Kubernetes deployments|deployments]] and how to perform [[updates]] and [[rollbacks]] | * [[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 [[rolling updates]] | ||
+ | * Read https://blog.container-solutions.com/kubernetes-deployment-strategies | ||
== Related terms == | == Related terms == |
Revision as of 16:39, 31 May 2022
A Deployment provides declarative updates for Pods and ReplicaSets.
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
kubectl rollout
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
kubectl expose deployment hello-minikube --type=NodePort --port=8080
kubectl describe deployment mysql
kubectl get deployments
kubectl get deployments -A
kubectl scale deployment
Activities
- CKA v1.23: Understand deployments and how to perform rolling update and rollbacks
- CKA v1.18: Understand deployments and how to perform updates and rollbacks
- CKA v1.15: Understand Deployments and how to perform rolling updates
- Read https://blog.container-solutions.com/kubernetes-deployment-strategies
Related terms
- Canary Deployment
kind: Deployment
kubectl scale
kubectl rolling-update
(deprecated)- Kubernetes services
See also
- Kubernetes Workloads:
Deployment
,ReplicaSet, StatefulSet, DaemonSets, Job, CronJob
,.apps/
- Kubernetes deployments, strategies:
kind: Deployment
, Strategies:Recreate
orRollingUpdate
,kubectl
[create | describe | get | scale | rollout | deployment/
], Kubernetes Canary Deployments,deployment.kubernetes.io
Advertising: