File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22type : library
33name : deckhouse_lib_helm
4- version : 1.26 .0
4+ version : 1.27 .0
55description : " Helm utils template definitions for Deckhouse modules."
Original file line number Diff line number Diff line change 55| Table of contents |
66| ---|
77| ** Enable Ds Eviction** |
8- | [ helm_lib_ds_eviction_annotation ] ( #helm_lib_ds_eviction_annotation ) |
8+ | [ helm_lib_prevent_ds_eviction_annotation ] ( #helm_lib_prevent_ds_eviction_annotation ) |
99| ** Envs For Proxy** |
1010| [ helm_lib_envs_for_proxy] ( #helm_lib_envs_for_proxy ) |
1111| ** High Availability** |
106106
107107## Enable Ds Eviction
108108
109- ### helm_lib_ds_eviction_annotation
109+ ### helm_lib_prevent_ds_eviction_annotation
110110
111111 Adds ` cluster-autoscaler.kubernetes.io/enable-ds-eviction ` annotation to manage DaemonSet eviction by the Cluster Autoscaler.
112112 This is important to prevent the eviction of DaemonSet pods during cluster scaling.
113113
114114#### Usage
115115
116- ` {{ include "helm_lib_ds_eviction_annotation " . }} `
116+ ` {{ include "helm_lib_prevent_ds_eviction_annotation " . }} `
117117
118118
119119## Envs For Proxy
Original file line number Diff line number Diff line change 1- { {- /* Usage: {{ include " helm_lib_ds_eviction_annotation " . } } */ -}}
1+ { {- /* Usage: {{ include " helm_lib_prevent_ds_eviction_annotation " . } } */ -}}
22{ {- /* Adds `cluster-autoscaler.kubernetes.io/enable-ds-eviction` annotation to manage DaemonSet eviction by the Cluster Autoscaler. */ -} }
33{ {- /* This is important to prevent the eviction of DaemonSet pods during cluster scaling. */ -} }
4- { {- define " helm_lib_ds_eviction_annotation " -} }
4+ { {- define " helm_lib_prevent_ds_eviction_annotation " -} }
55cluster-autoscaler.kubernetes.io/enable-ds-eviction: "false"
6- { {- end } }
6+ { {- end } }
Original file line number Diff line number Diff line change 1111 template :
1212 metadata :
1313 annotation :
14- {{ include "helm_lib_ds_eviction_annotation " . | nindent 8 }}
14+ {{ include "helm_lib_prevent_ds_eviction_annotation " . | nindent 8 }}
Original file line number Diff line number Diff line change 1- suite : helm_lib_ds_eviction_annotation tests
1+ suite : helm_lib_prevent_ds_eviction_annotation tests
22templates :
33 - helm_lib_enable_ds_eviction_value.yaml
44tests :
You can’t perform that action at this time.
0 commit comments