diff --git a/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml b/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml new file mode 100644 index 000000000..c9ef8c37c --- /dev/null +++ b/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml @@ -0,0 +1,23 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: flower + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + app: flower + template: + metadata: + labels: + app: flower + spec: + containers: + - name: flower + image: mher/flower + env: + - name: CELERY_BROKER_URL + value: redis://snmp-redis-headless:6379/0 + ports: + - containerPort: 5555 \ No newline at end of file diff --git a/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml b/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml new file mode 100644 index 000000000..f07e908d0 --- /dev/null +++ b/charts/splunk-connect-for-snmp/templates/worker/flower/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: flower-svc + namespace: default + +spec: + selector: + app: flower + ports: + - protocol: TCP + port: 80 + targetPort: 5555 + type: LoadBalancer + externalIPs: + - 10.202.16.140 \ No newline at end of file