Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # kubectl get deployment nginx-rc -o yaml
- apiVersion: extensions/v1beta1
- kind: Deployment
- metadata:
- annotations:
- deployment.kubernetes.io/revision: "1"
- creationTimestamp: 2016-06-04T07:42:31Z
- generation: 2
- labels:
- app: nginx
- name: nginx-rc
- namespace: default
- resourceVersion: "383"
- selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/nginx-rc
- uid: e522bd3f-2a27-11e6-8375-5254002d9463
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: nginx
- strategy:
- rollingUpdate:
- maxSurge: 1
- maxUnavailable: 1
- type: RollingUpdate
- template:
- metadata:
- creationTimestamp: null
- labels:
- app: nginx
- spec:
- containers:
- - image: nginx
- imagePullPolicy: Always
- name: nginx
- ports:
- - containerPort: 80
- protocol: TCP
- resources:
- requests:
- cpu: 200m
- terminationMessagePath: /dev/termination-log
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- status:
- availableReplicas: 1
- observedGeneration: 2
- replicas: 1
- updatedReplicas: 1
Add Comment
Please, Sign In to add comment