Advertisement
QualibreInfo

frontend-deployment.yml

Oct 18th, 2023
1,682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.72 KB | None | 0 0
  1. apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
  2. kind: Deployment
  3. metadata:
  4.   name: frontend
  5.   labels:
  6.     app: guestbook
  7. spec:
  8.   selector:
  9.     matchLabels:
  10.       app: guestbook
  11.       tier: frontend
  12.   replicas: 3
  13.   template:
  14.     metadata:
  15.       labels:
  16.         app: guestbook
  17.         tier: frontend
  18.     spec:
  19.       containers:
  20.       - name: php-redis
  21.         image: docker-all.devops.etat-ge.ch/gremz/gb-frontend-8080:v3
  22.         resources:
  23.           requests:
  24.             cpu: 100m
  25.             memory: 100Mi
  26.           limits:
  27.             cpu: 300m
  28.             memory: 500Mi
  29.         env:
  30.         - name: GET_HOSTS_FROM
  31.           value: dns
  32.         ports:
  33.         - containerPort: 8080
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement