25 lines
477 B
YAML
25 lines
477 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sleep2
|
|
labels:
|
|
kiamol: ch19
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: sleep2
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sleep2
|
|
spec:
|
|
containers:
|
|
- name: sleep
|
|
image: kiamol/ch03-sleep
|
|
tolerations:
|
|
- key: "kiamol-disk"
|
|
operator: "Equal"
|
|
value: "hdd"
|
|
effect: "NoSchedule"
|
|
nodeSelector:
|
|
kubernetes.io/arch: zxSpectrum |