Trying to setup Kubeflow locally but getting this error:
INFO[0003] Creating namespace: kubeflow filename="utils/k8utils.go:432"
Error: failed to apply: (kubeflow.error): Code 500 with message: kfApp Apply failed for kustomize: (kubeflow.error): Code 400 with message: couldn't create namespace kubeflow Error: unknown (post namespaces)
Usage:
kfctl apply -f ${CONFIG} [flags]
Flags:
-f, --file string Static config file to use. Can be either a local path:
export CONFIG=./kfctl_gcp_iap.yaml
or a URL:
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_gcp_iap.v1.0.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_istio_dex.v1.0.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_aws.v1.0.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_k8s_istio.v1.0.0.yaml
kfctl apply -V --file=${CONFIG}
-h, --help help for apply
-V, --verbose verbose output default is false
failed to apply: (kubeflow.error): Code 500 with message: kfApp Apply failed for kustomize: (kubeflow.error): Code 400 with message: couldn't create namespace kubeflow Error: unknown (post namespaces)
Issue-Label Bot is automatically applying the labels:
| Label | Probability |
| ------------- | ------------- |
| area/kfctl | 0.96 |
| kind/bug | 0.72 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
@wajeehulhassanvii Would you mind providing more context?
@PatrickXYS I solved it by applying apply command to the downloaded kfctl_k8s_istio.v1.0.2.yaml file. It fails initially when we 'apply' to the network file, once its downloaded we can apply to the downloaded file and it will work. Wasted too much time trying to fix this problem. Thanks for your reply by the way.
Most helpful comment
@PatrickXYS I solved it by applying apply command to the downloaded kfctl_k8s_istio.v1.0.2.yaml file. It fails initially when we 'apply' to the network file, once its downloaded we can apply to the downloaded file and it will work. Wasted too much time trying to fix this problem. Thanks for your reply by the way.