313 lines
7.2 KiB
YAML
313 lines
7.2 KiB
YAML
# Source: prometheus/charts/kube-state-metrics/templates/serviceaccount.yaml
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
automountServiceAccountToken: true
|
|
metadata:
|
|
labels:
|
|
helm.sh/chart: kube-state-metrics-5.25.1
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/component: metrics
|
|
app.kubernetes.io/part-of: kube-state-metrics
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: "2.13.0"
|
|
name: prometheus-kube-state-metrics
|
|
namespace: monitoring
|
|
---
|
|
# Source: prometheus/charts/prometheus-node-exporter/templates/serviceaccount.yaml
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: prometheus-prometheus-node-exporter
|
|
namespace: monitoring
|
|
labels:
|
|
helm.sh/chart: prometheus-node-exporter-4.39.0
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/component: metrics
|
|
app.kubernetes.io/part-of: prometheus-node-exporter
|
|
app.kubernetes.io/name: prometheus-node-exporter
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: "1.8.2"
|
|
automountServiceAccountToken: false
|
|
---
|
|
# Source: prometheus/charts/prometheus-pushgateway/templates/serviceaccount.yaml
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
labels:
|
|
helm.sh/chart: prometheus-pushgateway-2.14.0
|
|
app.kubernetes.io/name: prometheus-pushgateway
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: "v1.9.0"
|
|
app.kubernetes.io/managed-by: Helm
|
|
name: prometheus-prometheus-pushgateway
|
|
namespace: monitoring
|
|
automountServiceAccountToken: true
|
|
---
|
|
# Source: prometheus/templates/serviceaccount.yaml
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: server
|
|
app.kubernetes.io/name: prometheus
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: v2.54.1
|
|
helm.sh/chart: prometheus-25.27.0
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/part-of: prometheus
|
|
name: prometheus-server
|
|
namespace: monitoring
|
|
annotations:
|
|
{}
|
|
---
|
|
# Source: prometheus/charts/kube-state-metrics/templates/role.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
labels:
|
|
helm.sh/chart: kube-state-metrics-5.25.1
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/component: metrics
|
|
app.kubernetes.io/part-of: kube-state-metrics
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: "2.13.0"
|
|
name: prometheus-kube-state-metrics
|
|
rules:
|
|
|
|
- apiGroups: ["certificates.k8s.io"]
|
|
resources:
|
|
- certificatesigningrequests
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- configmaps
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["batch"]
|
|
resources:
|
|
- cronjobs
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["extensions", "apps"]
|
|
resources:
|
|
- daemonsets
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["extensions", "apps"]
|
|
resources:
|
|
- deployments
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- endpoints
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["autoscaling"]
|
|
resources:
|
|
- horizontalpodautoscalers
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["extensions", "networking.k8s.io"]
|
|
resources:
|
|
- ingresses
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["batch"]
|
|
resources:
|
|
- jobs
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["coordination.k8s.io"]
|
|
resources:
|
|
- leases
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- limitranges
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["admissionregistration.k8s.io"]
|
|
resources:
|
|
- mutatingwebhookconfigurations
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- namespaces
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["networking.k8s.io"]
|
|
resources:
|
|
- networkpolicies
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- nodes
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- persistentvolumeclaims
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- persistentvolumes
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["policy"]
|
|
resources:
|
|
- poddisruptionbudgets
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- pods
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["extensions", "apps"]
|
|
resources:
|
|
- replicasets
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- replicationcontrollers
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- resourcequotas
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- secrets
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: [""]
|
|
resources:
|
|
- services
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["apps"]
|
|
resources:
|
|
- statefulsets
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
resources:
|
|
- storageclasses
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["admissionregistration.k8s.io"]
|
|
resources:
|
|
- validatingwebhookconfigurations
|
|
verbs: ["list", "watch"]
|
|
|
|
- apiGroups: ["storage.k8s.io"]
|
|
resources:
|
|
- volumeattachments
|
|
verbs: ["list", "watch"]
|
|
---
|
|
# Source: prometheus/templates/clusterrole.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: server
|
|
app.kubernetes.io/name: prometheus
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: v2.54.1
|
|
helm.sh/chart: prometheus-25.27.0
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/part-of: prometheus
|
|
name: prometheus-server
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- nodes
|
|
- nodes/proxy
|
|
- nodes/metrics
|
|
- services
|
|
- endpoints
|
|
- pods
|
|
- ingresses
|
|
- configmaps
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- "extensions"
|
|
- "networking.k8s.io"
|
|
resources:
|
|
- ingresses/status
|
|
- ingresses
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- "discovery.k8s.io"
|
|
resources:
|
|
- endpointslices
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- nonResourceURLs:
|
|
- "/metrics"
|
|
verbs:
|
|
- get
|
|
---
|
|
# Source: prometheus/charts/kube-state-metrics/templates/clusterrolebinding.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
labels:
|
|
helm.sh/chart: kube-state-metrics-5.25.1
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/component: metrics
|
|
app.kubernetes.io/part-of: kube-state-metrics
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: "2.13.0"
|
|
name: prometheus-kube-state-metrics
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: prometheus-kube-state-metrics
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: prometheus-kube-state-metrics
|
|
namespace: monitoring
|
|
---
|
|
# Source: prometheus/templates/clusterrolebinding.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: server
|
|
app.kubernetes.io/name: prometheus
|
|
app.kubernetes.io/instance: prometheus
|
|
app.kubernetes.io/version: v2.54.1
|
|
helm.sh/chart: prometheus-25.27.0
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/part-of: prometheus
|
|
name: prometheus-server
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: prometheus-server
|
|
namespace: monitoring
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: prometheus-server |