karthikvee

deployment-definition-1.yaml

Jul 30th, 2021
1,257
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. apiVersion: apps/v1
  3. kind: deployment
  4. metadata:
  5.   name: deployment-1
  6. spec:
  7.   replicas: 2
  8.   selector:
  9.     matchLabels:
  10.       name: busybox-pod
  11.   template:
  12.     metadata:
  13.       labels:
  14.         name: busybox-pod
  15.     spec:
  16.       containers:
  17.       - name: busybox-container
  18.         image: busybox888
  19.         command:
  20.        - sh
  21.         - "-c"
  22.         - echo Hello Kubernetes! && sleep 3600
RAW Paste Data