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 20, 2018
1 parent 6e04800 commit 60f8168
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-server
labels:
app: vortex-server
spec:
replicas: 1
selector:
matchLabels:
app: vortex-server
template:
metadata:
labels:
app: vortex-server
spec:
containers:
- name: vortex-server
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-server
labels:
app: vortex-server
spec:
selector:
app: vortex-server
ports:
- protocol: TCP
port: 7890
targetPort: 7890
name: vortex-server
clusterIP: None

0 comments on commit 60f8168

Please sign in to comment.