add lables
Signed-off-by: LinWengang <linwengang@chinacloud.com.cn>
This commit is contained in:
parent
299786b2c9
commit
02e20b6d7f
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue