Skip to content
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

add pool allocation to statefulsets and deploymets #4

Open
SchSeba opened this issue Mar 31, 2019 · 10 comments
Open

add pool allocation to statefulsets and deploymets #4

SchSeba opened this issue Mar 31, 2019 · 10 comments

Comments

@SchSeba
Copy link
Collaborator

SchSeba commented Mar 31, 2019

add the ability to allocate and preserve mac address for statefulsets and deploymets.

add a new annotation kubemacpool/mac with a list of requested or allocated mac addresses related to the deployment or statefulset.

when scale up the deployment we are going to add more addresses into the list, and when scale down the allocated one will stay there.

the addresses will be free only after the deploymet/statefulset is removed

@phoracek
Copy link
Member

phoracek commented Apr 4, 2019

Maybe we should support it only for StatefulSet. Per Kubernetes documentation:

Like a Deployment , a StatefulSet manages Pods that are based on an identical container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity for each of their Pods. These pods are created from the same spec, but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.

@chezbut
Copy link

chezbut commented Mar 27, 2020

I generally agree this should only be supported for a statefulset, and only for replicas:1

@chezbut
Copy link

chezbut commented Mar 27, 2020

At least in the initial release.

@phoracek
Copy link
Member

Why only for replicas:1? Could you share your concerns?

@chezbut
Copy link

chezbut commented Mar 27, 2020 via email

@phoracek
Copy link
Member

I see, makes sense. Let's not work too hard for users that don't exist :) With single replica, it would be good enough.

We are currently rewording the project to be more stable and always ready to serve (since webhook downtimes are now preventing users from applying Pods and VMs).

Would you be interested in adding support for StatefulSets by any chance?

@chezbut
Copy link

chezbut commented Mar 27, 2020

unfortunately not with everything going on at the moment :(

@phoracek
Copy link
Member

No problem, stay strong! We may add it eventually ourselves, but currently we are focused on the stabilization and VM support.

qinqon added a commit that referenced this issue Apr 27, 2020
@atiwaripw
Copy link

from what I can see we still dont persist mac for pod from stateful set.
Is this still in plan..?

@phoracek
Copy link
Member

phoracek commented Nov 2, 2022

@atiwaripw at the moment we don't plan to implement it. That being said, we are open to accept contributions adding such feature to the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants