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 ...
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:
...
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 ...
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 ...
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 ...
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
persistent-volumes × 16kubernetes × 14
docker × 3
kubernetes-volume × 3
volume × 2
azure-kubernetes-service × 2
amazon-web-services × 1
azure × 1
azure-pipelines × 1
databases × 1
helm × 1
cloud × 1
openshift × 1
kubectl × 1
mysql × 1
postgresql × 1
grafana × 1
permissions × 1
rancher × 1
storage × 1
eks × 1
podman × 1
k3s × 1