kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch18/numbers/web.yaml

23 lines
394 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: numbers-web
labels:
kiamol: ch18
spec:
selector:
matchLabels:
app: numbers
component: web
template:
metadata:
labels:
app: numbers
component: web
spec:
containers:
- name: web
image: kiamol/ch03-numbers-web
nodeSelector:
kubernetes.io/os: linux