-
Notifications
You must be signed in to change notification settings - Fork 224
Another service could win race for dns service IP allocation #136
Comments
@aaronlevy Besides prioritizing asset creation order we could prefix asset file names (1-yz.yaml, 2-xyz.yaml etc...) which IMHO is not a good approach. Anyways I made a pq using the former approach. Let me know what you think. |
I'm not sure that we need to solve this right away (or potentially in bootkube at all). It is an edge case at the moment, and won't affect bootkube itself right now because kube-dns is the only service we create. However, a bootkube user was populating the The asset naming scheme is not a bad idea either - this is a systemd convention for managing drop-in units (e.g. 01-foo.conf, 02-foo.conf). I think it might be an option to solve this upstream as well where maybe we inform the controller-manager of a range which will be statically assigned. For example:
I'll open an upstream issue to discuss the above option. |
We have another way to add our addons so this probably isn't pressing for us in particular. A simpler solution might be for bootkube to used reserved |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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/test-infra repository. |
We need a pre-assigned service IP for the kubernetes dns service - but it's possible when creating all assets (equivalent of
kubectl create -f cluster/manifests
) that another service is randomly assigned this ip (defaults to 10.3.0.10).One option would just to force the kube-dns service to be created first - but this seems less than ideal.
The text was updated successfully, but these errors were encountered: