Editing Kind: Deployment

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:
 
{{lowercase}}
 
{{lowercase}}
* https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
 
  
 
== Official Example ==
 
== Official Example ==
Line 9: Line 8:
 
  [[metadata:]]
 
  [[metadata:]]
 
   name: nginx-deployment
 
   name: nginx-deployment
   [[labels:]]
+
   labels:
 
     app: nginx
 
     app: nginx
 
  [[spec:]]
 
  [[spec:]]
Line 16: Line 15:
 
     matchLabels:
 
     matchLabels:
 
       app: nginx
 
       app: nginx
   [[template]]:
+
   template:
 
     metadata:
 
     metadata:
 
       labels:
 
       labels:
Line 23: Line 22:
 
       [[containers:]]
 
       [[containers:]]
 
       - name: nginx
 
       - name: nginx
         [[image]]: nginx:1.14.2
+
         image: nginx:1.14.2
 
         ports:
 
         ports:
 
         - containerPort: 80
 
         - containerPort: 80
 
== Activities ==
 
* [[Update your deployment with a new image version]]: [[kubectl set]]
 
  
 
== Related ==
 
== Related ==
 +
* [[Kubernetes deployments]]
 
* <code>[[kind: ReplicaSet]]</code>
 
* <code>[[kind: ReplicaSet]]</code>
 
* <code>[[annotations:]]</code>
 
* <code>[[annotations:]]</code>
* <code>[[Kubernetes restartPolicy|restartPolicy]]</code>
+
* [[restartPolicy]]
* <code>[[schedulerName]]: [[default-scheduler]]</code>
+
* [[schedulerName]]: [[default-scheduler]]
* <code>[[serviceAccount]]</code>, <code>[[serviceAccountName]]</code>
+
* [[serviceAccount]]
* <code>[[terminationGracePeriodSeconds]]</code>
+
* [[serviceAccountName]]
 +
* [[terminationGracePeriodSeconds]]
 
* <code>[[field.cattle.io/publicEndpoints]]</code>
 
* <code>[[field.cattle.io/publicEndpoints]]</code>
* <code>[[Kubernetes deployments strategies|strategy]]</code>: <code>[[Recreate]] or [[rollingUpdate]]</code>
+
* [[rollingUpdate]]
* <code>[[dnsPolicy]]</code>
 
* <code>[[securityContext]]</code>
 
* <code>[[ImagePullSecrets:]]</code>
 
* <code>[[status:]]</code>
 
* <code>[[app.kubernetes.io/managed-by: Helm]]</code>
 
* [[RollingUpdateStrategy]]
 
* [[kubectl describe deployment]]
 
* [[kind: Service]]
 
* [[revisionHistoryLimit]]
 
  
 
== See also ==
 
== See also ==
* {{kind: Deployment}}
 
 
* {{K8s probes}}
 
* {{K8s probes}}
 
* {{Kubernetes deployments}}
 
* {{Kubernetes deployments}}
 +
* {{kind}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: