Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rdemoraes/09339baf71f11ead21db8acae8fd0e40 to your computer and use it in GitHub Desktop.
Save rdemoraes/09339baf71f11ead21db8acae8fd0e40 to your computer and use it in GitHub Desktop.
prometheus-stack-ClusterRoleBinding.yaml
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: horizontal-pod-autoscaler-external-metrics
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: horizontal-pod-autoscaler-external-metrics
subjects:
- kind: ServiceAccount
name: horizontal-pod-autoscaler
namespace: kube-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment