Kubeflow: Error in setting up Kubeflow locally on minikube 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)

Created on 26 Jul 2020  路  3Comments  路  Source: kubeflow/kubeflow

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)

arekfctl kinbug

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.

All 3 comments

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?

  1. Platform
  2. kfctl version
  3. Manifests

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

avdaredevil picture avdaredevil  路  4Comments

arun-gupta picture arun-gupta  路  4Comments

travishen picture travishen  路  3Comments

andreyvelich picture andreyvelich  路  4Comments

rajesh-chawla picture rajesh-chawla  路  4Comments