diff --git a/operations/k8s/base/thoughts/base-thoughts.yaml b/operations/k8s/base/thoughts/base-thoughts.yaml index 019c403..f187f4d 100644 --- a/operations/k8s/base/thoughts/base-thoughts.yaml +++ b/operations/k8s/base/thoughts/base-thoughts.yaml @@ -46,4 +46,8 @@ apiVersion: v1 kind: Service metadata: name: thoughts-api - namespace: thoughts-system \ No newline at end of file + namespace: thoughts-system + +spec: + selector: + app: sales \ No newline at end of file diff --git a/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml b/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml index 2a89103..bf75153 100644 --- a/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml +++ b/operations/k8s/dev/thoughts/dev-thoughts-patch-deploy.yaml @@ -5,20 +5,12 @@ metadata: namespace: thoughts-system spec: - selector: - matchLabels: - app: thoughts - replicas: 1 strategy: type: Recreate template: - metadata: - labels: - app: thoughts - spec: dnsPolicy: ClusterFirstWithHostNet hostNetwork: true diff --git a/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml b/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml index f742bef..a12d8b2 100644 --- a/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml +++ b/operations/k8s/dev/thoughts/dev-thoughts-patch-service.yaml @@ -5,9 +5,6 @@ metadata: namespace: thoughts-system spec: - selector: - app: thoughts - type: ClusterIP ports: