Configure Kubernetes plugin on Jenkins

I struggled with setting up the Jenkins Kubernetes plugin in the Google Container Engine.

I have a plugin installed, but I think that all my assemblies still work on the main server.

I did not find any good documentation or tutorials on setting this up.

UPDATE

I removed the master artist from my Jenkins look. So, now my assemblies do not work on the server, but now they have no executors, so they do not start at all. Just waiting in line forever.

+4
source share
3 answers

, , Kubernetes "" Jenkins. Manage Jenkins -> Configure System -> Cloud -> Add new cloud "Kubernetes". , kubectl ( ~/.kube/config). "URL- Kubernetes" "URL Jenkins" .

, , " ". , , !

, , .

+4

, , Kubernetes Kubernetes Pod jnlp-slave, , Jenkins - node('jnlp-slave') {}. .

+1

There is also a steering chart for easy deployment if that helps :)

0
source

Source: https://habr.com/ru/post/1616449/


All Articles