mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add the option for Pod Annotations. (#4195)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Heapster enables Container Cluster Monitoring and Performance Analysis.
|
||||
name: heapster
|
||||
version: 0.2.7
|
||||
version: 0.2.8
|
||||
sources:
|
||||
- https://github.com/kubernetes/heapster
|
||||
- https://github.com/kubernetes/contrib/tree/master/addon-resizer
|
||||
|
||||
@@ -47,6 +47,7 @@ The default configuration values for this chart are listed in `values.yaml`.
|
||||
| `rbac.serviceAccountName` | existing ServiceAccount to use (ignored if rbac.create=true) | default |
|
||||
| `resizer.enabled` | If enabled, scale resources | true |
|
||||
| `eventer.enabled` | If enabled, start eventer | false |
|
||||
| `podAnnotations` | Pod Annotations to be added to the heapster Pod | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
|
||||
The table below is only applicable if `resizer.enabled` is `true`. More information on resizer can be found [here](https://github.com/kubernetes/contrib/blob/master/addon-resizer/README.md).
|
||||
|
||||
@@ -13,6 +13,8 @@ spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||
labels:
|
||||
app: {{ template "heapster.fullname" . }}
|
||||
spec:
|
||||
|
||||
@@ -16,6 +16,11 @@ labels: {}
|
||||
# scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||
annotations: {}
|
||||
|
||||
## Here annotations can be added for the heapster Pod
|
||||
# podAnnotations:
|
||||
# prometheus.io/scrape: "true"
|
||||
podAnnotations: {}
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user