You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Eirini team is planning to support Kubernetes Deployments in addition to StatefulSets for workloads. In order to do so, some assumptions about instance indexes would have to be removed from the Cloud Controller.
Context
This change would lead to relaxing our guarantees on instance indexes: instead of forming a 0..n sequence, indexes would be sparse in a quite wide range (from 1 to 60,466,177 😅 ). Instances would still be uniquely identifiable but indexes wouldn't be stable (they would change every time an instance is recreated for any reason), ordered or contiguous.
@sethboyles We would have to actually assess that the index exists instead of just checking that the index is in range, potentially storing the indexes explicitly. This is an issue we would have to solve for alphanumeric indexes too.
Issue
The Eirini team is planning to support Kubernetes
Deployment
s in addition toStatefulSet
s for workloads. In order to do so, some assumptions about instance indexes would have to be removed from the Cloud Controller.Context
This change would lead to relaxing our guarantees on instance indexes: instead of forming a
0..n
sequence, indexes would be sparse in a quite wide range (from 1 to 60,466,177 😅 ). Instances would still be uniquely identifiable but indexes wouldn't be stable (they would change every time an instance is recreated for any reason), ordered or contiguous.While investigating this, we could only find one place where this assumption is made, in
app/actions/process_terminate.rb
:For more context, see cloudfoundry/eirini-release#207.
Thanks!
/cc @cloudfoundry/eirini
The text was updated successfully, but these errors were encountered: