How to deploy docker image on kubernetes using jenkins x How to deploy docker image on kubernetes using jenkins x kubernetes kubernetes

How to deploy docker image on kubernetes using jenkins x


I'm guessing this is all done inside a Jenkinsfile right? By default Jenkins X creates build pods which have tools like helm, kubectl or jx inside - so you need to run those binary tools inside container('foo') {... block which is what the default pipelines do.

How about you create a quickstart via jx and then you'll get a working Jenkinsfile that builds a docker image, releases a helm chart and then promotes it through your environments - and generates a Preview Environment on each Pull Request to verify changes before you merge.

You can then copy/paste the Jenkinsfile and use it for you other project?