daily pastebin goal
1%
SHARE
TWEET

nginx-deployment

a guest Jun 4th, 2016 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # kubectl get deployment nginx-rc -o yaml
  2. apiVersion: extensions/v1beta1
  3. kind: Deployment
  4. metadata:
  5.   annotations:
  6.     deployment.kubernetes.io/revision: "1"
  7.   creationTimestamp: 2016-06-04T07:42:31Z
  8.   generation: 2
  9.   labels:
  10.     app: nginx
  11.   name: nginx-rc
  12.   namespace: default
  13.   resourceVersion: "383"
  14.   selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/nginx-rc
  15.   uid: e522bd3f-2a27-11e6-8375-5254002d9463
  16. spec:
  17.   replicas: 1
  18.   selector:
  19.     matchLabels:
  20.       app: nginx
  21.   strategy:
  22.     rollingUpdate:
  23.       maxSurge: 1
  24.       maxUnavailable: 1
  25.     type: RollingUpdate
  26.   template:
  27.     metadata:
  28.       creationTimestamp: null
  29.       labels:
  30.         app: nginx
  31.     spec:
  32.       containers:
  33.       - image: nginx
  34.         imagePullPolicy: Always
  35.         name: nginx
  36.         ports:
  37.         - containerPort: 80
  38.           protocol: TCP
  39.         resources:
  40.           requests:
  41.             cpu: 200m
  42.         terminationMessagePath: /dev/termination-log
  43.       dnsPolicy: ClusterFirst
  44.       restartPolicy: Always
  45.       securityContext: {}
  46.       terminationGracePeriodSeconds: 30
  47. status:
  48.   availableReplicas: 1
  49.   observedGeneration: 2
  50.   replicas: 1
  51.   updatedReplicas: 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top