From da9564a9b0b78bbe341de9b039aab3c378eb027f Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Mon, 22 Jan 2018 15:25:53 -0800 Subject: Implement component deployment via cloudify JIRA: VES-2 Change-Id: Ic696f13d2a32e10663f50cd4e26b9a060525ff92 Signed-off-by: Bryan Sullivan --- tools/kubernetes/ves-barometer/daemonset.yaml | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 tools/kubernetes/ves-barometer/daemonset.yaml (limited to 'tools/kubernetes/ves-barometer') diff --git a/tools/kubernetes/ves-barometer/daemonset.yaml b/tools/kubernetes/ves-barometer/daemonset.yaml new file mode 100644 index 0000000..d0d6d19 --- /dev/null +++ b/tools/kubernetes/ves-barometer/daemonset.yaml @@ -0,0 +1,62 @@ +# +# Copyright 2017 AT&T Intellectual Property, Inc +# +# 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. +# +# What this is: Kuberbetes chart for the OPNFV Barometer collectd agent +# running as a daemonset (one each kluster node) under kubernetes. +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: ves-barometer + namespace: default + labels: + k8s-app: ves-barometer +spec: + selector: + matchLabels: + name: ves-barometer + template: + metadata: + labels: + name: ves-barometer + spec: + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + containers: + - name: ves-barometer + image: blsaws/ves-barometer:latest + env: + - name: ves_mode + value: + - name: ves_kafka_hostname + value: + - name: ves_kafka_port + value: "" + volumeMounts: + - name: varrun + mountPath: /var/run + - name: tmp + mountPath: /tmp + readOnly: true + securityContext: + privileged: true + terminationGracePeriodSeconds: 30 + volumes: + - name: varrun + hostPath: + path: /var/run + - name: tmp + hostPath: + path: /tmp -- cgit 1.2.3-korg