Install KUDO for Kubeflow on Konvoy

Install KUDO for Kubeflow on Konvoy

  • After the Konvoy cluster has been deployed successfully (incl. Istio), install KUDO:
    kubectl kudo init
    
  • Download kubeflow-1.0.1-0.5.0.tgz tarball.
  • Install Kubeflow:
    kubectl kudo install --namespace kubeflow --create-namespace ./kubeflow-1.0.1-0.5.0.tgz
    
  • If you would like to inject additional annotations to KUDO for Kubeflow’s default gateway kubeflow-ingressgateway, you can pass in the service annotations as parameters:
    kubectl kudo install --namespace kubeflow --create-namespace ./kubeflow-1.0.1-0.5.0.tgz -p kubeflowIngressGatewayServiceAnnotations='{"foo": "abc","bar": "xyz"}'
    
  • Monitor the installation by running:
    kubectl kudo plan status --instance kubeflow-instance -n kubeflow
    

Once all components have been deployed, you can log in to KUDO for Kubeflow:

  • Discover the cluster endpoint and copy it to the clipboard. If you are running KUDO for Kubeflow on-premises:
    kf_uri=$(kubectl get svc kubeflow-ingressgateway --namespace kubeflow -o jsonpath="{.status.loadBalancer.ingress[*].ip}") && echo "https://${kf_uri}"
    
    Or if you are running KUDO for Kubeflow on AWS:
    kf_uri=$(kubectl get svc kubeflow-ingressgateway --namespace kubeflow -o jsonpath="{.status.loadBalancer.ingress[*].hostname}") && echo "https://${kf_uri}"
    
  • Get the login credentials from Konvoy to authenticate:
    konvoy get ops-portal
    

Uninstall KUDO for Kubeflow

kubectl kudo uninstall --instance kubeflow-instance --namespace kubeflow
kubectl wait --for=delete pod --selector istio=kubeflow-ingressgateway -n kubeflow --timeout=1m
kubectl delete operatorversions.kudo.dev kubeflow-0.5.0 --namespace kubeflow
kubectl delete operators.kudo.dev kubeflow --namespace kubeflow