20 votes
Accepted

Permission denied within mounted volume inside Podman container

Thanks to the people here, the solution is quite simple (but not obvious): My GNU/Linux container host has SELinux activated, and that's why I was having permissions problems. The solution is to ...
hpy's user avatar
  • 431
3 votes
Accepted

Can't get either Postgres permissions or PVC working in AKS

The following setup works for me. When using the subPath in volumeMounts, the permission issue is automatically addressed, as the user postgres owns the folder corresponding to the subPath. spec: ...
kca2ply's user avatar
  • 146
3 votes
Accepted

Will data contained withing Persistent Volume survive cluster deletion?

It depends on what your persistentVolumeReclaimPolicy is. If you manually created/defined the PersistentVolume, then the default action is to keep the data. (This sounds like what you're doing.) If ...
Matthew's user avatar
  • 261
2 votes
Accepted

Deploying a statefulSet with static volume provisioning but controller insists to use dynamic

Did you try by specifying a storageClassName since Kubernetes will be using default storage class when it's not specified? See Dynamic Provisioning of the blog post and Dynamic from Kubernetes ...
cnu's user avatar
  • 184
1 vote
Accepted

K8S + HELM. Create a persistence volume for mysql database

It seems that you are using the host file system for the persistent volume. Assuming that you have multiple worker nodes and the pod restarts on a different node, the data is “lost” (only exists in ...
hazmei's user avatar
  • 106
1 vote

Update volume size dynamically from inside a POD

In my opinion, you could create bucket (aws s3 for example) and store your data there (create simple app to make upload), thus, you don’t need to care with disk full error
Ruan Arcega's user avatar
1 vote
Accepted

Interacting with a Trident container (NetApp) via CLI within a Openshift/Kubernetes cluster?

There's apparently 2 methods one can use to leverage tridentctl to interact with a running Trident Pod in their Openshift/Kubernetes cluster. 1. Server string The tridentctl CLI can be instructed to ...
slm's user avatar
  • 222

Only top scored, non community-wiki answers of a minimum length are eligible