Open EricGao888 opened 1 year ago
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
#troubleshooting
Already WIP.
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
Search before asking
Description
Fabric8 Kubernetes Java Client Informer API
for better stability and less pressure on K8S api server.k8s top
to query related metrics, however, DS uses heartbeat to transmit some server runtime data besides metrics. Maybe a better way to transmit heartbeat is to put heartbeat data into pod environment variables / files. Alternatively, we could create aconfigmap
for each master / worker to maintain the heartbeat data.metadata.annotations
of a resource and the one which does this successfully will be the leader to perform failover operations. - Follow-up: In fabric k8s java client, there have been implemented leader election apis using resource lock (lease, configmap, etc.). Therefore, we do not need to care too much about the details on the implementation of this distributed lock. We would make it configurable and users could choose betweenlease
andconfigmap
for resource lock.Design
Security
Kubernetes RBAC
for security purpose. Users could control permissions on workers' access toKubernetes
APIs.Use case
Already described above.
Related issues
None
Are you willing to submit a PR?
Code of Conduct