daxio / k8s-lemp

LEMP stack in a Kubernetes cluster
GNU General Public License v3.0
80 stars 44 forks source link

no service/user involving nginx-ingress #15

Closed Coolfeather2 closed 6 years ago

Coolfeather2 commented 7 years ago

tried re-setting up k8s-lemp by following https://github.com/daxio/k8s-lemp/blob/master/USAGE.md exactly and resulting in this error on the nginx cluster/pod:

no service with name nginx-ingress/default-http-backend found: services "default-http-backend" is forbidden: 
User "system:serviceaccount:nginx-ingress:default" cannot get services in the namespace "nginx-ingress":
Unknown user "system:serviceaccount:nginx-ingress:default"

but the service exists: image as well as the service account: image

chepurko commented 7 years ago

Looks like I’ll have to bring up a testing cluster and run through the setup again. I don’t see any recent changes in the Kubernetes API that would break these YAMLs... my current stable deployment is on v1.7.2 and it looks like the most recent version is v1.8.2. I tend to stay on one version for a while as the cluster upgrade procedure is still a crapshoot. Will try to spin it up this weekend.

Coolfeather2 commented 7 years ago

I'll be happy to give you access to the gke project for testing - contact me at Coolfeather.o@gmail.com or discord: Nathan (Coolfeather2)#9831

Coolfeather2 commented 7 years ago

okay, this is strange - set it up in a new project and it works fine o.O only difference is there is two clusters compared to one

Still happy to allow you to access the project that has the issue in it

Also instead of opening a new issue, how do I use it without the wordpress CMS - just wanted a LEMP stack

chepurko commented 6 years ago

It's kind of purpose-built for WordPress. But if you have to take out the CMS then you could modify wp/wp-wd-Deployment.yaml and remove the wp container.