Openshift: server could not find the requested resource

8/3/2018

How on earth I'm getting this error message:

➜  ~ 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

So:

➜  ~ 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

I don't quite figure out, why tiller service account is not found.

EDIT

➜  ~ 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
-- Jordi
kubernetes
kubernetes-helm
openshift

1 Answer

8/4/2018

What is output of oc version? Your client is likely not compatible with the server.

-- monis
Source: StackOverflow