canonical-labs / kubeflow-tools

Simple scripts and instructions for getting the most out of your kubeflow cluster. Use kubernetes-tools to setup and manage Kubernetes using Microk8s or Charmed Kubernetes.
19 stars 18 forks source link

Failure Installation of Pipeline #10

Open panglong opened 5 years ago

panglong commented 5 years ago

Thanks a lot for your work and your help!

After running the script below pltest@103server:~/soft/20190603_kubeflow$ ./kubeflow-tools/install-kubeflow.sh

there is an error reported as below: ..... application.app.k8s.io/mykubeflow created The CustomResourceDefinition "scheduledworkflows.kubeflow.org" is invalid:

Could you please give some hint?

The status of my server is listed below: the commit of kubeflow-tools is 5e2cc438e69c89bf43b8199f1c8f0db5d9c7d77a

microk8s status is pltest@103server:~/soft/20190603_kubeflow/kubeflow-tools$ microk8s.status microk8s is running addons: rbac: disabled ingress: disabled dns: enabled metrics-server: disabled linkerd: disabled prometheus: disabled istio: disabled jaeger: disabled fluentd: disabled gpu: disabled storage: enabled dashboard: enabled registry: enabled

the versions of Kubernetes are pltest@103server:~/soft/20190603_kubeflow/kubeflow-tools$ kubectl version Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:23:09Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

panglong commented 5 years ago

When the pipeline component is disabled by editing the env.sh under mykubeflow such as: .... 3 KUBEFLOW_VERSION=0.5.1 4 #KUBEFLOW_COMPONENTS='"ambassador","jupyter","notebook-controller","jupyter-web-app","profiles","centraldashboard","tf-job-operator","pytorch-operator","spartakus","argo","pipeline"' 5 KUBEFLOW_COMPONENTS='"ambassador","jupyter","notebook-controller","jupyter-web-app","profiles","centraldashboard","tf-job-operator","pytorch-operator","spartakus","argo"' 6 KUBEFLOW_EXTENDEDINFO=false 7 KUBEFLOW_KS_DIR=/home/pltest/soft/20190603_kubeflow/mykubeflow/ks_app ....

There is no error reported.

After running ./kubeflow-tools/install-kubeflow.sh, the output is: .... deployment.extensions/workflow-controller created statefulset.apps/jupyter created statefulset.apps/metacontroller created application.app.k8s.io/mykubeflow created

Ambassador Port: 30360 ==> Access default Kubeflow UIs JupyterHub Port: 32194 ==> Access JupyerHub directly