IBM / KubeflowDojo

Repository to hold code, instructions, demos and pointers to presentation assets for Kubeflow Dojo
Apache License 2.0
134 stars 63 forks source link

Error evaluating kustomization manifest for metadata #7

Closed aburns7 closed 4 years ago

aburns7 commented 4 years ago

I came across an error during deployment but it does not mess with any of my pods or containers so far.

Currently running with: minikube version: v1.11.0 kubernetes version 1.15.6

this took place after running the following command per instructions: kfctl apply -V -f https://raw.githubusercontent.com/IBM/KubeflowDojo/master/manifests/kfctl_k8s_istio.yaml

Error:

ERRO[0194] Error evaluating kustomization manifest for metadata: env source files: [secrets.env]: open /Users/Adam.Burns@ibm.com/kfdef/kustomize/metadata/secrets.env: no such file or directory  filename="kustomize/kustomize.go:155"
Error: failed to apply:  (kubeflow.error): Code 500 with message: kfApp Apply failed for kustomize:  (kubeflow.error): Code 500 with message: error evaluating kustomization manifest for metadata: env source files: [secrets.env]: open /Users/Adam.Burns@ibm.com/kfdef/kustomize/metadata/secrets.env: no such file or directory
Usage:
  kfctl apply -f ${CONFIG} [flags]

Flags:
      --context string   Optional kubernetes context to use when applying resources. Currently not used by KFDef resources.
  -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

kfctl exited with error: failed to apply:  (kubeflow.error): Code 500 with message: kfApp Apply failed for kustomize:  (kubeflow.error): Code 500 with message: error evaluating kustomization manifest for metadata: env source files: [secrets.env]: open /Users/Adam.Burns@ibm.com/kfdef/kustomize/metadata/secrets.env: no such file or directory
Tomcli commented 4 years ago

I'm not sure did someone break the code in the kubeflow/manifest master branch. can you try kfctl apply -V -f https://raw.githubusercontent.com/kubeflow/manifests/master/kfdef/kfctl_k8s_istio.v1.0.2.yaml

adrian555 commented 4 years ago

This has been fixed https://github.com/kubeflow/kfctl/pull/356. Please rebase and rebuild kfctl.

aburns7 commented 4 years ago

rebased and rebuilt kfctl and the issue is gone. will close