origin icon indicating copy to clipboard operation
origin copied to clipboard

Should ipfailover be provided (optionally) as a daemonset?

Open davidaah opened this issue 8 years ago • 15 comments

We have specific nodes that we would like to dedicate for failover. Today's strategy for creating an ipfailover is via a deploymentconfig which does not guarantee we will get an even distribution of pods across these nodes. I was wondering if making ipfailover feature available as a daemonset had been considered or if it was previously ruled out (couldn't find any existing "issues" specifically related) for some other reason

Version

3.7.0

Steps To Reproduce

oc adm ipfailover ... --create

Current Result

deploymentconfig with num replicas and nodeselector

Expected Result

optional daemonset with nodeselector

Additional Information

/kind question /kind feature

davidaah avatar Jan 24 '18 05:01 davidaah

hi @knobunc just wanted to follow up to see if you had any initial thoughts here?

davidaah avatar Mar 07 '18 01:03 davidaah

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jun 05 '18 06:06 openshift-bot

i think this feature ask is still relevant even in 3.9

/remove-lifecycle stale

davidaah avatar Jun 19 '18 21:06 davidaah

@pweil- @knobunc -- just wanted to follow up on this. is it possible to take a look at this or let me know if it should be reassigned?

davidaah avatar Jun 19 '18 22:06 davidaah

@ironcladlou WDYT?

pweil- avatar Jun 20 '18 13:06 pweil-

On the surface DaemonSet seems more appropriate to me, with a rolling update strategy; that said, I also wonder about any prior discussion and will reach out to the team.

ironcladlou avatar Jun 20 '18 14:06 ironcladlou

https://trello.com/c/gnujjOX5

ironcladlou avatar Jun 20 '18 14:06 ironcladlou

thanks @ironcladlou (and @pweil- ) ! completely agree with the description in the linked card. operationally we've found the current model to be somewhat challenging, especially in scenarios where we consider re-allocating nodes or cluster expansion. Today, that requires a lot of careful/manual modifications to redistribute these pods. a daemonset w/ rollingUpdates should enable us to much more effectively manage the use of ipfailover for HA ingress

davidaah avatar Jun 21 '18 02:06 davidaah

@davidaah I don't know if you're already aware of it, but this issue led me to the upstream keepalived-vip project which implements keepalived with a DaemonSet in a more Kube-native fashion. Going to be taking a closer look at it in the very near future.

ironcladlou avatar Jun 21 '18 20:06 ironcladlou

i wasn't previously aware of it, seems to be promising... looks like it supports some sort of discovery based on kubernetes service which would be good for fronting the openshift router. thoughts on how this would apply to support an HA floating pool of IngressIPs where you may need to provision/configure this on a set of nodes before there are Kubernetes services which get ingressIPs allocated

davidaah avatar Jun 28 '18 14:06 davidaah

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Sep 26 '18 15:09 openshift-bot

@ironcladlou should i close this issue out? since there is a corresponding internal request for this

Also it looks like these are now tracking in Jira (seemingly closed) instead of Trello (open) ; is there a plan to have a readonly view in to this?

davidaah avatar Oct 02 '18 00:10 davidaah

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-merge-robot avatar Nov 01 '18 04:11 openshift-merge-robot

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

openshift-bot avatar Dec 01 '18 06:12 openshift-bot

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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.

openshift-ci-robot avatar Dec 01 '18 06:12 openshift-ci-robot