apiVersion: pingcap.com/v1alpha1 kind: TidbMonitor metadata: name: basic spec: alertmanagerURL: "" annotations: {} clusters: - name: basic grafana: baseImage: grafana/grafana envs: # Configure Grafana using environment variables except GF_PATHS_DATA, GF_SECURITY_ADMIN_USER and GF_SECURITY_ADMIN_PASSWORD # Ref https://grafana.com/docs/installation/configuration/#using-environment-variables GF_AUTH_ANONYMOUS_ENABLED: "true" GF_AUTH_ANONYMOUS_ORG_NAME: "Main Org." GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer" # if grafana is running behind a reverse proxy with subpath http://foo.bar/grafana # GF_SERVER_DOMAIN: foo.bar # GF_SERVER_ROOT_URL: "%(protocol)s://%(domain)s/grafana/" imagePullPolicy: IfNotPresent logLevel: info password: admin service: annotations: service.beta.kubernetes.io/aws-load-balancer-type: nlb service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing type: LoadBalancer username: admin version: 7.5.11 imagePullPolicy: IfNotPresent initializer: baseImage: pingcap/tidb-monitor-initializer imagePullPolicy: IfNotPresent version: v7.5.1 kubePrometheusURL: "" persistent: true prometheus: baseImage: prom/prometheus imagePullPolicy: IfNotPresent logLevel: info reserveDays: 12 service: portName: http-prometheus type: NodePort version: v2.27.1 reloader: baseImage: pingcap/tidb-monitor-reloader imagePullPolicy: IfNotPresent service: portName: tcp-reloader type: NodePort version: v1.0.1 prometheusReloader: baseImage: quay.io/prometheus-operator/prometheus-config-reloader version: v0.49.0 storage: 100Gi