當運行一些命令,錯誤(禁止):服務器不允許訪問所請求的資源(後replicationcontrollers)
error occur:
/home/kubernetes/cluster/ubuntu/binaries# ./kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.4", GitCommit:"7243c69eb523aa4377bce883e7c0dd76b84709a1", GitTreeState:"clean", BuildDate:"2017-03-07T23:53:09Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Error from server (Forbidden): the server does not allow access to the requested resource
這有什麼錯我的配置?
非常感謝
/home/kubernetes/cluster/ubuntu/binaries#./kubectl run helloworld --image = canal-cni:latest --port = 8888 服務器錯誤(Forbidden):服務器不允許訪問請求的資源交replicationcontrollers) – caokun
OS信息 NAME = 「Ubuntu的」 VERSION = 「16.04 LTS(Xenial Xerus)」 ID = ubuntu的 ID_LIKE = Debian的 PRETTY_NAME = 「Ubuntu的16.04 LTS」 VERSION_ID = 「16.04」 HOME_URL =「HTTP ://www.ubuntu.com/「 SUPPORT_URL =」http://help.ubuntu.com/「 BUG_REPORT_URL =」http://bugs.launchpad.net/ubuntu/「 UBUNTU_CODENAME = xenial – caokun
Linux SZV1000240235 4.4 .0-21-generic#37-Ubuntu SMP Mon Apr 18 18 :33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 安裝參考文檔: https://kubernetes.io/docs/getting-started-guides/ubuntu/manual/ – caokun