Parametrized cord-platform
Change-Id: I40accbe58bda37a851c87675e29fcf718ed4efeb
diff --git a/cord-platform/requirements.yaml b/cord-platform/requirements.yaml
index e91c20b..01a9670 100644
--- a/cord-platform/requirements.yaml
+++ b/cord-platform/requirements.yaml
@@ -21,13 +21,13 @@
version: 1.1.0
repository: https://charts.opencord.org
- name: xos-core
- version: 2.3.0
+ version: 2.3.1
repository: https://charts.opencord.org
- name: logging
- version: 0.1.0-dev0
+ version: 1.0.0
repository: https://charts.opencord.org
condition: logging.enabled
- name: nem-monitoring
- version: 1.0.0-dev
+ version: 1.0.0
repository: https://charts.opencord.org
condition: nem-monitoring.enabled
diff --git a/cord-platform/values.yaml b/cord-platform/values.yaml
index d255bf2..615b50f 100644
--- a/cord-platform/values.yaml
+++ b/cord-platform/values.yaml
@@ -12,3 +12,77 @@
# 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.
+
+xos-core:
+ platformKafka: cord-platform-kafka:9092
+ xos-gui:
+ platformKafka: cord-platform-kafka:9092
+
+nem-monitoring:
+ args:
+ voltha_kpi_broker: cord-platform-kafka:9092
+ grafana:
+ datasources:
+ datasources.yaml:
+ apiVersion: 1
+ datasources:
+ - name: Prometheus
+ type: prometheus
+ url: http://cord-platform-prometheus-server.default.svc.cluster.local
+ access: proxy
+ isDefault: true
+
+logging:
+ kibana:
+ env:
+ ELASTICSEARCH_URL: "http://cord-platform-elasticsearch-client:9200"
+ elasticsearch:
+ cluster:
+ env:
+ MINIMUM_MASTER_NODES: "1"
+ client:
+ replicas: 1
+ master:
+ replicas: 2
+ persistence:
+ enabled: false
+ data:
+ replicas: 1
+ persistence:
+ enabled: false
+ logstash:
+ elasticsearch:
+ host: "cord-platform-elasticsearch-client"
+ inputs:
+ main: |-
+ input {
+ kafka {
+ auto_offset_reset => "earliest" # get all previous items from new topics
+ bootstrap_servers => "cord-platform-kafka:9092"
+ client_id => "logstash_ck"
+ codec => json { charset => "UTF-8" }
+ consumer_threads => 1
+ decorate_events => true
+ group_id => "logstash_ck"
+ metadata_max_age_ms => 60000 # recheck for new topics every minute
+ # other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
+ topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
+ type => "cord-platform-kafka"
+ }
+ }
+ fluentd-elasticsearch:
+ elasticsearch:
+ host: "cord-platform-elasticsearch-client"
+
+kafka:
+ configurationOverrides:
+ "offsets.topic.replication.factor": 1
+ "log.retention.hours": 4
+ "log.message.timestamp.type": "LogAppendTime"
+
+ persistence:
+ enabled: false
+
+ zookeeper:
+ persistence:
+ enabled: false
\ No newline at end of file