Kubernetes Deployment Manifest: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 29: | Line 29: | ||
==replicas== | ==replicas== | ||
Specifies the number of desired pods. Defaults to 1. | |||
==selector== | ==selector== |
Revision as of 23:03, 11 September 2019
External
Internal
Overview
Example
apiVersion: apps/v1 kind: Deployment metadata: name: archaeopteryx labels: color: blue spec: replicas: 1 selector: strategy: revisionHistoryLimit: progressDeadlineSeconds: template:
.spec Elements
replicas
Specifies the number of desired pods. Defaults to 1.