2023-05-22 05:11:20 -04:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/kube-state-metrics
|
|
|
|
pullPolicy: IfNotPresent
|
2023-10-11 04:36:01 -04:00
|
|
|
tag: v2.10.0@sha256:538721a09681e1a5ee190cc348b7a27b0543eb2bade4afa4a2a89e21ca846f9d
|
2023-05-22 05:11:20 -04:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
port: 8080
|
|
|
|
selfmonitor:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
selfmonitor:
|
|
|
|
enabled: true
|
|
|
|
protocol: http
|
|
|
|
port: 8081
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
args:
|
|
|
|
- --resources=certificatesigningrequests
|
|
|
|
- --resources=configmaps
|
|
|
|
- --resources=cronjobs
|
|
|
|
- --resources=daemonsets
|
|
|
|
- --resources=deployments
|
|
|
|
- --resources=endpoints
|
|
|
|
- --resources=horizontalpodautoscalers
|
|
|
|
- --resources=ingresses
|
|
|
|
- --resources=jobs
|
|
|
|
- --resources=limitranges
|
|
|
|
- --resources=mutatingwebhookconfigurations
|
|
|
|
- --resources=namespaces
|
|
|
|
- --resources=networkpolicies
|
|
|
|
- --resources=nodes
|
|
|
|
- --resources=persistentvolumeclaims
|
|
|
|
- --resources=persistentvolumes
|
|
|
|
- --resources=poddisruptionbudgets
|
|
|
|
- --resources=pods
|
|
|
|
- --resources=replicasets
|
|
|
|
- --resources=replicationcontrollers
|
|
|
|
- --resources=resourcequotas
|
|
|
|
- --resources=secrets
|
|
|
|
- --resources=services
|
|
|
|
- --resources=statefulsets
|
|
|
|
- --resources=storageclasses
|
2023-06-09 02:58:38 -04:00
|
|
|
# - --resources=verticalpodautoscalers
|
2023-05-22 05:11:20 -04:00
|
|
|
- --resources=validatingwebhookconfigurations
|
|
|
|
- --resources=volumeattachments
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: /healthz
|
|
|
|
port: main
|
|
|
|
|
|
|
|
readiness:
|
|
|
|
path: /healthz
|
|
|
|
port: main
|
|
|
|
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
port: main
|
|
|
|
|
|
|
|
podOptions:
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
|
|
|
|
serviceAccount:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
|
|
|
|
rbac:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
clusterWide: true
|
|
|
|
rules:
|
2023-05-23 04:26:41 -04:00
|
|
|
- apiGroups:
|
|
|
|
- certificates.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- certificatesigningrequests
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- configmaps
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- batch
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- cronjobs
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- extensions
|
|
|
|
- apps
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- daemonsets
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- extensions
|
|
|
|
- apps
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- deployments
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- endpoints
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- autoscaling
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- horizontalpodautoscalers
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- extensions
|
|
|
|
- networking.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- ingresses
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- batch
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- jobs
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- limitranges
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- admissionregistration.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- mutatingwebhookconfigurations
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- namespaces
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- networking.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- networkpolicies
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- nodes
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- persistentvolumeclaims
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- persistentvolumes
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- policy
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- poddisruptionbudgets
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- pods
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- extensions
|
|
|
|
- apps
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- replicasets
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- replicationcontrollers
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- resourcequotas
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- secrets
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- services
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- apps
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- statefulsets
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- storage.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- storageclasses
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- autoscaling.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- verticalpodautoscalers
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- admissionregistration.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- validatingwebhookconfigurations
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- storage.k8s.io
|
2023-05-22 05:11:20 -04:00
|
|
|
resources:
|
|
|
|
- volumeattachments
|
2023-05-23 04:26:41 -04:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2023-05-22 05:11:20 -04:00
|
|
|
|
|
|
|
metrics:
|
|
|
|
main:
|
|
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
enabled: true
|
2023-07-12 03:39:18 -04:00
|
|
|
type: "servicemonitor"
|
2023-05-22 05:11:20 -04:00
|
|
|
endpoints:
|
|
|
|
- port: main
|
|
|
|
- port: selfmonitor
|
|
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
prometheusRule:
|
|
|
|
enabled: false
|
|
|
|
labels: {}
|
|
|
|
# -- Configure additionial rules for the chart under this key.
|
|
|
|
# @default -- See prometheusrules.yaml
|
|
|
|
rules:
|
|
|
|
[]
|
|
|
|
# - alert: UnifiPollerAbsent
|
|
|
|
# annotations:
|
|
|
|
# description: Unifi Poller has disappeared from Prometheus service discovery.
|
|
|
|
# summary: Unifi Poller is down.
|
|
|
|
# expr: |
|
|
|
|
# absent(up{job=~".*unifi-poller.*"} == 1)
|
|
|
|
# for: 5m
|
|
|
|
# labels:
|
|
|
|
# severity: critical
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|