From e6d349f3441d8cb1bc8808f466388db6c5a04b8b Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Mon, 20 Jan 2025 10:02:49 +0800 Subject: [PATCH] add lable app --- consul-deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/consul-deployment.yaml b/consul-deployment.yaml index 32a6735..434352d 100644 --- a/consul-deployment.yaml +++ b/consul-deployment.yaml @@ -2,13 +2,17 @@ apiVersion: apps/v1 kind: Deployment metadata: name: consul + labels: + app: consul spec: replicas: 1 selector: matchLabels: - io.kompose.service: consul + app: consul template: metadata: + labels: + app: consul spec: containers: - image: hashicorp/consul:1.20