Comments (3)
i think alot of my text an images have been removed
from mariadb-operator.
storageClasses
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn-nfs-ssd
provisioner: driver.longhorn.io
allowVolumeExpansion: true
#mountOptions:
#- /mnt/ssd
volumeBindingMode: WaitForFirstConsumer #Immediate
parameters:
numberOfReplicas: "1"
dataLocality: "disabled"
#staleReplicaTimeout: "480" # 8 hours in minutes
diskSelector: "ssd"
nodeSelector: "corp,storage"
fsType: "ext4"
#nfsOptions: "soft,timeo=150,retrans=3"
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn-nfs-sas
provisioner: driver.longhorn.io
allowVolumeExpansion: true
#mountOptions:
#- discard # this might enable UNMAP / TRIM at the block storage layer
volumeBindingMode: WaitForFirstConsumer #Immediate
parameters:
numberOfReplicas: "1"
dataLocality: "disabled"
#staleReplicaTimeout: "480" # 8 hours in minutes
diskSelector: "sas"
nodeSelector: "corp,storage"
fsType: "ext4"
#nfsOptions: "soft,timeo=150,retrans=3"
PVC's that use this class are made with the following:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mariadbroot-node2
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn-nfs-ssd
resources:
requests:
storage: 50Mi
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mariadbroot-node1
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn-nfs-ssd
resources:
requests:
storage: 50Mi
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mariadb-backup
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn-nfs-sas
resources:
requests:
storage: 50Gi
I am also seeing that besides my external pvcs not going to the correct nodes specifies in there storage class, The some of the actuall mariadb pods are trying to map to the local directly specified by the class..
/mnt/ssd is only configuired for my new storage class which mariadb-operator is not setup too use
The only pvcs that should be mounting with that class is :
from mariadb-operator.
from mariadb-operator.
Related Issues (20)
- [Feature] Support joining existing galera cluster (For eg: across 2 different k8s clusters) HOT 2
- [Bug] MARIADB_ROOT_HOST environment variable is not overridden. HOT 1
- [Bug] Repeated log messages of "Deleted Master_info file" HOT 3
- [Bug] cannot use database CR on galera clusters HOT 3
- [Bug] Unable to Start Maxscale Pod After add StorageClassName in MaxScale Config HOT 2
- [Bug] caPath value not used when cert-manager is enabled HOT 3
- [Bug] `mariadb-dump` warning attempting to read defaults HOT 1
- [Feature] Better support for updates
- [Question] Database divergence after multiple isolated failures. HOT 1
- [Question] Can I change image repository of a object backup which use mariadb-operator to deploy its pod
- [Feature] Improve `User` reconciliation. Password rotation
- [Feature] Delete PersistentVolumeClaims
- `v0.0.29` HOT 1
- [Bug] Unable to scale to 0
- [Bug] Resource Limits not correct set
- [Bug] manifests yaml was deleted after automatic upgrade
- Support for successfuljobshistorylimit and failedjobshistorylimit in backups.k8s.mariadb.com
- [Bug]
- [Feature] Protect ressources to prevent accidential deletion/data loss HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mariadb-operator.