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

Feature request - give sane defaults for k3s distribution #343

Open
gecube opened this issue Oct 19, 2024 · 1 comment
Open

Feature request - give sane defaults for k3s distribution #343

gecube opened this issue Oct 19, 2024 · 1 comment
Assignees

Comments

@gecube
Copy link

gecube commented Oct 19, 2024

Good day!

Right now the installation of this nice exporter on k3s fails, because of completely different layout of paths. It would be nice to provide a solid example of config to cover k3s/rke distributions, as they are relatively very popular

@gecube
Copy link
Author

gecube commented Oct 19, 2024

I believe the list should be like:

    grafana:
      createDashboard: true
    hostPathsExporter:
      daemonSets:
        nodes:
          watchFiles:
            - /var/lib/rancher/k3s/server/tls/client-admin.crt
            - /var/lib/rancher/k3s/server/tls/client-auth-proxy.crt
            - /var/lib/rancher/k3s/server/tls/client-ca.crt
            - /var/lib/rancher/k3s/server/tls/client-controller.crt
            - /var/lib/rancher/k3s/server/tls/client-k3s-cloud-controller.crt
            - /var/lib/rancher/k3s/server/tls/client-k3s-controller.crt
            - /var/lib/rancher/k3s/server/tls/client-kube-apiserver.crt
            - /var/lib/rancher/k3s/server/tls/client-kube-proxy.crt
            - /var/lib/rancher/k3s/server/tls/client-scheduler.crt
            - /var/lib/rancher/k3s/server/tls/client-supervisor.crt
            - /var/lib/rancher/k3s/server/tls/request-header-ca.crt
            - /var/lib/rancher/k3s/server/tls/server-ca.crt
            - /var/lib/rancher/k3s/server/tls/serving-kube-apiserver.crt
            - /var/lib/rancher/k3s/agent/client-ca.crt
            - /var/lib/rancher/k3s/agent/client-k3s-controller.crt
            - /var/lib/rancher/k3s/agent/client-kube-proxy.crt
            - /var/lib/rancher/k3s/agent/client-kubelet.crt
            - /var/lib/rancher/k3s/agent/server-ca.crt
            - /var/lib/rancher/k3s/agent/serving-kubelet.crt
          watchKubeconfFiles:
            - /var/lib/rancher/k3s/server/cred/admin.kubeconfig
            - /var/lib/rancher/k3s/server/cred/api-server.kubeconfig
            - /var/lib/rancher/k3s/server/cred/cloud-controller.kubeconfig
            - /var/lib/rancher/k3s/server/cred/controller.kubeconfig
            - /var/lib/rancher/k3s/server/cred/scheduler.kubeconfig
            - /var/lib/rancher/k3s/server/cred/supervisor.kubeconfig
            - /var/lib/rancher/k3s/agent/k3scontroller.kubeconfig
            - /var/lib/rancher/k3s/agent/kubelet.kubeconfig
            - /var/lib/rancher/k3s/agent/kubeproxy.kubeconfig

@npdgm npdgm self-assigned this Dec 10, 2024
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

No branches or pull requests

2 participants