k3s/test/scalability/counter/counter-rc.yaml

24 lines
417 B
YAML

apiVersion: v1
kind: ReplicationController
metadata:
name: counter
spec:
replicas: 1
selector:
app: counter
template:
metadata:
labels:
app: counter
spec:
containers:
- name: count
image: ubuntu:14.04
resources:
limits:
cpu: 1m
args: [bash, -c,
'for ((i = 0; ; i++)); do echo "$i: $(date)"; sleep 1; done']