Giter Site home page Giter Site logo

Duplicate StatefulSet ControllerRevision, PerconaServerMongoDB status stucks in "Initializing" about percona-server-mongodb-operator HOT 2 OPEN

percona avatar percona commented on July 24, 2024
Duplicate StatefulSet ControllerRevision, PerconaServerMongoDB status stucks in "Initializing"

from percona-server-mongodb-operator.

Comments (2)

Fr0s1 avatar Fr0s1 commented on July 24, 2024

Attach MongoDB DB Helm values

finalizers:
  ## Set this if you want that operator deletes the primary pod last
  - delete-psmdb-pods-in-order
  ## Set this if you want to delete database persistent volumes on cluster deletion
  - delete-psmdb-pvc

fullnameOverride: "mongodb-cluster"

unsafeFlags:
  tls: false
  replsetSize: false
  mongosSize: false
  terminationGracePeriod: false
  backupIfUnhealthy: true

multiCluster:
  enabled: false
  # DNSSuffix: svc.clusterset.local
updateStrategy: SmartUpdate 

upgradeOptions:
  versionServiceEndpoint: https://check.percona.com
  apply: disabled
  schedule: "0 2 * * *"
  setFCV: false

tls:
  mode: preferTLS
  # 90 days in hours
  certValidityDuration: 2160h
  allowInvalidCertificates: true
  issuerConf:
    name: letsencrypt-mongodb
    kind: ClusterIssuer
    group: cert-manager.io
  
pmm:
  enabled: true
  image:
    repository: percona/pmm-client
    tag: 2.41.2
  serverHost: monitoring-service

replsets:
  rs0:
    name: rs0
    size: 3
  
    affinity:
      antiAffinityTopologyKey: "kubernetes.io/hostname"
    
    podDisruptionBudget:
      maxUnavailable: 1
  
    expose:
      enabled: false
      exposeType: ClusterIP
     
    resources:
      limits:
        cpu: "500m"
        memory: "1G"
      requests:
        cpu: "300m"
        memory: "0.5G"
    volumeSpec:
      pvc:
        storageClassName: database-standard
        accessModes: ["ReadWriteOnce"]
        resources:
          requests:
            storage: 3Gi
   
    nonvoting:
      enabled: false
      
      size: 3
      affinity:
        antiAffinityTopologyKey: "kubernetes.io/hostname"
    
      podDisruptionBudget:
        maxUnavailable: 1
      resources:
        limits:
          cpu: "300m"
          memory: "0.5G"
        requests:
          cpu: "300m"
          memory: "0.5G"
      volumeSpec:
        pvc:
          resources:
            requests:
              storage: 3Gi
    arbiter:
      enabled: false
      size: 1
      # serviceAccountName: percona-server-mongodb-operator
      affinity:
        antiAffinityTopologyKey: "kubernetes.io/hostname"

sharding:
  enabled: true
  balancer:
    enabled: true

  configrs:
    size: 3
   
    affinity:
      antiAffinityTopologyKey: "kubernetes.io/hostname"
   
    podDisruptionBudget:
      maxUnavailable: 1
    expose:
      enabled: false
      exposeType: ClusterIP
  
    resources:
      limits:
        cpu: "300m"
        memory: "0.5G"
      requests:
        cpu: "300m"
        memory: "0.5G"
    volumeSpec:
      pvc:
        resources:
          requests:
            storage: 2Gi

  mongos:
    size: 2

    affinity:
      antiAffinityTopologyKey: "kubernetes.io/hostname"
     
    podDisruptionBudget:
      maxUnavailable: 1
    resources:
      limits:
        cpu: "300m"
        memory: "0.5G"
      requests:
        cpu: "300m"
        memory: "0.5G"
    expose:
      exposeType: ClusterIP
    
backup:
  enabled: true
  image:
    repository: percona/percona-backup-mongodb
    tag: 2.4.1
 
  storages:
    # minio:
    #   type: s3
    #   s3:
    #     bucket: MINIO-BACKUP-BUCKET-NAME-HERE
    #     region: us-east-1
    #     credentialsSecret: my-cluster-name-backup-minio
    #     endpointUrl: http://minio.psmdb.svc.cluster.local:9000/minio/
    #     prefix: ""
    #   azure-blob:
    #     type: azure
    #     azure:
    #       container: CONTAINER-NAME
    #       prefix: PREFIX-NAME
    #       endpointUrl: https://accountName.blob.core.windows.net
    #       credentialsSecret: SECRET-NAME
  pitr:
    enabled: true
    oplogOnly: true
   
  tasks: []

from percona-server-mongodb-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.