Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version: 1.26.3
Cloud being used: bare-metal (OVH Cloud Provider)
Installation method: kubeadm
Host OS: Ubuntu 22.04.2 LTS
CRI and version: cri-dockerd 0.3.2
Hi everyone,
I am using OVH Cloud Dedicated Server (bare metal) and running a Kubernetes cluster version 1.26.3
on top of it.
Do you know if it is possible to create VolumeSnaphot
when having PersistentVolume
created with spec.hostPath
, like this one below:
apiVersion: v1
kind: PersistentVolume
metadata:
name: datadir-mongodb-accounts-prod-1
labels:
name: datadir-mongodb-accounts-prod-1
type: local
annotations:
pv.kubernetes.io/bound-by-controller: 'yes'
finalizers:
- kubernetes.io/pv-protection
spec:
capacity:
storage: 100Gi
hostPath:
path: /mongodb/datadir-mongodb-accounts-prod-1
type: DirectoryOrCreate
accessModes:
- ReadWriteOnce
I was wondering if I could have it and store the snapshot content on an AWS S3 bucket.
Thanks.