运维网's Archiver
论坛
›
Kubernetes
› k8s pod 使用主机信息配置
trzxycx
发表于 2018-1-6 09:45:52
k8s pod 使用主机信息配置
apiVersion: v1
kind: Pod
metadata:
name: busybox1
labels:
name: busybox
spec:
使用主机IPC
hostIPC: true
使用主机PID
hostPID: true
使用主机网络命名空间
hostNetwork: true
containers:
- image: busybox
command:
- sleep
- "3600"
name: busybox
页:
[1]
查看完整版本:
k8s pod 使用主机信息配置