JAVA-20281 GitHub Issue: Error in kubernetes resource in spring cloud modules (#14532)
This commit is contained in:
parent
1efb25df79
commit
36ba51772a
|
@ -14,22 +14,24 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
service: mongo
|
service: mongo
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: mongo
|
name: mongo
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
name: mongodb-service
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
service: mongo
|
service: mongo
|
||||||
name: mongodb-service
|
name: mongodb-service
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
- mongod
|
- mongod
|
||||||
- --smallfiles
|
|
||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
name: mongo
|
name: mongo
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue