changed develop k8s from deployment to statefulset

This commit is contained in:
marvzhang
2020-03-08 15:57:20 +08:00
parent 72f9694d05
commit 04a7b551d0
2 changed files with 4 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ spec:
value: "N"
- name: CRAWLAB_SERVER_LANG_JAVA
value: "Y"
- name: CRAWLAB_SERVER_REGISTER_TYPE
value: "hostname"
ports:
- containerPort: 8080
name: crawlab

View File

@@ -31,4 +31,6 @@ spec:
value: "N"
- name: CRAWLAB_SERVER_LANG_JAVA
value: "Y"
- name: CRAWLAB_SERVER_REGISTER_TYPE
value: "hostname"