Install Kaptain on Konvoy

Install Kaptain on Konvoy

  • After the Konvoy cluster has been deployed successfully (including Istio and Knative), install KUDO:
    kubectl kudo init
  • Download kubeflow-1.0.1-0.5.0.tgz tarball.
  • Install Kaptain:
    kubectl kudo install --namespace kubeflow --create-namespace ./kubeflow-1.0.1-0.5.0.tgz
  • If you would like to inject additional annotations to Kaptain’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 Kaptain:

  • Discover the cluster endpoint and copy it to the clipboard. If you are running Kaptain 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 Kaptain 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 Kaptain

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