vminsert: enabled: false vmselect: enabled: false serviceAccount: create: true # name: extraLabels: {} annotations: eks.amazonaws.com/role-arn: arn:aws:iam::847438129436:role/eks-s3-vmbackup-role # mount API token to pod directly automountToken: true dedicatedValue: false # schedulerName: default-scheduler vmstorage: # -- Enable deployment of vmstorage component. StatefulSet is used enabled: true # -- vmstorage container name name: vmstorage image: # -- Image repository repository: asia-southeast1-docker.pkg.dev/meesho-devops-admin-0622/admin/sre/vmstorage # -- Image tag tag: v1.93.7-cluster # -- Image pull policy pullPolicy: IfNotPresent # -- Name of Priority Class priorityClassName: "" # -- Overrides the full name of vmstorage component fullnameOverride: vmstorage-demand-prd automountServiceAccountToken: true # -- Additional environment variables (ex.: secret tokens, flags) https://github.com/VictoriaMetrics/VictoriaMetrics#environment-variables env: [] # -- Data retention period. Supported values 1w, 1d, number without measurement means month, e.g. 2 = 2month retentionPeriod: 90d # Additional vmstorage container arguments. Extra command line arguments for vmstorage component extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json search.maxUniqueTimeseries: "30000000" dedup.minScrapeInterval: 60s loggerTimezone: "Asia/Kolkata" # Additional hostPath mounts extraHostPathMounts: [] # - name: certs-dir # mountPath: /etc/kubernetes/certs # subPath: "" # hostPath: /etc/kubernetes/certs # readOnly: true # Extra Volumes for the pod extraVolumes: [] # - name: example # configMap: # name: example # Extra Volume Mounts for the container extraVolumeMounts: [] # - name: example # mountPath: /example extraContainers: [] # - name: config-reloader # image: reloader-image extraSecretMounts: [] # - name: secret # mountPath: /etc/credentials # subPath: "" # readOnly: true initContainers: [] # - name: vmrestore # image: victoriametrics/vmrestore:latest # volumeMounts: # - mountPath: /storage # name: vmstorage-volume # - mountPath: /etc/vm/creds # name: secret-remote-storage-keys # readOnly: true # args: # - -storageDataPath=/storage # - -src=s3://your_bucket/folder/latest # - -credsFilePath=/etc/vm/creds/credentials # -- See `kubectl explain poddisruptionbudget.spec` for more. Ref: [https://kubernetes.io/docs/tasks/run-application/configure-pdb/](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) podDisruptionBudget: enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # -- Array of tolerations object. Node tolerations for server scheduling to nodes with taints. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) ## tolerations: - key: "dedicated" operator: "Equal" value: "vmstorage-sale-24aug" effect: "NoSchedule" # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/) nodeSelector: dedicated: "vmstorage-sale-24aug" # -- Pod affinity affinity: {} topologySpreadConstraints: - maxSkew: 1 topologyKey: topology.kubernetes.io/zone whenUnsatisfiable: ScheduleAnyway labelSelector: matchLabels: type: vmstorage - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: type: vmstorage ## Use an alternate scheduler, e.g. "stork". ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ ## # schedulerName: persistentVolume: # -- Create/use Persistent Volume Claim for vmstorage component. Empty dir if false. If true, vmstorage will create/use a Persistent Volume Claim enabled: true # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/) accessModes: - ReadWriteOnce # -- Persistent volume annotations annotations: {} # -- Persistent volume labels labels: {} # -- Storage class name. Will be empty if not setted storageClass: pd-standard-retain # -- Existing Claim name. Requires vmstorage.persistentVolume.enabled: true. If defined, PVC must be created manually before volume will be bound existingClaim: "" # -- Data root path. Vmstorage data Persistent Volume mount root path mountPath: /storage # -- Size of the volume. Better to set the same as resource limit memory property size: 700Gi # -- Mount subpath subPath: "" # -- Pod's annotations podAnnotations: prometheus.io/port: "8482" prometheus.io/scrape: "true" annotations: prometheus.io/port: "8482" prometheus.io/scrape: "true" extraLabels: bu: "demand" team: "demand-sre" service: "vmstorage-demand-prd" env: "prd" priority: "p0" type: "vmstorage" # arch: "arm64" # runpod: "ondemand" # -- Count of vmstorage pods replicaCount: 5 # -- Container workdir containerWorkingDir: "" # -- Deploy order policy for StatefulSet pods podManagementPolicy: OrderedReady # -- Resource object. Ref: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources: # limits: # cpu: 500m # memory: 512Mi requests: cpu: 32 memory: 600Gi # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) securityContext: {} podSecurityContext: {} service: # -- Service annotations annotations: {} # -- Service labels labels: {} # -- Service port servicePort: 8482 # -- Port for accepting connections from vminsert vminsertPort: 8400 # -- Port for accepting connections from vmstorage vmstoragePort: 8401 # -- Extra service ports extraServicePorts: [] # -- Pod's termination grace period in seconds terminationGracePeriodSeconds: 60 probe: readiness: httpGet: path: /health port: http initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 liveness: tcpSocket: port: http initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 10 vmbackupmanager: # -- enable automatic creation of backup via vmbackupmanager. vmbackupmanager is part of Enterprise packages enable: false # -- should be true and means that you have the legal right to run a backup manager # that can either be a signed contract or an email with confirmation to run the service in a trial period # # https://victoriametrics.com/legal/eula/ eula: true image: # -- vmbackupmanager image repository repository: asia-southeast1-docker.pkg.dev/meesho-devops-admin-0622/admin/sre/vmbackupmanager # -- vmbackupmanager image tag tag: v1.93.7-cluster # -- disable hourly backups disableHourly: true # -- disable daily backups disableDaily: false # -- disable weekly backups disableWeekly: true # -- disable monthly backups disableMonthly: true # -- backup destination at S3, GCS or local filesystem. Pod name will be included to path! destination: "s3://prd-demand-vmbackup" # -- backups' retention settings retention: # -- keep last N hourly backups. 0 means delete all existing hourly backups. Specify -1 to turn off keepLastHourly: 0 # -- keep last N daily backups. 0 means delete all existing daily backups. Specify -1 to turn off keepLastDaily: 30 # -- keep last N weekly backups. 0 means delete all existing weekly backups. Specify -1 to turn off keepLastWeekly: 0 # -- keep last N monthly backups. 0 means delete all existing monthly backups. Specify -1 to turn off keepLastMonthly: 0 extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json concurrency: 15 loggerTimezone: "Asia/Kolkata" # -- Allows to enable restore options for pod. # Read more: https://docs.victoriametrics.com/vmbackupmanager.html#restore-commands restore: onStart: enabled: false resources: {} # -- Additional environment variables (ex.: secret tokens, flags) https://github.com/VictoriaMetrics/VictoriaMetrics#environment-variables env: [] readinessProbe: httpGet: path: /health port: manager-http initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 livenessProbe: tcpSocket: port: manager-http initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 10 extraSecretMounts: [] # - name: secret # mountPath: /etc/credentials # subPath: "" # readOnly: true serviceMonitor: # -- Enable deployment of Service Monitor for vmstorage component. This is Prometheus operator object enabled: false # -- Target namespace of ServiceMonitor manifest namespace: "" # -- Service Monitor labels extraLabels: {} # -- Service Monitor annotations annotations: {} # Commented. Prometheus scare interval for vmstorage component # interval: 15s # Commented. Prometheus pre-scrape timeout for vmstorage component # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true # -- Service Monitor relabelings relabelings: []