vipul opened 3 weeks ago
|
|||||
In more settings of kubernetes executor, you may configure kube config used by the executor. |
|||||
Thank you @robin It worked by managing kube config file |
|||||
vipul changed state to 'Closed' 3 weeks ago
|
Type |
Question
|
Priority |
Major
|
Assignee | |
Labels |
No labels
|
Issue Votes (0)
Hello @robin , We have installed onedev server in VM. Now we have two different projects GCP Project-1 and Project-2.
We want to register two different kuberenetes executor for these two projects.
But the executor creates pod where the default context is set in onedev server at this path. (/root/.kube/config)
So if in my onedev server the context is set to project-1 then it will create pod (for the job) in that project-1 cluster only even if I want to run job for project-2.
In the job I am defining to connect to cluster-2 of project-2 but the job pod creates in project-1 cluster-1 only.