add lables

Signed-off-by: LinWengang <linwengang@chinacloud.com.cn>
This commit is contained in:
LinWengang 2018-02-09 15:43:47 +08:00
parent 299786b2c9
commit 02e20b6d7f
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@ apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and befor
kind: Deployment
metadata:
name: docker-registry
labels:
app: docker-registry
namespace: docker-registry
spec:
replicas: 1

View file

@ -2,6 +2,8 @@ apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and befor
kind: Deployment
metadata:
name: http-svc
labels:
app: http-svc
spec:
replicas: 1
selector: