# Default values for victoria-metrics-agent. # This is a YAML-formatted file. # Declare variables to be passed into your templates. replicaCount: 2 fullnameOverride: vmagent-dbc-dsci-prd # vmagent scraping configuration: # https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/docs/vmagent.md#how-to-collect-metrics-in-prometheus-format # use existing configmap if specified # otherwise .config values will be used configMap: "vmagent-dbc-dsci-prd-config" # Use same name as in fullnameOverride-config dedicatedValue: false topologySpreadConstraints: - maxSkew: 1 topologyKey: topology.kubernetes.io/zone whenUnsatisfiable: ScheduleAnyway labelSelector: matchLabels: type: vmagent - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: type: vmagent # ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ deployment: enabled: true # vmagent pods will take almost 20-25 mins to work properly minReadySeconds: 180 progressDeadlineSeconds: 300 # ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy strategy: {} # rollingUpdate: # maxSurge: 25% # maxUnavailable: 25% # type: RollingUpdate # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ statefulset: enabled: false # -- create cluster of vmagents. See https://docs.victoriametrics.com/vmagent.html#scraping-big-number-of-targets # available since 1.77.2 version https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.77.2 clusterMode: false # -- replication factor for vmagent in cluster mode replicationFactor: 1 # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies updateStrategy: {} # type: RollingUpdate image: repository: asia-southeast1-docker.pkg.dev/meesho-devops-admin-0622/admin/sre/vmagent tag: v1.93.7-cluster # rewrites Chart.AppVersion pullPolicy: IfNotPresent imagePullSecrets: [] nameOverride: "" containerWorkingDir: "/" rbac: create: true # Note: The PSP will only be deployed, if Kubernetes (<1.25) supports the resource. pspEnabled: true annotations: {} extraLabels: {} # -- if true and `rbac.enabled`, will deploy a Role/Rolebinding instead of a ClusterRole/ClusterRoleBinding namespaced: false serviceAccount: # Specifies whether a service account should be created create: true # Annotations to add to the service account annotations: { iam.gke.io/gcp-service-account: sa-dbc-desre-vmagent-prd@meesho-dbc-prd-0622.iam.gserviceaccount.com } # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template name: ## See `kubectl explain poddisruptionbudget.spec` for more ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ podDisruptionBudget: enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # WARN: need to specify at least one remote write url or one multi tenant url # remoteWriteUrls: [] remoteWriteUrls: # - https://vminsert-prd-dbc.meeshogcp.in/insert/100/prometheus/api/v1/write - http://vminsert-dbc-prd.meeshogcp.in/insert/100/prometheus/api/v1/write # - http://prometheus:8480/insert/0/prometheus multiTenantUrls: [] # multiTenantUrls: # - http://vm-insert-az1:8480 # - http://vm-insert-az2:8480 extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json promscrape.config.strictParse: false promscrape.maxScrapeSize: 1000000000 promscrape.minResponseSizeForStreamParse: 1000000 loggerTimezone: "Asia/Kolkata" # Uncomment and specify the port if you want to support any of the protocols: # https://victoriametrics.github.io/vmagent.html#features # graphiteListenAddr: ":2003" # influxListenAddr: ":8189" # opentsdbHTTPListenAddr: ":4242" # opentsdbListenAddr: ":4242" # -- Additional environment variables (ex.: secret tokens, flags) https://github.com/VictoriaMetrics/VictoriaMetrics#environment-variables env: [] # - name: VM_remoteWrite_basicAuth_password # valueFrom: # secretKeyRef: # name: auth_secret # key: password # extra Labels for Pods, Deployment and Statefulset extraLabels: bu: "dbc-dsci" team: "dbc-dsci-sre" service: "vmagent-dbc-dsci-prd" env: "prd" priority: "p0" type: "vmagent" # extra Labels for Pods only podLabels: {} # 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 podSecurityContext: {} # fsGroup: 2000 securityContext: {} # capabilities: # drop: # - ALL # readOnlyRootFilesystem: true # runAsNonRoot: true # runAsUser: 1000 service: enabled: true annotations: {} # cloud.google.com/neg: '{"exposed_ports": {"8429":{"name": "vmagent-dbc-prd"}}}' extraLabels: {} clusterIP: "" ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips ## externalIPs: [] loadBalancerIP: "" loadBalancerSourceRanges: [] servicePort: 8429 # nodePort: 30000 type: ClusterIP # Ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip # externalTrafficPolicy: "local" # healthCheckNodePort: 0 ingress: enabled: true ingressClassName: nginx-internal annotations: nginx.ingress.kubernetes.io/force-ssl-redirect: "false" nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: "false" # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: 'true' extraLabels: {} hosts: - name: vmagent-dbc-dsci-prd.meeshogcp.in path: / port: http tls: [] # - secretName: vmagent-ingress-tls # hosts: # - vmagent.local # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress # ingressClassName: nginx # -- pathType is only for k8s >= 1.1= pathType: Prefix resources: # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following # lines, adjust them as necessary, and remove the curly braces after 'resources:'. # limits: # cpu: 100m # memory: 128Mi requests: cpu: 2 memory: 4Gi # Annotations to be added to the deployment annotations: prometheus.io/scrape: "true" prometheus.io/port: "8429" # Annotations to be added to pod podAnnotations: prometheus.io/scrape: "true" prometheus.io/port: "8429" nodeSelector: dedicated: "devops" tolerations: - key: "dedicated" operator: "Equal" value: "devops" effect: "NoSchedule" affinity: {} # -- priority class to be assigned to the pod(s) priorityClassName: "" serviceMonitor: enabled: false extraLabels: {} annotations: {} relabelings: [] # interval: 15s # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true persistence: enabled: false # storageClassName: default accessModes: - ReadWriteOnce size: 10Gi annotations: {} extraLabels: {} existingClaim: "" # -- Bind Persistent Volume by labels. Must match all labels of targeted PV. matchLabels: {} # -- Extra scrape configs that will be appended to `config` extraScrapeConfigs: [] # Add extra specs dynamically to this chart extraObjects: []