diff --git a/kubernetes/deploy.yaml b/kubernetes/deploy.yaml index cc0b9f9..d4f1905 100644 --- a/kubernetes/deploy.yaml +++ b/kubernetes/deploy.yaml @@ -1,9 +1,12 @@ -apiVersion : apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: product spec: replicas: 1 + selector: + matchLabels: + app: product template: metadata: labels: @@ -13,4 +16,4 @@ spec: - name: product image: myeventstormingregistry.azurecr.io/product ports: - - containerPort: 8080 \ No newline at end of file + - containerPort: 8080