-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fresh K3s: Could not create API client: Invalid kube-config file #68
Comments
Related?: #63 |
Yes, This looks to be the same issue. In the linked commit above, maybe the task - name: Copy kubeconfig file from default location to the ~/.kube directory"
ansible.builtin.fetch:
src: /etc/rancher/k3s/k3s.yaml
dest: ~/.kube/config
flat: true
become: true
when:
- ansible_host != "localhost"
- download_kubeconfig |
Happy to take a look at this. |
So, after looking into this issue, we may need to be more clear about the function of the The reason that the |
@michaelford85 can we please look at #65 tagged release might help |
Acknowledging this question and will respond. |
The
default.config.yml
file'sdownload_kubeconfig:false
causes the following error when installing on localhost for a single-node K3s cluster:The related change from two months back is e2bdd7e.
Changing to
download_kubeconfig:true
for the initial K3s install worked. Maybe the fix is to note this inascender-install-instructions/k3s/README.md
. To replicate, here is an examplecustom.config.yml
:The text was updated successfully, but these errors were encountered: