helm 3 prometheus operator

cat <<EOF > custom-values.yaml
global:
  imagePullSecrets:
  - name: regcred

prometheusOperator:
  image:
    repository: your-registry.com/monitoring/prometheus-operator
    tag: v0.38.1
  tlsProxy:
    image:
      repository: your-registry.com/monitoring/ghostunnel
      tag: v1.5.2
  prometheusConfigReloaderImage:
    repository: your-registry.com/monitoring/prometheus-config-reloader
    tag: v0.38.1
  configmapReloadImage:
    repository: your-registry.com/monitoring/configmap-reload
    tag: v0.3.0
  admissionWebhooks:
     patch:
       image:
         repository: your-registry.com/monitoring/kube-webhook-certgen
         tag: v1.2.0

alertmanager:
  alertmanagerSpec:
    image:
      repository: your-registry.com/monitoring/alertmanager
      tag: v0.20.0

prometheus:
  prometheusSpec:
    image:
      repository: your-registry.com/monitoring/prometheus
      tag: v2.17.2

kube-state-metrics:
  serviceAccount:
    imagePullSecrets:
    - name: regcred
  image:
    repository: your-registry.com/monitoring/kube-state-metrics
    tag: v1.9.5

grafana:
  image:
    pullSecrets:
    - regcred
    repository: your-registry.com/monitoring/grafana
    tag: 6.6.0
  sidecar:
    image: your-registry.com/monitoring/k8s-sidecar:0.1.99

prometheus-node-exporter:
  serviceAccount:
    imagePullSecrets:
    - name: regcred
  image:
    repository: your-registry.com/monitoring/node-exporter
    tag: v0.18.1
EOF

4.14
7
Sama 90 points

                                    kubectl port-forward $(kubectl get pods --selector=app=grafana --output=jsonpath=&quot;{.items..metadata.name}&quot;) 3000

4.14 (7 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source