apiVersion: apps/v1
kind: Deployment
metadata:
name: busy-box
spec:
replicas: 1
selector:
matchLabels:
app: busy-box
template:
metadata:
labels:
app: busy-box
spec:
containers:
- name: busy-box
image: busybox
command:
- /bin/sh
- -c
- sleep 3000
K8S调试容器busy-box yaml文件示例
最新推荐文章于 2024-06-28 16:38:11 发布