Kubernetes Deployments: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
=<span id='API'></span>Deployment Manifest= | =<span id='API'></span>Deployment Manifest= | ||
{{Internal|Kubernetes Deployment Manifest|Deployment Manifest}} | {{Internal|Kubernetes Deployment Manifest|Deployment Manifest}} | ||
=Pod Names= | |||
⚠️ The pod template manifest allows specifying a pod name, however it will be ignored. The pod names will be generated based on the deployment name, appending random sequences of characters: | |||
<syntaxhighlight lang='text'> | |||
httpd-6b8bb7895d-m9bzt | |||
</syntaxhighlight> | |||
=Playground Example= | =Playground Example= |
Revision as of 19:13, 15 October 2020
External
Internal
Overview
A Deployment brings scalability, self-healing, zero-downtime rolling updates and versioned rollbacks to a set of pods.
Deployment Manifest
Pod Names
⚠️ The pod template manifest allows specifying a pod name, however it will be ignored. The pod names will be generated based on the deployment name, appending random sequences of characters:
httpd-6b8bb7895d-m9bzt
Playground Example
Scaling
A Deployment has a Scale sub-resource, allowing it to be controlled by a horizontal pod autoscaler.