Skip to content

Add serviceaccount instructions for k8s dashboard - #158

Merged
gilesknap merged 1 commit into
k8s-tutorialsfrom
dashboard-serviceaccount
Sep 2, 2024
Merged

gilesknap merged 1 commit into
k8s-tutorialsfrom
dashboard-serviceaccount

Conversation

@marcelldls

Copy link
Copy Markdown
Contributor

No description provided.

@gilesknap

gilesknap commented Sep 2, 2024 •

Copy link
Copy Markdown
Member

I believe that k3s does install kubectl for you. I only added a download of it because it was trying to use the config from /etc/rancher/k3s/k3s.yaml.

Assuming that setting KUBECONFIG fixes that, we probably don't need to install kubectl at all - but this requires verifying.

edit - forget this - I must have been reading the wrong version of the file! This is what the other PR does and I'm getting confused.

@gilesknap
gilesknap merged commit b493dab into k8s-tutorials Sep 2, 2024
@marcelldls
marcelldls deleted the dashboard-serviceaccount branch September 2, 2024 12:48
@marcelldls

Copy link
Copy Markdown
Contributor Author

@gilesknap FYI I have tested that setting KUBECONFIG solves needing sudo for /etc/rancher/k3s/k3s.yaml

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants