[OKD4] [UPI vSphere / bare-metal] How to change in CoreOS the static network configuration's nameserver in a running cluster AFTER installation? #900
Unanswered
devzeronull
asked this question in
Q&A
Replies: 2 comments
-
If using vSphere UPI, you are supposed to be using the AfterBurn spec for static IP configuration, anyway. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you seen the nmstate operator? We use it for exactly the use case you describe: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
could anybody please tell me what the "desired" way is to change the CoreOS Node's DNS server in a running cluster or alter the static network configuration in general?
Referring to openshift/os#400 which points to https://github.com/openshift/os/blob/master/docs/faq.md#q-how-do-i-provide-static-ip-addresses - overwriting "/etc/resolv.conf" through machineconfigs doesn't seem to be convenient, or?
If I understand https://github.com/openshift/os/blob/master/docs/faq.md#q-how-does-networking-differ-between-fedora-coreos-and-rhcos correctly, CoreOS doesn't make use of ifcfg NetworkManager scripts.
Looking into the FS on CoreOS it seems that configuration is made in scripts for the corresponding interfaces in:
As suggested from the FAQ, would it also be okay to alter those scripts with a MC instead of writing to /etc/sysconfig/network-scripts?
We currently provide static network configuration through Boot Args on node provisioning which, if it would be the only way, would imply a cluster reinstallation since it is not possible to exchange master nodes...
Any hints or opinions would be highly appreciated!
Best regards
dzn
Beta Was this translation helpful? Give feedback.
All reactions