Skip to content

Commit bcf6520

Browse files
fuzz
Signed-off-by: Adrian Cole <[email protected]>
1 parent 947496b commit bcf6520

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

k8s/k8s-manifest-elastic.yml

+16
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ spec:
5656
# So, ELSER's memory is in addition to the heap and other overhead.
5757
- name: ES_JAVA_OPTS
5858
value: "-Xms2g -Xmx2g"
59+
securityContext:
60+
capabilities:
61+
add: ["CHOWN", "DAC_OVERRIDE", "SETGID", "SETUID"]
62+
drop: ["ALL"]
5963
readinessProbe:
6064
exec:
6165
# Readiness probe adapted from the Docker healthcheck script.
@@ -138,6 +142,8 @@ spec:
138142
value: fhjskloppd678ehkdfdlliverpoolfcr
139143
- name: XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY
140144
value: fhjskloppd678ehkdfdlliverpoolfcr
145+
- name: SERVER_HOST
146+
value: 0.0.0.0
141147
- name: SERVER_PUBLICBASEURL
142148
value: http://127.0.0.1:5601
143149
readinessProbe:
@@ -245,6 +251,16 @@ spec:
245251
ports:
246252
- containerPort: 4317
247253
- containerPort: 4318
254+
readinessProbe:
255+
tcpSocket:
256+
port: 4317
257+
initialDelaySeconds: 1
258+
periodSeconds: 1
259+
failureThreshold: 300
260+
securityContext:
261+
capabilities:
262+
add: [ "CHOWN", "DAC_OVERRIDE", "SETGID", "SETUID" ]
263+
drop: [ "ALL" ]
248264
volumes:
249265
- name: config
250266
configMap:

0 commit comments

Comments
 (0)