You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to add options to /etc/resolv.conf on worker nodes (#342)
* add systemd service to update resolv.conf according to resolvConfOptions field
* added unit tests for EnsureAdditionalUnits and EnsureAdditionalFiles; minor refactoring
* use []string for option list, fix newline for flatcar
Copy file name to clipboardExpand all lines: docs/usage-as-operator.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,9 @@ machineImages:
65
65
# serverGroupPolicies:
66
66
# - soft-anti-affinity
67
67
# - anti-affinity
68
+
# resolvConfOptions:
69
+
# - rotate
70
+
# - timeout:1
68
71
constraints:
69
72
floatingPools:
70
73
- name: fp-pool-1
@@ -121,6 +124,10 @@ omit `keystoneURL` and always specify `region`.
121
124
122
125
If Gardener creates and manages the router of a shoot cluster, it is additionally possible to specify that the [enable_snat](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_router_v2#enable_snat) field is set to `true` via `useSNAT: true` in the `CloudProfileConfig`.
123
126
127
+
On some OpenStack enviroments, there may be the need to set options in the file `/etc/resolv.conf` on worker nodes.
128
+
If the field `resolvConfOptions` is set, a systemd service will be installed which copies `/run/systemd/resolve/resolv.conf`
129
+
on every change to `/etc/resolv.conf` and appends the given options.
130
+
124
131
## Example `CloudProfile` manifest
125
132
126
133
Please find below an example `CloudProfile` manifest:
0 commit comments