admiraltyio / admiralty

A system of Kubernetes controllers that intelligently schedules workloads across clusters.
https://admiralty.io
Apache License 2.0
683 stars 86 forks source link

cannot sync podchaperon annotations to pod #105

Closed smile-luobin closed 3 years ago

smile-luobin commented 3 years ago

There is a bug that cannot sync podchaperon annotations to pod :

  1. source-cluster: proxy-scheduler create a podchaperon in target-cluster by filter-plugin;
  2. target-cluster: controller-manager sync to create a pod;
  3. source-cluster: proxy-scheduler update podchaperon annotations in target-cluster by reserve-plugin, add annotation: AnnotationKeyIsAllowed=true;
  4. target cluster: controller-manager cannot sync podchaperon annotations to pod, and will failed in prebind-plugin;