Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Prohibit Root Containers in PMK Clusters
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Self Service Users are able to create pods with root containers in PMK
- If mounted with the critical volume mounts like
/, these pods can cause a serious security threat to the host and the underlying filesystem
Environment
- Platform9 Managed Kubernetes - v5.6 and Higher
Answer
- Platform9 is aware of this issue and an RFE is already in place for the same issue with ID: PMK-6540
Additional Information
- Ensure the below criteria for all the applications
Mount Only Necessary Directories: If your application needs access to specific host directories, mount only those directories rather than the entire root filesystem.
Use Read-Only Mounts: If the container only needs to read data from the host, use a read-only mount to prevent any modifications.
Run as Non-Root User: Configure the container to run as a non-root user to limit its privileges within the container and on the host.
Apply Security Policies: Use Kubernetes security policies to enforce constraints on what containers can do, including restricting the host paths they can access.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
Can a Specific Subnet be Excluded From Calico IPPools?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message