kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch06/sleep.yaml

19 lines
284 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
name: sleep
labels:
kiamol: ch06
spec:
selector:
matchLabels:
app: sleep
template:
metadata:
labels:
app: sleep
spec:
containers:
- name: sleep
image: kiamol/ch03-sleep