Difference between revisions of "Kubernetes deployments"
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
== See also == | == See also == | ||
* {{kubectl}} | * {{kubectl}} | ||
− | * {{ | + | * {{Kubernetes deployments}} |
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Revision as of 20:39, 1 December 2021
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 scale deployment
Activities
- CKA v1.18: Understand deployments and how to perform updates and rollbacks
- CKA v1.15: Understand Deployments and how to perform rolling updates
Related terms
- Canary Deployment
kind: Deployment
- Kubernetes services
kubectl scale
kubectl rolling-update
(deprecated)
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io- Kubernetes deployments, strategies:
kind: Deployment
, Strategies:Recreate
orRollingUpdate
,kubectl
[create | describe | get | scale | rollout | deployment/
], Kubernetes Canary Deployments,deployment.kubernetes.io
Advertising: