Advertisement
Guest User

HelloRC

a guest
Sep 1st, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.60 KB | None | 0 0
  1. apiVersion: v1
  2. kind: ReplicationController
  3. metadata:
  4.   labels:
  5.     app: hello
  6.   name: hello
  7.   namespace: default
  8. spec:
  9.   replicas: 2
  10.   selector:
  11.     app: hello
  12.   template:
  13.     metadata:
  14.       labels:
  15.         app: hello
  16.       name: hello
  17.     spec:
  18.       containers:
  19.       - image: nginx
  20.         imagePullPolicy: Always
  21.         name: hello
  22.         resources: {}
  23.         securityContext:
  24.           privileged: false
  25.         terminationMessagePath: /dev/termination-log
  26.       dnsPolicy: ClusterFirst
  27.       restartPolicy: Always
  28.       securityContext: {}
  29.       terminationGracePeriodSeconds: 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement