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

@@ -1,9 +1,10 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: crawlab-worker
namespace: crawlab-develop
spec:
serviceName: crawlab-worker
replicas: 2
strategy:
type: Recreate