Skip to content

Commit

Permalink
Add vortex k8s deployment & service
Browse files Browse the repository at this point in the history
  • Loading branch information
sufuf3 committed Jun 19, 2018
1 parent 6e04800 commit d008833
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
21 changes: 21 additions & 0 deletions deploy/kubernetes/apps/vortex/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vortex-deploy
labels:
app: vortex
spec:
replicas: 3
selector:
matchLabels:
app: vortex
template:
metadata:
labels:
app: vortex
spec:
containers:
- name: vortex
image: sdnvortex/vortex:latest
ports:
- containerPort: 7890
15 changes: 15 additions & 0 deletions deploy/kubernetes/apps/vortex/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
kind: Service
apiVersion: v1
metadata:
name: vortex
labels:
app: vortex
spec:
selector:
app: vortex
ports:
- protocol: TCP
port: 7890
targetPort: 7890
name: vortex
clusterIP: None

0 comments on commit d008833

Please sign in to comment.