-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revise default config #2444
base: main
Are you sure you want to change the base?
Revise default config #2444
Conversation
f96418b
to
d317cf9
Compare
d317cf9
to
78f35e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice changes
preferredDuringSchedulingIgnoredDuringExecution: | ||
- podAffinityTerm: | ||
topologyKey: topology.kubernetes.io/zone | ||
weight: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come these have preferred while the rest is strict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, is there a reason why we don't set the default opensearch setup with only master nodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, is there a reason why we don't set the default opensearch setup with only master nodes?
I thought of that and asked around a bit, and I think the main issue would be that there's no known migration path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come these have preferred while the rest is strict?
I don't know, but it should be aligned. Do you think we should have preferred or strict everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The easy migration path is to inform and preserve the config for existing environments.
So merge and lift any of the config that has changed to the override config.
I think we want to prefer a strict one, else we might get strange scenarios where we have a skew. Because this will mostly impact during the creation of new ones, as afterwards the PVCs will control which zone they land on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidumea do you intend to write a migration snippet to preserve the opensearch setup if one already uses dedicated nodes?
Which would be to yq_dig
and then yq_add
the results for those options into the override config before init runs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I added something for that 6302a38
22caec7
to
857a423
Compare
857a423
to
14caf37
Compare
Warning
This is a public repository, ensure not to disclose:
What kind of PR is this?
Required: Mark one of the following that is applicable:
Optional: Mark one or more of the following that are applicable:
Important
Breaking changes should be marked
kind/admin-change
orkind/dev-change
depending on typeCritical security fixes should be marked with
kind/security
Release notes
Default Opensearch setup has been changed. Opensearch is now configured to use 3 master nodes, 0 data nodes and 0 client nodes by default. There's no easy migration path for the new configuration, if the old default Opensearch setup is used it should be added to the override config.
Proxy protocol is now enabled by default in ingress-nginx when using ElastX as infrastructure provider.
Fluentd audit is now enabled by default.
Log retention is now 30 days by default.
Platform Administrator notice
Default Opensearch setup has been changed. Opensearch is now configured to use 3 master nodes, 0 data nodes and 0 client nodes by default. There's no easy migration path for the new configuration, if the old default Opensearch setup is used it should be added to the override config.
Proxy protocol is now enabled by default in ingress-nginx when using ElastX as infrastructure provider.
Fluentd audit is now enabled by default.
What does this PR do / why do we need this PR?
Changed some default configuration
Information to reviewers
Checklist