From 1bf069576b73f2a3808574538f57b9fe98a04b93 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Wed, 24 Jun 2020 09:36:37 -0500 Subject: [PATCH] fixed Jaeger / MongoDb / StatsD YAML (#108) --- k8s/jaeger-all-in-one.yaml | 5 ++++- k8s/mongodb-deploy.yaml | 5 ++++- k8s/statsd-deploy.yaml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/k8s/jaeger-all-in-one.yaml b/k8s/jaeger-all-in-one.yaml index 54caa02d..5279e542 100644 --- a/k8s/jaeger-all-in-one.yaml +++ b/k8s/jaeger-all-in-one.yaml @@ -15,7 +15,7 @@ apiVersion: v1 kind: List items: -- apiVersion: extensions/v1beta1 +- apiVersion: apps/v1 kind: Deployment metadata: namespace: akka-cqrs @@ -26,6 +26,9 @@ items: app.kubernetes.io/component: all-in-one spec: replicas: 1 + selector: + matchLabels: + app: jaeger strategy: type: Recreate template: diff --git a/k8s/mongodb-deploy.yaml b/k8s/mongodb-deploy.yaml index 4536ca20..deea57a6 100644 --- a/k8s/mongodb-deploy.yaml +++ b/k8s/mongodb-deploy.yaml @@ -9,13 +9,16 @@ spec: selector: app: mongodb --- -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: namespace: akka-cqrs name: mongodb spec: replicas: 1 + selector: + matchLabels: + app: mongodb template: metadata: labels: diff --git a/k8s/statsd-deploy.yaml b/k8s/statsd-deploy.yaml index 3eb6f604..582851b6 100644 --- a/k8s/statsd-deploy.yaml +++ b/k8s/statsd-deploy.yaml @@ -40,7 +40,7 @@ spec: app: statsd type: LoadBalancer --- -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: namespace: akka-cqrs @@ -49,6 +49,9 @@ metadata: app: statsd spec: replicas: 1 + selector: + matchLabels: + app: statsd template: metadata: labels: