changed develop k8s from deployment to statefulset

This commit is contained in:
marvzhang
2020-03-08 15:56:44 +08:00
parent b422be8c3d
commit 72f9694d05
2 changed files with 4 additions and 2 deletions

View File

@@ -13,11 +13,12 @@ spec:
type: NodePort
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: crawlab-master
namespace: crawlab-develop
spec:
serviceName: crawlab-master
strategy:
type: Recreate
selector: