修改deployment文件中namespace属性
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m34s
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m34s
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
app: $APP_NAME
|
||||
version: $APP_TAG
|
||||
name: $APP_NAME
|
||||
namespace: dl-proj #一定要写名称空间
|
||||
namespace: default #一定要写名称空间
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
@@ -57,7 +57,7 @@ metadata:
|
||||
labels:
|
||||
app: $APP_NAME
|
||||
name: $APP_NAME
|
||||
namespace: dl-proj
|
||||
namespace: default
|
||||
spec:
|
||||
type: NodePort
|
||||
externalTrafficPolicy: Local
|
||||
|
||||
Reference in New Issue
Block a user