Closed genet022 closed 4 years ago
A bare juju deploy cs:bundle/kubeflow
won't work, unfortunately. You'll need to either use the script from this repo, or manually run the same steps yourself:
If you're using the stable kubeflow bundle: https://github.com/juju-solutions/bundle-kubeflow/blob/e9a2775/scripts/cli.py
If you're using the edge kubeflow bundle: https://github.com/juju-solutions/bundle-kubeflow/blob/master/scripts/cli.py
I'm manually running the same steps and getting the same issue. Here's exactly what I'm doing:
juju add-model kubeflow
juju deploy -m kubeflow kubeflow --channel stable
juju wait -m kubeflow
pub_addr = Public address of kubernetes-worker/0
juju config -m kubeflow ambassador juju-external-hostname={pub_addr}
juju expose -m kubeflow ambassador
Then I'm applying an Ingress:
# https://bugs.launchpad.net/juju/+bug/1849725
# create ambassador_ingress.yaml
kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: ambassador
namespace: kubeflow
spec:
backend:
serviceName: ingresssvc
servicePort: 80
tls:
- hosts:
- {pub_addr}
secretName: ambassador-tls
kubectl apply -n kubeflow -f ambassador_ingress.yaml
I'm curious if it is related to this issue. Thoughts? https://github.com/kubeflow/pipelines/issues/3098
The only thing I see that's missing is that you'll need to add an overlay that looks like this, and pass it to the juju deploy
command:
https://github.com/juju-solutions/bundle-kubeflow/blob/e9a2775/scripts/cli.py#L220-L228
You'll need to fill in the random values yourself (any random value should work)
That did it. Thanks again for the help! Closing the issue.
We're deploy and bootstrapping to a k8s cluster on AWS using Juju 2.7.4. Then I'm deploying kubeflow with
juju deploy cs:bundle/kubeflow
. All units go to 'active' according to Juju, but the pipeline-api App stays in 'waiting' and kubectl shows an issue with the pipeline-api pod. Specifically a failure to create the Minio bucket.I'm using 8CPU, 16GB memory, 100GB storage for my 3 kubernetes-workers.
Here's some output from kubectl: