Advertisement
npsoni

task-5

Aug 17th, 2022
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.35 KB | None | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4.   name: apache-deplyment
  5.   labels:
  6.     app: apache
  7. spec:
  8.   replicas: 5
  9.   selector:
  10.     matchLabels:
  11.       app: apache
  12.   template:
  13.     metadata:
  14.       labels:
  15.         app: apache
  16.     spec:
  17.       containers:
  18.       - name: apache
  19.         image: httpd
  20.         ports:
  21.         - containerPort: 80
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement