GithubHelp home page GithubHelp logo

Comments (3)

cyford avatar cyford commented on June 10, 2024

i think alot of my text an images have been removed

from mariadb-operator.

cyford avatar cyford commented on June 10, 2024

image

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
image

image

The only pvcs that should be mounting with that class is :

image

from mariadb-operator.

cyford avatar cyford commented on June 10, 2024

image

from mariadb-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.