SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. apiVersion: extensions/v1beta1
  3. kind: Deployment
  4. metadata:
  5.   name: deployment-first
  6. spec:
  7.   replicas: 2
  8.   template:
  9.     metadata:
  10.       labels:
  11.         app: deployment-first
  12.       annotations:
  13.         prometheus.io/scrape: 'true'
  14.     spec:
  15.       containers:
  16.       - name: deployment-first
  17.         image: nginx
  18.         imagePullPolicy: Always
  19.         ports:
  20.         - containerPort: 80
  21.           protocol: TCP
  22.         resources:
  23.           requests:
  24.             memory: "32Mi"
  25.             cpu: "1m"
  26.           limits:
  27.             memory: "256Mi"
  28.             cpu: "100m"
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