kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch07/timecheck/timecheck.yaml

18 lines
303 B
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
name: timecheck
labels:
kiamol: ch07
spec:
selector:
matchLabels:
app: timecheck
template:
metadata:
labels:
app: timecheck
spec:
containers:
- name: timecheck
image: kiamol/ch07-timecheck