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 8: Line 8:
 
* <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 ==

Revision as of 13:29, 6 May 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: