kubernetes-up-and-running/12-4-rs-queue.yaml
kammous 4f5c952545 Rename all files accordingly to kuard 2nd edition
- Move all objects, except for chapter 17 from v1beta to v1
- Fix an error on kuard image for Job chapter (#12)
2020-04-04 13:58:19 +02:00

27 lines
483 B
YAML

apiVersion: apps/v1
kind: ReplicaSet
metadata:
labels:
app: work-queue
component: queue
chapter: jobs
name: queue
spec:
replicas: 1
selector:
matchLabels:
app: work-queue
component: queue
chapter: jobs
template:
metadata:
labels:
app: work-queue
component: queue
chapter: jobs
spec:
containers:
- name: queue
image: "gcr.io/kuar-demo/kuard-amd64:1"
imagePullPolicy: Always