Skip to content

bobsongplus/kubernete-mainifest

Repository files navigation

kubernetes-yaml

可通过使用 nsenter 将 container 中的程序跑在宿主机上,eg:

"nsenter",
"--target=1",
"--mount",
"--wd=./",
"--",
"./hyperkube",
"kubelet",
"--kubeconfig=/etc/kubernetes/kubelet.conf",
"--require-kubeconfig=true",
"--pod-manifest-path=/etc/kubernetes/manifests",
"--network-plugin=cni",
"--cni-conf-dir=/etc/cni/net.d",
"--cni-bin-dir=/opt/cni/bin",
"--cluster-dns=10.0.0.10",
"--allow-privileged=true",
"--pod-infra-container-image=192.168.1.12/pause_containers/pause-amd64:3.0",
"--v=2",
"--address=0.0.0.0",
"--enable-server",
"--cluster-dns=10.0.0.10",
"--cluster-domain=cluster.local"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published