[SEBA-104]
Log aggregation for SEBA
Required features:
- Elasticsearch for log storage
Optional features:
- Kibana for accessing logs through a web ui
- logstash, configured to read events out of kafka into elasticsearch
- fluentd-elasticsearch for shipping container logs from k8s nodes into
elasticsearch
Change-Id: Ib81561762a0c2b96613ccbad411b660a403e23de
diff --git a/examples/kafka-single.yaml b/examples/kafka-single.yaml
index 5a7e496..06ff1d6 100644
--- a/examples/kafka-single.yaml
+++ b/examples/kafka-single.yaml
@@ -13,13 +13,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# for development purposes deploy a single instance of kafka
+# Deploy a single replica of Kafka during development
+#
+# Tested with v0.8.8 of the chart from the helm incubator
+#
+# ex:
+# helm install -f examples/kafka-single.yaml --version 0.8.8 -n cord-kafka incubator/kafka
replicas: 1
-enabled: true
+
+configurationOverrides:
+ "offsets.topic.replication.factor": 1
+
persistence:
enabled: false
+
zookeeper:
+ replicaCount: 1
persistence:
enabled: false
- servers: 1 # NOTE this differs from the zookeper documentation as the kafka chart is still referencing zookeper 0.5.0
\ No newline at end of file
+
diff --git a/examples/logging-single.yaml b/examples/logging-single.yaml
new file mode 100644
index 0000000..025867e
--- /dev/null
+++ b/examples/logging-single.yaml
@@ -0,0 +1,37 @@
+---
+# Copyright 2018-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# For testing logging, don't persist data and runs minimum instances of
+# elasticsearch components
+
+elasticsearch:
+
+ cluster:
+ env:
+ MINIMUM_MASTER_NODES: "1"
+
+ client:
+ replicas: 1
+
+ master:
+ replicas: 2
+ persistence:
+ enabled: false
+
+ data:
+ replicas: 1
+ persistence:
+ enabled: false
+