Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use this plugin (when it exists inside the kubernetes cluster itself?) #144

Open
jonog94 opened this issue Oct 29, 2020 · 3 comments

Comments

@jonog94
Copy link

jonog94 commented Oct 29, 2020

Having a docker image that runs this plugin, can I use this plugin to deploy K8 resources inside the same cluster?

So basically no need to look for a remote cluster, because the docker instance itself is already in that cluster. Is this possible?

@guilhermemauro
Copy link

yes.
You just need to grantee the right permissions to this container and configure Kubernetes Cloud inside your jenkins configuration.
look this https://medium.com/faun/ci-cd-pipeline-using-jenkins-to-deploy-on-kubernetes-cf2fd5e185b8

@jonog94
Copy link
Author

jonog94 commented Nov 3, 2020

@guilhermemauro do I need to specify the kubernetes URL in the cloud configuration? Will the plugin still need this configuration even if it's in the cluster itself?

@guilhermemauro
Copy link

Well, in my case yes. Because I`m using a DOKS.
Maybe you can configure with a local IP like Docker Cloud.But I havent tried it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants