Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
- kind: Deployment
- metadata:
- name: (( grab meta.deployment_name ))
- spec:
- selector:
- matchLabels:
- app: nginx
- replicas: (( grab meta.replicas ))
- template:
- metadata:
- labels:
- app: nginx
- spec:
- containers:
- - name: nginx
- image: nginx
- ports:
- - containerPort: 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement