Templates in Kubernetes
How can I access and access templates when I have deployed coder on Kubernetes.
When directly deploying on the machine, I can easily run the commands as provided for creating templates and workspaces. But how to do this for coder on Kubernetes
54 Replies
I have no experience with a kubernetes installation but may be you can try this,
Hi, After installation you should be able to access the coder webUI on your
ACCESS_URL
and create the first user then login to coder using your ACCESS_URL
After that it will be same I guess.Ah. Ok I am able to login
But another problem occured..
When I am creating a template, it says this
Error: Error when reading or editing GCE default service account: googleapi: Error 403: Request had insufficient authentication scope coder templates create
I have given access to this but still this error is occuringyou have given access but you didn't give it enough permissions it seems
So how can I get required permissions?
i thought you were using kubernetes, why the gce ?
I'm unsure, it should prompt you for which permissions you want to give it ?
So when I started with the steps, I just jumped here and there as I dont have idea about K8s or docker.
So I just popped up an Gcloud CE and started with configuring Kubernetes with it
I had no idea if its done like this or what
it's not
basically
when you upload the template, the kubernetes instance will be accessed from the machine that coder is running on
so it needs to be accessible from that machine
Oh..
I logged in on coder with the same CE on which I configured all this helm and kubectl
So where this piece of text has to be put?
in your template
but I think you should show me your template first
remove any secrets
I didnt did much just created using template init and choosed Linux on GCP and then coder templates create(where I got this error)
with that template every workspace will be a GCP instance
So does it mean that all the workspaces I create using that template (GCP-linux), It will be a seperate GCP VM?
yes