How can I setup Jenkins-x on local kubernetes cluster?

2/13/2020

Recently, I tried to setup Jenkins X on a kubernetes cluster. However there exists some problem during installation.

There are several options in jx create cluster such as aks(create with AKS), aws(create with AWS), minikube(create with Minikube) and etc.

However there is no option which create a cluster with local kubernetes cluster. I want to setup Jenkins X with my own cluster.

Can I get some advice?

Thanks.

-- jwl1993
jenkins--x
kubernetes

2 Answers

2/13/2020

when you have your cluster setup such that you can run kubectl commands against it, you can run jx boot to setup your jx installation. You don't need to use jx create cluster as your cluster already exists.

-- Michael Neale
Source: StackOverflow

4/17/2020

To install Jenkins X on already existing cluster, you have to use the below command:

jx install --provider=kubernetes --on-premise

Above command will install the jx on your cluster.

-- sanrum21
Source: StackOverflow