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

mage Deploy should update our kubeconfig #251

Open
schristoff opened this issue Aug 17, 2023 · 1 comment
Open

mage Deploy should update our kubeconfig #251

schristoff opened this issue Aug 17, 2023 · 1 comment
Labels
bug Oops, sorry! meta Things necessary to make this project run day to day

Comments

@schristoff
Copy link
Member

Describe the bug

When we run mage Deploy it should configure the kube config so we can run kubectl commands without having to mess with the configs. :)

To Reproduce

Steps to reproduce the behavior:

  1. Run mage Deploy
  2. kubectl get pods
  3. :(

Expected behavior

When mage deploy finishes successfully, we should be able to interact with our cluster via kubectl.

Operator execution and Output

kubectl get pods
E0816 21:43:33.333941   23626 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused

If I go grab the kubeconfig from kind, and then put it in the expected area (~/.kube/config) everything works

@schristoff schristoff added bug Oops, sorry! meta Things necessary to make this project run day to day labels Aug 17, 2023
@troy0820
Copy link
Member

getporter/magefiles#30 PR should do it but I'm trying to do some magic to import it (maybe go.work) to settle the test case for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry! meta Things necessary to make this project run day to day
Projects
Status: Todo
Development

No branches or pull requests

2 participants