/kind bug
status
I installed microk8s1.15 + kubeflow1.0.2.
After that, I try to install (deploy) katib but failed with following error.
troubled manifest is follows katib-controller.yaml
Where should I modify?
$ bash deploy.sh
++ dirname deploy.sh
+ SCRIPT_ROOT=./../..
+ cd ./../..
+ kubectl get validatingwebhookconfigurations katib-validating-webhook-config
NAME CREATED AT
katib-validating-webhook-config 2020-04-20T05:21:05Z
+ kubectl delete validatingwebhookconfigurations katib-validating-webhook-config
validatingwebhookconfiguration.admissionregistration.k8s.io "katib-validating-webhook-config" deleted
+ kubectl get mutatingwebhookconfigurations katib-mutating-webhook-config
NAME CREATED AT
katib-mutating-webhook-config 2020-04-20T05:21:05Z
+ kubectl delete mutatingwebhookconfigurations katib-mutating-webhook-config
mutatingwebhookconfiguration.admissionregistration.k8s.io "katib-mutating-webhook-config" deleted
+ kubectl apply -f manifests/v1alpha3
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
namespace/kubeflow configured
+ kubectl apply -f manifests/v1alpha3/katib-controller
customresourcedefinition.apiextensions.k8s.io/experiments.kubeflow.org configured
customresourcedefinition.apiextensions.k8s.io/suggestions.kubeflow.org configured
customresourcedefinition.apiextensions.k8s.io/trials.kubeflow.org configured
configmap/katib-config configured
clusterrole.rbac.authorization.k8s.io/katib-controller configured
serviceaccount/katib-controller configured
clusterrolebinding.rbac.authorization.k8s.io/katib-controller configured
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
secret/katib-controller configured
service/katib-controller configured
configmap/trial-template configured
configmap/trial-template-labeled created
The Deployment "katib-controller" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"katib-controller"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
What did you expect to happen:
The deployment works fine.
Anything else you would like to add:
Environment:
kubectl version):1.15/etc/os-release):ubuntu 19.10Issue-Label Bot is automatically applying the labels:
| Label | Probability |
| ------------- | ------------- |
| bug | 0.94 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hi @sakaia,
If you are installing Kubeflow, Katib should be a part of it. You don't need to install it manually.
How did you deploy Kubeflow?
Thank you.
Today. I try to deploy kubeflow. Without using depoy.sh, I execute random-example.yaml
It works successfully.
Deploy is based on kfctl_k8s_istio.v1.0.2.yaml
https://www.kubeflow.org/docs/started/getting-started/#kubernetes