forked from Acropolis/spring-petclinic-microservices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin-server-deployment.yaml
40 lines (40 loc) · 961 Bytes
/
admin-server-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.14.0 ()
creationTimestamp: null
labels:
io.kompose.service: admin-server
name: admin-server
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: admin-server
spec:
containers:
- command:
- ./wait-for-it.sh
- discovery-server:8761
- --timeout=60
- --
- java
- -XX:+UnlockExperimentalVMOptions
- -XX:+UseCGroupMemoryLimitForHeap
- -Djava.security.egd=file:/dev/./urandom
- -jar
- /app.jar
image: mszarlinski/spring-petclinic-admin-server
name: admin-server
ports:
- containerPort: 9090
resources:
limits:
memory: "268435456"
restartPolicy: Always
status: {}