⇤ ← Revision 1 as of 2021-10-18 09:06:24
537
Comment:
|
← Revision 2 as of 2021-10-18 09:09:37 ⇥
538
|
Deletions are marked like this. | Additions are marked like this. |
Line 27: | Line 27: |
}}} |
k8s/StudyNotes/Deployments
Deployment wraps, ReplicaSets, pods, allows for roll backs
Same format as ReplicSets
apiVersion: apps/v1 kind: Deployment metadata name: myapp-deployment labels: app: myapp type: front-end spec: template metadata name: mayapp-pod labels: app: myapp type: front-end spec: containers: - name: nginx-container image: nginz replicas: 3 selector: matchLabels: type: front-end