mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 21:57:00 +01:00
25 lines
498 B
YAML
25 lines
498 B
YAML
|
|
# Heapster's pod_nanny monitors the heapster deployment & its pod(s), and scales
|
||
|
|
# the resources of the deployment if necessary.
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||
|
|
kind: Role
|
||
|
|
metadata:
|
||
|
|
name: system:pod-nanny
|
||
|
|
namespace: kube-system
|
||
|
|
labels:
|
||
|
|
kubernetes.io/cluster-service: "true"
|
||
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
|
rules:
|
||
|
|
- apiGroups:
|
||
|
|
- ""
|
||
|
|
resources:
|
||
|
|
- pods
|
||
|
|
verbs:
|
||
|
|
- get
|
||
|
|
- apiGroups:
|
||
|
|
- "extensions"
|
||
|
|
resources:
|
||
|
|
- deployments
|
||
|
|
verbs:
|
||
|
|
- get
|
||
|
|
- update
|