-
Notifications
You must be signed in to change notification settings - Fork 296
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
Ignition does not set the vm ip address #2684
Comments
Could you please provide details about the yaml's you are using? How are you setting the ip address (using an IPAM provider?)? |
First idea: ignition may not support the format for static IP's we use when providing the |
Would be awesome to see the relevant logs for ignition. |
Note: flatcar does not seem to support the guestinfo.metadata format in the flatcar version you are referencing above. It may be worth to try the latest verison of flatcar (https://www.flatcar.org/releases#release-3760.2.0) which includes |
We also ran into this issue and as a workaround had to use a crude shell script which parses netplan yaml into a systemd network unit:
Yeah. It is ugly. Update: as for |
Thanks a lot. It worked. I ended up using only this, as it looks a little better:
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/kind bug
What steps did you take and what happened:
Deploying flatcar vm and configuring via ignition does not set the ip address as passed through the guestinfo.metadata.
Image used: flatcar-stable-3510.2.4-kube-v1.27.3
What did you expect to happen:
Set the ip as defined in guestinfo.metadata > network.
Anything else you would like to add:
This works if using ubuntu with cloud-init.
Image used: ubuntu-1804-kube-v1.17.3
Environment:
kubectl version
): v1.27.3/etc/os-release
): flatcar/coreos 3510.2.4The text was updated successfully, but these errors were encountered: