Skip to content

Commit

Permalink
Increase appserver memory to 1GB
Browse files Browse the repository at this point in the history
Adds readiness probe and VERTX OPTS to appservers
  • Loading branch information
jakefeasel committed Dec 31, 2017
1 parent e73bd20 commit b015aff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion kubernetes/appservers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ spec:
protocol: TCP
resources:
requests:
memory: "512Mi"
memory: "1024Mi"
env:
- name: VERTX_OPTS
value: "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Xmx960m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Dvertx.disableFileCaching=true -Dvertx.disableFileCPResolving=true"
readinessProbe:
httpGet:
path: /backend/dbTypes
port: 8081
initialDelaySeconds: 5
timeoutSeconds: 2
periodSeconds: 20
- image: sqlfiddle:varnish
imagePullPolicy: IfNotPresent
name: varnish
Expand Down

0 comments on commit b015aff

Please sign in to comment.