Advertisement
PandaAcademy

frontend.deployment

Apr 20th, 2022 (edited)
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.47 KB | None | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4.   name: frontend-deployment
  5.   labels:
  6.     app: frontend
  7. spec:
  8.   replicas: 1
  9.   selector:
  10.     matchLabels:
  11.       app: frontend
  12.   template:
  13.     metadata:
  14.       labels:
  15.         app: frontend
  16.     spec:
  17.       containers:
  18.       - name: frontend
  19.         image: pandaacademy/frontend:latest
  20.         ports:
  21.         - containerPort: 5000
  22.         env:
  23.         - name: BACKEND_URL
  24.           value: http://backend-service:5001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement