Replies: 1 comment 3 replies
-
I would expect that the Prometheus Operator will use its default image when image is not specified. That is what most operators do. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In prometheus.yaml file there is no image of prometheus! I'm wondering without image how we can deploy it! Am I making a mistake or image must be there and missed out by mistake.
I checked another page (https://grafana.com/docs/grafana-cloud/kubernetes-monitoring/prometheus/prometheus_operator/) and in .yaml file they mentioned image:
I'm using microk8s kubernetes cluster and strimizi kafka cluster....also not enabled prometheous add ons from mikrok8s and trying to deploye prometheous from scratch as mentioned in strimzi guide.
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus
labels:
app: prometheus
spec:
image: quay.io/prometheus/prometheus:v2.22.1
nodeSelector:
kubernetes.io/os: linux
replicas: 2
resources:
requests:
memory: 400Mi
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
serviceAccountName: prometheus
version: v2.22.1
serviceMonitorSelector: {}
Beta Was this translation helpful? Give feedback.
All reactions