iptizer
iptizer

Reputation: 1218

How to bootstrap juju on a Kubernetes cluster?

I am trying to set up Kubeflow using charmed-kubeflow. It says "super easy setup" and everything. But I am failing at step 2.

Setup: "Normal" remote Kubernetes cluster, set up with Kubespray. My idea was to:

juju add-k8s mycluster
juju bootstrap mycluster mycluster

How should this work? It is a remote cluster, private IPs cannot be accessed directly! + There is no option to configure a different Service type or so! There seem to be zero tutorials on Juju and using it... is anyone using this stuff?

Upvotes: 0

Views: 524

Answers (2)

VariableDeclared
VariableDeclared

Reputation: 23

You will need to ensure that you use the LoadBalancer controller service type.

juju bootstrap --config controller-service-type=loadbalancer mycluster mycluster

Upvotes: 0

Rui Vasconcelos
Rui Vasconcelos

Reputation: 21

this issue with the bootstrap command has been acknowledged and a fix is included in the Juju 2.9 release.

To get a release candidate as of now, use: snap install juju --classic --channel=2.9/candidate

Upvotes: 2

Related Questions