diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-04-04 23:08:05 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-04-08 17:09:21 +0000 |
commit | 939daa0ccccdaa278ff9b19f1a8a14f3566f9923 (patch) | |
tree | 2d5df7deda87541b9771907c38b3a587fe23a091 /blueprints/k8s-snmptrap.yaml-template | |
parent | e403deacfc8987d9366ec15acfcda07310df3152 (diff) |
Bulk blueprint update
1) Moved older bluerpints from build dir
2) Modified snmp and ves blueprint port mapping
3) Added helm and Dashboard blueprint
Change-Id: If4739901d754fa6fea81024917fb425e82c20657
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'blueprints/k8s-snmptrap.yaml-template')
-rw-r--r-- | blueprints/k8s-snmptrap.yaml-template | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/blueprints/k8s-snmptrap.yaml-template b/blueprints/k8s-snmptrap.yaml-template index 177efd1..6111e32 100644 --- a/blueprints/k8s-snmptrap.yaml-template +++ b/blueprints/k8s-snmptrap.yaml-template @@ -2,7 +2,7 @@ # # ============LICENSE_START==================================================== # ============================================================================= -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. # ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -73,6 +73,10 @@ inputs: default: title: Collector for receiving SNMP traps and publishing to DMAAP/MR version: 1.4.0 + external_port: + type: string + description: Kubernetes node port on which collector is exposed + default: "30470" replicas: type: integer description: number of instances @@ -85,7 +89,7 @@ node_templates: start: inputs: ports: - - '6162:0' + - concat: ["6162/udp:", { get_input: external_port }] properties: application_config: StormWatchPolicy: '' @@ -108,15 +112,6 @@ node_templates: get_input: sec_fault_unsecure_topic type: message_router -# TBA under DCAEGEN2-796 -# docker_config: -# healthcheck: -# interval: 300s -# script: /opt/app/snmptrap/bin/snmptrapd.sh status -# timeout: 120s -# type: docker -# ports: -# - 6162/udp:162 image: get_input: tag_version replicas: {get_input: replicas} |