K8S调试容器busy-box yaml文件示例
apiVersion: apps/v1kind: Deploymentmetadata:name: busy-boxspec:replicas: 1selector:matchLabels:app: busy-boxtemplate:metadata:labels:app: busy-boxspec:containers:- name: busy-boxim
·
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
更多推荐
已为社区贡献3条内容
所有评论(0)