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

ks env set default --namespace=kubeflow doesn't change the namespace #477

Closed
jlewi opened this issue Mar 21, 2018 · 4 comments · Fixed by #515
Closed

ks env set default --namespace=kubeflow doesn't change the namespace #477

jlewi opened this issue Mar 21, 2018 · 4 comments · Fixed by #515
Assignees

Comments

@jlewi
Copy link
Contributor

jlewi commented Mar 21, 2018

Run the following steps per our instructions

ks env set default --namespace=kubeflow
ks env list

NAME    KUBERNETES-VERSION NAMESPACE SERVER
====    ================== ========= ======
default v1.7.0             default   https://35.229.50.36
ks version
ksonnet version: 0.9.1
jsonnet version: v0.9.5
client-go version: 1.8

This appears to be an issue with ksonnet set.

Work around is to create a new namepace.

ks env add gke --namespace=kubeflow

ks env list
NAME    KUBERNETES-VERSION NAMESPACE SERVER
====    ================== ========= ======
default v1.7.0             default   https://35.229.50.36
gke     v1.7.0             kubeflow  https://35.229.50.36

@ankushagarwal Have you run into this?

@jlewi
Copy link
Contributor Author

jlewi commented Mar 21, 2018

Here's the help for ks env

ks env
ERROR Command 'env' requires a subcommand

Usage:
  ks env [flags]
  ks env [command]

Available Commands:
  add         Add a new environment to a ksonnet application
  list        List all environments in a ksonnet application
  rm          Delete an environment from a ksonnet application
  set         Set environment-specific fields (name, namespace, server)

So I expect setting namespace should work.

@jlewi
Copy link
Contributor Author

jlewi commented Mar 21, 2018

Filed ksonnet/ksonnet#373

@jlewi
Copy link
Contributor Author

jlewi commented Mar 21, 2018

We should update our docs to describe the work around of adding a new environment.

/assign @ankushagarwal

@ankushagarwal
Copy link
Contributor

Looks like this was fixed here ksonnet/ksonnet#371. I have requested a new release. If they don't create a new release, I will update the docs.

k8s-ci-robot pushed a commit that referenced this issue Mar 27, 2018
yanniszark pushed a commit to arrikto/kubeflow that referenced this issue Nov 1, 2019
* add application overlays to knative

* move namespace to knative-serving-crds
yanniszark pushed a commit to arrikto/kubeflow that referenced this issue Feb 15, 2021
elenzio9 pushed a commit to arrikto/kubeflow that referenced this issue Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants