Skip to content

Commit

Permalink
add mongo deployment defintion
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant Weiss committed Apr 3, 2017
1 parent 5eee0bb commit 1ce8a88
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions mongodep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: v1
kind: Service
metadata:
name: mongo
labels:
run: mongo
spec:
ports:
- port: 27017
protocol: TCP
targetPort: 27017
selector:
run: mongo
type: LoadBalancer
loadBalancerSourceRanges:
- 0.0.0.0/0
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mongo
spec:
replicas: 1
template:
metadata:
labels:
run: mongo
spec:
containers:
- name: mongo
image: mongo
ports:
- containerPort: 27017

0 comments on commit 1ce8a88

Please sign in to comment.