kubeflow / kfctl

kfctl is a CLI for deploying and managing Kubeflow
Apache License 2.0
181 stars 137 forks source link

Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property] #405

Closed zhangchunsheng closed 4 years ago

zhangchunsheng commented 4 years ago

kfctl apply -V -f kfctl_k8s_istio.v1.1.0.yaml

WARN[0345] Encountered error applying application kubeflow-apps:  (kubeflow.error): Code 500 with message: Apply.Run : error when creating "/tmp/kout206229322": CustomResourceDefinition.apiextensions.k8s.io "seldondeployments.machinelearning.seldon.io" is invalid: [spec.validation.openAPIV3Schema.properties[spec].properties[predictors].items.properties[componentSpecs].items.properties[spec].properties[initContainers].items.properties[ports].items.properties[protocol].default: Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property, spec.validation.openAPIV3Schema.properties[spec].properties[predictors].items.properties[componentSpecs].items.properties[spec].properties[containers].items.properties[ports].items.properties[protocol].default: Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property, spec.validation.openAPIV3Schema.properties[spec].properties[predictors].items.properties[explainer].properties[containerSpec].properties[ports].items.properties[protocol].default: Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property]  filename="kustomize/kustomize.go:266"
WARN[0345] Will retry in 23 seconds.                     filename="kustomize/kustomize.go:267"
issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 0.92
area/kfctl 0.93

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

cells2numbers commented 4 years ago

We are running into the same issue. Any updates on this?

zhangchunsheng commented 4 years ago

We are running into the same issue. Any updates on this?

No, I will update it next week.

davidspek commented 4 years ago

Seems to be the same as this issue: https://github.com/kubeflow/website/issues/2206#issuecomment-698234904. I have provided a workaround for it which you can find here: https://github.com/kubeflow/website/issues/2206#issuecomment-698234904.

jbottum commented 4 years ago

Hi @zhangchunsheng which platform are you deploying on i.e. GCP, AWS, on-prem

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the labels:

Label Probability
platform/aws 0.53

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.