Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kfctl.sh apply platform #820

Closed
timbuktuu opened this issue Feb 13, 2019 · 5 comments
Closed

kfctl.sh apply platform #820

timbuktuu opened this issue Feb 13, 2019 · 5 comments
Assignees

Comments

@timbuktuu
Copy link

Created a cluster following the command line instructions on a Mac OS and saw the following error, but the cluster seems to have been created correctly.

++ kubectl get secret --namespace=kubeflow kubeflow-oauth

  • O='Error from server (NotFound): secrets "kubeflow-oauth" not found'
  • RESULT=1
  • set -e
  • '[' 1 -eq 0 ']'
@IronPan
Copy link
Member

IronPan commented Feb 13, 2019

I guess you saw this in the last step

${KUBEFLOW_SRC}/scripts/kfctl.sh apply k8s

Could you double check the cluster and see if secret is there

 kubectl get secret kubeflow-oauth -n kubeflow

@timbuktuu
Copy link
Author

Yes, we run the kfctl.sh apply k8s script and the secret was not in the cluster.

@IronPan
Copy link
Member

IronPan commented Feb 13, 2019

could you retry the apply command? the error message says it's not found in the cluster but the command should create it.

@aaron-nall
Copy link

I'm not sure if it helps, but when deploying to GKE, the kubeflow-oauth secret is created when applying platform rather than k8s. It will also only be created if CLIENT_SECRET and CLIENT_ID are exported in the shell environment.

@vicaire
Copy link
Contributor

vicaire commented Mar 26, 2019

Resolving since this issue as been inactive for a while. Please reopen as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants