aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml')
-rw-r--r--vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml b/vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml
new file mode 100644
index 00000000..203c8195
--- /dev/null
+++ b/vnfs/DAaaS/microservices/prom-kafka-writer/kubernetes-manifests/pkw.deployment.yaml
@@ -0,0 +1,27 @@
+# This Deployment manifest defines:
+# - single-replica deployment of the container image, with label "app: go-prom-kafka-writer"
+# - Pod exposes port 8686
+# - specify PORT environment variable to the container process
+# Syntax reference https://kubernetes.io/docs/concepts/configuration/overview/
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: prom-kafka-writer
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: prom-kafka-writer
+ template:
+ metadata:
+ labels:
+ app: prom-kafka-writer
+ spec:
+ containers:
+ - name: server
+ image: dcr.cluster.local:32644/prom-kafka-writer
+ ports:
+ - containerPort: 8686
+ env:
+ - name: PORT
+ value: "8686"