Skip to content

Commit

Permalink
case #19 minikube versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DickChesterwood committed May 24, 2018
1 parent a810cf2 commit f173a30
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions k8s-manifests/release3/replica-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,24 @@ spec:
- name: SPRING_PROFILES_ACTIVE
value: production-microservice
imagePullPolicy: Always
---
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: mongodb
labels:
app: mongodb
spec:
replicas: 1
selector:
matchLabels:
app: mongodb
template:
metadata:
labels:
app: mongodb
spec:
containers:
- name: fleetman-mongogb
image: mongo:3.6.5-jessie
imagePullPolicy: Always
12 changes: 12 additions & 0 deletions k8s-manifests/release3/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ spec:
port: 80
nodePort: 30040
type: NodePort
---
kind: Service
apiVersion: v1
metadata:
name: fleetman-mongodb
spec:
selector:
app: mongodb
ports:
- name: mongoport
port: 27017
type: ClusterIP

0 comments on commit f173a30

Please sign in to comment.