修改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:
1
.idea/.gitignore
generated
vendored
1
.idea/.gitignore
generated
vendored
@@ -8,3 +8,4 @@
|
|||||||
/dataSources.local.xml
|
/dataSources.local.xml
|
||||||
# 基于编辑器的 HTTP 客户端请求
|
# 基于编辑器的 HTTP 客户端请求
|
||||||
/httpRequests/
|
/httpRequests/
|
||||||
|
/.idea/
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
app: $APP_NAME
|
app: $APP_NAME
|
||||||
version: $APP_TAG
|
version: $APP_TAG
|
||||||
name: $APP_NAME
|
name: $APP_NAME
|
||||||
namespace: dl-proj #一定要写名称空间
|
namespace: default #一定要写名称空间
|
||||||
spec:
|
spec:
|
||||||
progressDeadlineSeconds: 600
|
progressDeadlineSeconds: 600
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -57,7 +57,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: $APP_NAME
|
app: $APP_NAME
|
||||||
name: $APP_NAME
|
name: $APP_NAME
|
||||||
namespace: dl-proj
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
|
|||||||
Reference in New Issue
Block a user