mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/metricbeat] Template dnsPolicy and hostNetwork (#14675)
Template dnsPolicy and hostNetwork, add to README and default in values Signed-off-by: James Ritter <jamesritter15@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6b0cf66c88
commit
d7e92de93b
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: A Helm chart to collect Kubernetes logs with metricbeat
|
||||
icon: https://www.elastic.co/assets/blt47799dcdcf08438d/logo-elastic-beats-lt.svg
|
||||
name: metricbeat
|
||||
version: 1.6.3
|
||||
version: 1.6.4
|
||||
appVersion: 6.7.0
|
||||
home: https://www.elastic.co/products/beats/metricbeat
|
||||
sources:
|
||||
|
||||
@@ -60,6 +60,8 @@ The following table lists the configurable parameters of the metricbeat chart an
|
||||
| `daemonset.tolerations` | Pod taint tolerations for daemonset | `[{"key": "node-role.kubernetes.io/master", "operator": "Exists", "effect": "NoSchedule"}]` |
|
||||
| `daemonset.resources.requests.cpu` | CPU resource requests for daemonset | |
|
||||
| `daemonset.resources.limits.cpu` | CPU resource limits for daemonset | |
|
||||
| `daemonset.hostNetwork` | Leverage host network interfaces | `true` |
|
||||
| `daemonset.dnsPolicy` | Pod DNS Policy | `ClusterFirstWithHostNet` |
|
||||
| `deployment.enabled` | If true, enable deployment | |
|
||||
| `deployment.args` | Custom arguments for the docker command | |
|
||||
| `deployment.overrideConfig` | If overrideConfig is not empty, metricbeat chart's default config won't be used at all. | `{}` |
|
||||
|
||||
@@ -120,8 +120,8 @@ spec:
|
||||
priorityClassName: {{ .Values.daemonset.priorityClassName }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "metricbeat.serviceAccountName" . }}
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
hostNetwork: {{ .Values.daemonset.hostNetwork }}
|
||||
dnsPolicy: {{ .Values.daemonset.dnsPolicy }}
|
||||
{{- if .Values.daemonset.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.daemonset.tolerations | indent 6 }}
|
||||
|
||||
@@ -14,6 +14,8 @@ daemonset:
|
||||
effect: NoSchedule
|
||||
nodeSelector: {}
|
||||
resources: {}
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
config:
|
||||
metricbeat.config:
|
||||
modules:
|
||||
|
||||
Reference in New Issue
Block a user