cdk files should not live in /root/cdk
Bug #1913228 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Triaged
|
Low
|
Unassigned | ||
Kubernetes Worker Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
kubernetes-master units, as of at least 1.19, have a /root/cdk folder. This folder is a smörgåsbord containing config, secrets, logs, PID files and more. Please redistribute these files to something that is a little closer to FHS¹ compliance.
¹ https:/
Changed in charm-kubernetes-master: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in charm-kubernetes-worker: | |
importance: | Undecided → Low |
status: | New → Triaged |
summary: |
- cdk-addons should not live in /root/cdk + cdk files should not live in /root/cdk |
To post a comment you must log in.
Our ability to adhere to FHS is somewhat limited due to snap confinement. We can move a lot of these files out of /root/cdk, but for the most part, they will have to live in /var/snap instead, e.g.
/var/snap/ kube-apiserver/ common/ audit.log kube-controller -manager/ common/ kubeconfig
/var/snap/
etc.