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?
Can we use Docker Storage Driver in loop-lvm Mode on PMK Cluster?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Is it possible to setup the PMK cluster with docker storage driver in
loop-lvmmode and are there any concerns related to it?
Environment
- Platform9 Managed Kubernetes - All Versions
- Docker
Answer
- For production setups, the device-mapper docker storage driver must be configured to use
direct-lvmmode. - The
loop-lvmmode is acceptable only for testing but is not supported for production deployments. - Frequently
loop-lvmmode is preferred over thedirect-lvmmode in non-production or testing setups because unlike direct-lvm, it does not needone free block device (a disk or a partition)on the node. - Although with
loop-lvmthere is a common and known issue where the the Docker storage gets filled up more frequently due to failure in deletion of the old unwanted data. - The remedy to this is pruning the docker data manually using the below mentioned command.
Command to prune Docker data
xxxxxxxxxx# docker system prune -a -f --volumes- There is one more and most recommended approach which is to use the
Overlay2as the Docker storage driver in production environment since it is more stable thatdevice-mapper.
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?
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