lamw / vsphere-with-tanzu-nsxt-automated-lab-deployment

vSphere with Tanzu using NSX-T Automated Lab Deployment
212 stars 79 forks source link

Cannot deploy on Kubernetes: deployments.apps is forbidden #35

Open ssaksa80 opened 1 year ago

ssaksa80 commented 1 year ago

I cannot deploy, I tried to create another user but still getting the same error as shown below;

C:\Users\shaiks\Downloads\vsphere-plugin\bin>kubectl apply -f https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": services is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "services" in API group "" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": services is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "services" in API group "" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": services is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "services" in API group "" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": services is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "services" in API group "" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": deployments.apps is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "deployments" in API group "apps" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": deployments.apps is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "deployments" in API group "apps" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": deployments.apps is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "deployments" in API group "apps" in the namespace "yelb" Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/lamw/vmware-k8s-app-demo/master/yelb-lb.yaml": deployments.apps is forbidden: User "sso:Administrator@vsphere.local" cannot create resource "deployments" in API group "apps" in the namespace "yelb"