use application/component labels

This commit is contained in:
Henning Jacobs
2020-04-26 14:17:57 +02:00
parent f38f72cede
commit 2c63f64da8
5 changed files with 15 additions and 10 deletions

View File

@@ -2,11 +2,13 @@ apiVersion: v1
kind: Service
metadata:
labels:
application: kube-ops-view-redis
application: kube-ops-view
component: redis
name: kube-ops-view-redis
spec:
selector:
application: kube-ops-view-redis
application: kube-ops-view
component: redis
type: ClusterIP
ports:
- port: 6379