Skip to content

Commit

Permalink
Update SpringBoot-Mongo-DynamicPV.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstrainingbanglore authored Sep 6, 2020
1 parent a63c102 commit 85a34a6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions SpringBoot-Mongo-DynamicPV.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
apiVersion: v1
kind: ReplicationController
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: springboot
name: spring-controller
name: spring-boot-app
spec:
replicas: 2
selector:
matchLabels:
app: springboot
template:
metadata:
labels:
name: springboot
app: springboot
spec:
containers:
- image: dockerhandson/spring-boot-mongo:latest
Expand All @@ -31,7 +32,7 @@ spec:
- port: 80
targetPort: 8080
selector:
name: springboot
app: springboot
---
apiVersion: v1
kind: PersistentVolumeClaim
Expand Down

0 comments on commit 85a34a6

Please sign in to comment.