mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Adding host network option. (#15197)
Signed-off-by: Alexey Shabalin <alexey.shabalin@fairfaxmedia.com.au>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
595f51dda8
commit
cd2f373d61
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: "1.13.0-1"
|
||||
description: The K8s Spot Termination handler handles draining AWS Spot Instances in response to termination requests.
|
||||
name: k8s-spot-termination-handler
|
||||
version: 1.2.4
|
||||
version: 1.3.0
|
||||
keywords:
|
||||
- spot
|
||||
- termination
|
||||
|
||||
@@ -44,3 +44,4 @@ Parameter | Description | Default
|
||||
`tolerations` | node taints to tolerate (requires Kubernetes >=1.6) | `[]`
|
||||
`affinity` | node/pod affinities (requires Kubernetes >=1.6) | `{}`
|
||||
`priorityClassName` | pod priorityClassName for pod. | ``
|
||||
`hostNetwork` | controls whether the pod may use the node network namespace | `true`
|
||||
|
||||
@@ -14,6 +14,7 @@ spec:
|
||||
app.kubernetes.io/name: {{ template "k8s-spot-termination-handler.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
spec:
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
serviceAccountName: {{ template "k8s-spot-termination-handler.serviceAccountName" . }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
|
||||
@@ -63,3 +63,4 @@ tolerations: []
|
||||
# effect: "NoSchedule"
|
||||
|
||||
affinity: {}
|
||||
hostNetwork: true
|
||||
|
||||
Reference in New Issue
Block a user