Providing Events/Callbacks from Replication Controllers #4711
Labels
kind/support
Categorizes issue or PR as a support question.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
IMO it would be better to introduce a set of events or callbacks from Replication Controllers to notify Pod re-creation process to Kubernetes clients. Currently AFAIK when a Replication Controller recovers an inactive Pod the Pod ID changes. As a result the clients would not be able to manage those Pods afterwards. In addition when new Pods are created to match the number of replicas, it is not possible for a client to know the new Pod IDs unless it polls the Pod API method.
Apache Stratos is a Platform as a Service (PaaS) solution that uses Kubernetes to manage Docker containers in a clustered environment. Stratos has its own Autoscaling component. If it is possible for Kubernetes to introduce a set of events/callbacks from Replication Controllers, Stratos would be able to integrate with Kubernetes much more efficiently. Currently Stratos does not use Replication Controllers due to this problem. Appreciate your thoughts on this.
Thanks
Apache Stratos Team
The text was updated successfully, but these errors were encountered: