Difference between revisions of "Kubernetes deployments"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 6: Line 6:
 
* <code>[[kubectl rolling-update]]</code>
 
* <code>[[kubectl rolling-update]]</code>
 
* <code>[[kubectl rollout]]</code>
 
* <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>
  

Revision as of 10:34, 20 August 2020

A Deployment provides declarative updates for Pods and ReplicaSets.

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/


kubectl expose deployment hello-minikube --type=NodePort --port=8080
kubectl describe deployment mysql

Activities


Related terms

See also

Advertising: