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

Kind v0.6.0 deprecates kind get kubeconfig-path #1796

Closed
b2jrock opened this issue Nov 22, 2019 · 10 comments · Fixed by #1797 or #1853
Closed

Kind v0.6.0 deprecates kind get kubeconfig-path #1796

b2jrock opened this issue Nov 22, 2019 · 10 comments · Fixed by #1797 or #1853
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Milestone

Comments

@b2jrock
Copy link
Contributor

b2jrock commented Nov 22, 2019

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
When following the installation guide in the book, when setting KUBECONFIG environment variable using the command listed, kind throws a deprecation warning.

What did you expect to happen:
No deprecation warning from kind.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I think the context command it suggests is also needed.

Environment:

  • Cluster-api version: 0.2.7
  • Minikube/KIND version: 0.6.0
  • Kubernetes version: (use kubectl version): 1.16.3
  • OS (e.g. from /etc/os-release): N/A

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 22, 2019
@vincepri
Copy link
Member

/kind documentation
/assign @b2jrock

@k8s-ci-robot k8s-ci-robot added the kind/documentation Categorizes issue or PR as related to documentation. label Nov 25, 2019
@vincepri vincepri added this to the v0.3.0 milestone Nov 25, 2019
@vincepri
Copy link
Member

We'll also need to backport the quick start changes to the release-0.2 branch

@kacole2
Copy link

kacole2 commented Nov 26, 2019

I hit this problem today. Thanks for opening the issue @b2jrock.

@b2jrock
Copy link
Contributor Author

b2jrock commented Nov 26, 2019

Looks like clusterctl has an issue with this as well. See #1801. I have a backport ready, but I don't want to recommend kind v0.6.0 if it's non-functional with that version.

@ncdc
Copy link
Contributor

ncdc commented Dec 6, 2019

We should update all docs to be based on kind 0.6+

@joonas
Copy link

joonas commented Dec 6, 2019

/help

@k8s-ci-robot
Copy link
Contributor

@joonas:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Dec 6, 2019
@vincepri
Copy link
Member

vincepri commented Dec 6, 2019

/assign
/lifecycle active

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Dec 6, 2019
dannysauer pushed a commit to dannysauer/kube-bench that referenced this issue Aug 31, 2020
Per kubernetes-sigs/cluster-api#1796, the
`kind get kubeconfig-path` command no longer works.  Update makefile
to create kube-bench local kubeconfig and use that.
dannysauer pushed a commit to dannysauer/kube-bench that referenced this issue Aug 31, 2020
Per kubernetes-sigs/cluster-api#1796, the
`kind get kubeconfig-path` command no longer works.  Update makefile
to create kube-bench local kubeconfig and use that.
lizrice pushed a commit to aquasecurity/kube-bench that referenced this issue Sep 2, 2020
Per kubernetes-sigs/cluster-api#1796, the
`kind get kubeconfig-path` command no longer works.  Update makefile
to create kube-bench local kubeconfig and use that.
caruccio pushed a commit to getupcloud/kube-bench that referenced this issue Feb 19, 2021
Per kubernetes-sigs/cluster-api#1796, the
`kind get kubeconfig-path` command no longer works.  Update makefile
to create kube-bench local kubeconfig and use that.
@Thor-wl
Copy link

Thor-wl commented May 21, 2021

Well, how can i get the path of kubeconfig when kind is upgraded to v0.9.0? Anyone can help?

@sbueringer
Copy link
Member

sbueringer commented Jul 13, 2021

@Thor-wl I'm not sure you can still get the path, but you can export a kubeconfig via kind get kubeconfig

Afaik it also adds the credentials/config to your current kubeconfig (you just have to use the right context then).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Projects
None yet
8 participants