kubernetes-guide/codeblock/test/wrk.yaml

19 lines
303 B
YAML
Raw Normal View History

2024-04-10 14:40:13 +08:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: wrk
spec:
replicas: 1
selector:
2024-04-11 17:14:20 +08:00
matchLabels:
2024-04-10 14:40:13 +08:00
app: wrk
template:
metadata:
2024-04-11 17:14:20 +08:00
labels:
2024-04-10 14:40:13 +08:00
app: wrk
spec:
containers:
- image: imroc/wrk:latest
name: wrk
command: ["sleep", "infinity"]