Merge pull request #628 from crawlab-team/develop

fixed k8s yaml
This commit is contained in:
Marvin Zhang
2020-03-11 18:11:02 +08:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: crawlab
namespace: crawlab-master
namespace: crawlab
spec:
ports:
- port: 8080

View File

@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: crawlab-worker
namespace: crawlab-master
namespace: crawlab
spec:
serviceName: crawlab-worker
replicas: 2

4
k8s/ns.yaml Normal file
View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: crawlab