Skip to content

Commit fff4a2e

Browse files
razvansbernauer
andauthored
JVM config overrides (#464)
* First version. * Add code that was deleted by mistake. * Update docs * Remove local file. * Update docs/modules/druid/pages/usage-guide/configuration-and-environment-overrides.adoc Co-authored-by: Sebastian Bernauer <[email protected]> * Disable negative cache. * Another typo. --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent ee95391 commit fff4a2e

File tree

7 files changed

+469
-9
lines changed

7 files changed

+469
-9
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77
### Added
88

99
- Default stackableVersion to operator version ([#458]).
10+
- Configuration overrides for the JVM security properties, such as DNS caching ([#464]).
1011

1112
### Changed
1213

@@ -15,6 +16,7 @@ All notable changes to this project will be documented in this file.
1516

1617
[#458]: https://github.com/stackabletech/druid-operator/pull/458
1718
[#459]: https://github.com/stackabletech/druid-operator/pull/459
19+
[#464]: https://github.com/stackabletech/druid-operator/pull/464
1820

1921
## [23.7.0] - 2023-07-14
2022

deploy/config-spec/properties.yaml

+190
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,196 @@ spec:
2424
###################################################################################################
2525

2626
properties:
27+
- property:
28+
propertyNames:
29+
- name: "networkaddress.cache.ttl"
30+
kind:
31+
type: "file"
32+
file: "security.properties"
33+
datatype:
34+
type: "integer"
35+
min: "0"
36+
recommendedValues:
37+
- fromVersion: "0.0.0"
38+
value: "30"
39+
roles:
40+
- name: "broker"
41+
required: true
42+
asOfVersion: "0.0.0"
43+
comment: "TTL for successfully resolved domain names."
44+
description: "TTL for successfully resolved domain names."
45+
46+
- property:
47+
propertyNames:
48+
- name: "networkaddress.cache.ttl"
49+
kind:
50+
type: "file"
51+
file: "security.properties"
52+
datatype:
53+
type: "integer"
54+
min: "0"
55+
recommendedValues:
56+
- fromVersion: "0.0.0"
57+
value: "30"
58+
roles:
59+
- name: "coordinator"
60+
required: true
61+
asOfVersion: "0.0.0"
62+
comment: "TTL for successfully resolved domain names."
63+
description: "TTL for successfully resolved domain names."
64+
65+
- property:
66+
propertyNames:
67+
- name: "networkaddress.cache.ttl"
68+
kind:
69+
type: "file"
70+
file: "security.properties"
71+
datatype:
72+
type: "integer"
73+
min: "0"
74+
recommendedValues:
75+
- fromVersion: "0.0.0"
76+
value: "30"
77+
roles:
78+
- name: "historical"
79+
required: true
80+
asOfVersion: "0.0.0"
81+
comment: "TTL for successfully resolved domain names."
82+
description: "TTL for successfully resolved domain names."
83+
84+
- property:
85+
propertyNames:
86+
- name: "networkaddress.cache.ttl"
87+
kind:
88+
type: "file"
89+
file: "security.properties"
90+
datatype:
91+
type: "integer"
92+
min: "0"
93+
recommendedValues:
94+
- fromVersion: "0.0.0"
95+
value: "30"
96+
roles:
97+
- name: "middleManager"
98+
required: true
99+
asOfVersion: "0.0.0"
100+
comment: "TTL for successfully resolved domain names."
101+
description: "TTL for successfully resolved domain names."
102+
103+
- property:
104+
propertyNames:
105+
- name: "networkaddress.cache.ttl"
106+
kind:
107+
type: "file"
108+
file: "security.properties"
109+
datatype:
110+
type: "integer"
111+
min: "0"
112+
recommendedValues:
113+
- fromVersion: "0.0.0"
114+
value: "30"
115+
roles:
116+
- name: "router"
117+
required: true
118+
asOfVersion: "0.0.0"
119+
comment: "TTL for successfully resolved domain names."
120+
description: "TTL for successfully resolved domain names."
121+
122+
- property:
123+
propertyNames:
124+
- name: "networkaddress.cache.negative.ttl"
125+
kind:
126+
type: "file"
127+
file: "security.properties"
128+
datatype:
129+
type: "integer"
130+
min: "0"
131+
recommendedValues:
132+
- fromVersion: "0.0.0"
133+
value: "0"
134+
roles:
135+
- name: "broker"
136+
required: true
137+
asOfVersion: "0.0.0"
138+
comment: "TTL for host names that cannot be resolved."
139+
description: "TTL for host names that cannot be resolved."
140+
141+
- property:
142+
propertyNames:
143+
- name: "networkaddress.cache.negative.ttl"
144+
kind:
145+
type: "file"
146+
file: "security.properties"
147+
datatype:
148+
type: "integer"
149+
min: "0"
150+
recommendedValues:
151+
- fromVersion: "0.0.0"
152+
value: "0"
153+
roles:
154+
- name: "coordinator"
155+
required: true
156+
asOfVersion: "0.0.0"
157+
comment: "TTL for host names that cannot be resolved."
158+
description: "TTL for host names that cannot be resolved."
159+
160+
- property:
161+
propertyNames:
162+
- name: "networkaddress.cache.negative.ttl"
163+
kind:
164+
type: "file"
165+
file: "security.properties"
166+
datatype:
167+
type: "integer"
168+
min: "0"
169+
recommendedValues:
170+
- fromVersion: "0.0.0"
171+
value: "0"
172+
roles:
173+
- name: "historical"
174+
required: true
175+
asOfVersion: "0.0.0"
176+
comment: "TTL for host names that cannot be resolved."
177+
description: "TTL for host names that cannot be resolved."
178+
179+
- property:
180+
propertyNames:
181+
- name: "networkaddress.cache.negative.ttl"
182+
kind:
183+
type: "file"
184+
file: "security.properties"
185+
datatype:
186+
type: "integer"
187+
min: "0"
188+
recommendedValues:
189+
- fromVersion: "0.0.0"
190+
value: "0"
191+
roles:
192+
- name: "middleManager"
193+
required: true
194+
asOfVersion: "0.0.0"
195+
comment: "TTL for host names that cannot be resolved."
196+
description: "TTL for host names that cannot be resolved."
197+
198+
- property:
199+
propertyNames:
200+
- name: "networkaddress.cache.negative.ttl"
201+
kind:
202+
type: "file"
203+
file: "security.properties"
204+
datatype:
205+
type: "integer"
206+
min: "0"
207+
recommendedValues:
208+
- fromVersion: "0.0.0"
209+
value: "0"
210+
roles:
211+
- name: "router"
212+
required: true
213+
asOfVersion: "0.0.0"
214+
comment: "TTL for host names that cannot be resolved."
215+
description: "TTL for host names that cannot be resolved."
216+
27217

28218
- property: &plaintextPort
29219
propertyNames:

0 commit comments

Comments
 (0)