You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see Flagger exposed metrics on flagger-pod:8080/metrics but I don't see those on Prometheus. Prometheus is running in a different namespace. But I have mentioned correct labels in servicemonitor. I also enabled podmonitor in Flagger. What should be namespace for podmonitor?
I can't find what I am missing.
I have mentioned our prometheus external url as metricsServer name. What should be the namespace in podMonitor?
My service, servicemonitor annotation labels and selector labels are also same (by default).
I don't see Flagger in Prometheus service discovery .
I can see Flagger exposed metrics on flagger-pod:8080/metrics but I don't see those on Prometheus. Prometheus is running in a different namespace. But I have mentioned correct labels in servicemonitor. I also enabled podmonitor in Flagger. What should be namespace for podmonitor?
I can't find what I am missing.
`
image:
repository: ghcr.io/fluxcd/flagger
tag: 1.32.0
pullPolicy: IfNotPresent
pullSecret:
logLevel: info
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
appmesh.k8s.aws/sidecarInjectorWebhook: disabled
linkerd.io/inject: disabled
podPriorityClassName: ""
metricsServer: "http://prometheus.url.com"
serviceMonitor:
enabled: true
namespace: prometheus-operator
labels:
prometheus: default
meshProvider: "nginx"
namespace: ""
selectorLabels: ""
configTracking:
enabled: true
ingressAnnotationsPrefix: ""
ingressClass: "ingress"
securityContext:
enabled: true
context:
readOnlyRootFilesystem: true
runAsUser: 10001
clusterName: ""
podMonitor:
enabled: true
namespace:
interval: 15s
additionalLabels: {}
env: []
leaderElection:
enabled: false
replicaCount: 1
serviceAccount:
create: true
name: "flagger"
annotations: {}
rbac:
create: true
pspEnabled: false
crd:
create: false
linkerdAuthPolicy:
create: false
namespace: linkerd-viz
nameOverride: ""
fullnameOverride: ""
resources:
limits:
memory: "512Mi"
cpu: "1000m"
requests:
memory: "32Mi"
cpu: "10m"
nodeSelector: {}
tolerations: []
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: '{{ template "flagger.name" . }}'
app.kubernetes.io/instance: '{{ .Release.Name }}'
topologyKey: kubernetes.io/hostname
prometheus:
install: false
image: docker.io/prom/prometheus:v2.41.0
pullSecret:
retention: 2h
securityContext:
enabled: false
context:
readOnlyRootFilesystem: true
runAsUser: 10001
kubeconfigQPS: ""
kubeconfigBurst: ""
controlplane:
kubeconfig:
secretName: ""
key: "kubeconfig"
podDisruptionBudget:
enabled: false
minAvailable: 1
podLabels: {}
noCrossNamespaceRefs: false
additionalVolumes: {}
The text was updated successfully, but these errors were encountered: