Openshift:服务器找不到请求的资源

时间:2018-08-03 09:36:59

标签: kubernetes openshift kubernetes-helm

究竟我如何收到此错误消息:

➜  ~ oc adm policy add-cluster-role-to-user cluster-admin -z tiller --namespace tiller
Error from server (NotFound): the server could not find the requested resource

所以:

➜  ~ oc project
Using project "tiller" on server "https://192.168.99.100:8443".
➜  ~ oc get sa
NAME       SECRETS   AGE
builder    2         35m
default    2         35m
deployer   2         35m
tiller     2         30m

我不太清楚为什么找不到tiller服务帐户。

编辑

➜  ~ oc version
oc v1.5.1+7b451fc
kubernetes v1.5.2+43a9be4
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://master.si-origin-cluster.t-systems.es:8443
openshift v3.9.0+ba7faec-1
kubernetes v1.9.1+a0ce1bc657

1 个答案:

答案 0 :(得分:0)

oc version的输出是什么?您的客户端可能与服务器不兼容。