Advertisement
Guest User

Untitled

a guest
May 19th, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.82 KB | None | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4.   labels:
  5.     app: alertproxy
  6.   name: alertproxy
  7.   namespace: monitoring
  8. preference:
  9.   matchExpressions:
  10.   - key: test
  11.     operator: In
  12.     values:
  13.     - her
  14. spec:
  15.   replicas: 1
  16.   selector:
  17.     matchLabels:
  18.       app: alertproxy
  19.   template:
  20.     metadata:
  21.       labels:
  22.         app: alertproxy
  23.     spec:
  24.       containers:
  25.       - env: []
  26.         image: busybox:1.31.1-uclibc
  27.         name: alertproxy
  28.         ports:
  29.         - containerPort: 5000
  30.           name: http
  31.         readinessProbe:
  32.           httpGet:
  33.             port: http
  34.         resources:
  35.           limits:
  36.             cpu: 200m
  37.             memory: 200Mi
  38.           requests:
  39.             cpu: 100m
  40.             memory: 100Mi
  41.       nodeSelector:
  42.         kubernetes.io/os: linux
  43. weight: 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement