Skip to content

Commit

Permalink
fixed k8s yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Mar 11, 2020
1 parent eb552b9 commit c036c0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/crawlab-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: crawlab
namespace: crawlab-master
namespace: crawlab
spec:
ports:
- port: 8080
Expand Down
2 changes: 1 addition & 1 deletion k8s/crawlab-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: crawlab-worker
namespace: crawlab-master
namespace: crawlab
spec:
serviceName: crawlab-worker
replicas: 2
Expand Down
4 changes: 4 additions & 0 deletions k8s/ns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: crawlab

0 comments on commit c036c0e

Please sign in to comment.