GoogleCloudPlatform / GoogleCloudPlatform/konlet

Configurable volume mount options

Open
#67 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
88
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I'm struggling with deploying a container with mounted volume. Container uses non-root user. I realized that Konlet mounts a device as root and doesn't let one to pass any custom mount [options ](https://github.com/GoogleCloudPlatform/konlet/blob/master/gce-containers-startup/volumes/volumes.go#L434). Because of permission issues the container doesn't work as expected.

Maybe I'm looking at wrong place. Maybe the problem should be solved in a different way, not on the Konlet side.

I'll appreciate any suggestions.

Contributor guide

Open the contributing guide

Research direction

Start with gce-containers-startup/volumes/volumes.go around the mount handling linked in the issue. Trace how Konlet mounts devices as root and determine where custom mount options would need to be represented. Done means a non-root container can deploy with the required volume permissions and the behavior is covered by relevant tests or deployment verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.