Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: httpd-frontend
- spec:
- replicas: 3
- selector:
- matchLabels:
- name: httpd-frontend
- template:
- metadata:
- labels:
- name: httpd-frontend
- spec:
- containers:
- - name: httpd-frontend
- image: httpd:2.4-alpine
- command:
- - sh
- - "-c"
- - echo Hello Kubernetes! && sleep 3600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement