aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kubernetes/log/charts/log-logstash/templates/deployment.yaml3
-rw-r--r--kubernetes/log/charts/log-logstash/values.yaml4
2 files changed, 5 insertions, 2 deletions
diff --git a/kubernetes/log/charts/log-logstash/templates/deployment.yaml b/kubernetes/log/charts/log-logstash/templates/deployment.yaml
index 86b1a8c264..7f19bc5ea8 100644
--- a/kubernetes/log/charts/log-logstash/templates/deployment.yaml
+++ b/kubernetes/log/charts/log-logstash/templates/deployment.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
apiVersion: extensions/v1beta1
-kind: DaemonSet
+kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
namespace: {{ include "common.namespace" . }}
@@ -24,6 +24,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
+ replicas: {{ .Values.replicaCount }}
template:
metadata:
labels:
diff --git a/kubernetes/log/charts/log-logstash/values.yaml b/kubernetes/log/charts/log-logstash/values.yaml
index 7779ffe490..955a02a11e 100644
--- a/kubernetes/log/charts/log-logstash/values.yaml
+++ b/kubernetes/log/charts/log-logstash/values.yaml
@@ -39,7 +39,9 @@ config:
elasticsearchServiceName: log-es
elasticsearchPort: 9200
-# default number of instances matches cluster size via DaemonSet deployment
+# default number of instances
+# 30+ logs/sec will saturate a single node to 6+ vCores
+replicaCount: 5
nodeSelector: {}