kubernets安装

作者: 王艳秋1 | 来源:发表于2020-02-10 13:40 被阅读0次

https://blog.frognew.com

export GO111MODULE="on" 
go get sigs.k8s.io/kind
kind create cluster  --name wyq
kubectl cluster-info --context kind-wyq

Kubernetes master is running at https://127.0.0.1:32768
KubeDNS is running at https://127.0.0.1:32768/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy


wget https://storage.googleapis.com/krew/v0.2.1/krew.tar.gz
wget https://storage.googleapis.com/krew/v0.2.1/krew.yaml
tar -zxvf krew.tar.gz
./krew-linux_amd64 install --manifest=krew.yaml --archive=krew.tar.gz

export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
kubectl plugin list
kubectl krew search
kubectl krew install 
kubectl krew update
kubectl krew install change-ns
kubectl krew install whoami   virt  ns

相关文章

网友评论

    本文标题:kubernets安装

    本文链接:https://www.haomeiwen.com/subject/zwdaxhtx.html