Difference between revisions of "Kind: Deployment"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
* https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
  
 
== Official Example ==
 
== Official Example ==
Line 15: Line 16:
 
     matchLabels:
 
     matchLabels:
 
       app: nginx
 
       app: nginx
   template:
+
   [[template]]:
 
     metadata:
 
     metadata:
 
       labels:
 
       labels:
Line 25: Line 26:
 
         ports:
 
         ports:
 
         - containerPort: 80
 
         - containerPort: 80
 +
 +
== Activities ==
 +
* [[Update your deployment with a new image version]]: [[kubectl set]]
  
 
== Related ==
 
== Related ==
Line 34: Line 38:
 
* <code>[[terminationGracePeriodSeconds]]</code>
 
* <code>[[terminationGracePeriodSeconds]]</code>
 
* <code>[[field.cattle.io/publicEndpoints]]</code>
 
* <code>[[field.cattle.io/publicEndpoints]]</code>
* <code>[[Kubernetes deployments strategies|strategy]]</code>: <code>[[rollingUpdate]]</code>
+
* <code>[[Kubernetes deployments strategies|strategy]]</code>: <code>[[Recreate]] or [[rollingUpdate]]</code>
 
* <code>[[dnsPolicy]]</code>
 
* <code>[[dnsPolicy]]</code>
 
* <code>[[securityContext]]</code>
 
* <code>[[securityContext]]</code>
Line 40: Line 44:
 
* <code>[[status:]]</code>
 
* <code>[[status:]]</code>
 
* <code>[[app.kubernetes.io/managed-by: Helm]]</code>
 
* <code>[[app.kubernetes.io/managed-by: Helm]]</code>
 +
* [[RollingUpdateStrategy]]
 +
* [[kubectl describe deployment]]
 +
* [[kind: Service]]
 +
* [[revisionHistoryLimit]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:00, 21 April 2024

Advertising: