Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • magnum magnum
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kuberneteskubernetes
  • magnummagnum
  • Merge requests
  • !220

[cern] Don't relabel /var/lib/kubelet in kubelet.service unit

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robert Vasek requested to merge no-relabel-varlibkubelet into cern/train Nov 08, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

CSI volume mounts used by Pods live under:

  • /var/lib/kubelet/plugins/kubernetes.io/csi/pv/<PV>/globalmount
  • /var/lib/kubelet/pods/<POD>/volumes/kubernetes.io~csi/<PV>/mount

If the filesystem of the mounted volume doesn't support xattrs (e.g. FUSE), relabeling fails, and podman run exits with error.

/var/lib/kubelet may still need to be relabeled, but maybe we can do this at node creation time?

Closes: #19 (closed)

Edited Nov 08, 2022 by Robert Vasek
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: no-relabel-varlibkubelet