Skip to content

Instantly share code, notes, and snippets.

@vincent-pli
Created December 22, 2020 02:08
Show Gist options
  • Save vincent-pli/4e9a5933a9882a20303971b38ab48c43 to your computer and use it in GitHub Desktop.
Save vincent-pli/4e9a5933a9882a20303971b38ab48c43 to your computer and use it in GitHub Desktop.
evicted policy between Kubeedge, openyurt and redhat edge
For Openyurt, they:
1. disable original nodelifecycleController(kube-controller-manager) by delete the secret.
2. Keep a copy of nodelifecycleController in Openyurt and modify the evicted policy by add:
https://github.com/alibaba/openyurt/blob/b6b02d77eb1f94964f1b700cf45b538ff0c16302/pkg/controller/nodelifecycle/node_lifecycle_controller.go#L1493
So the pod on edge node which mark as autonomy will never be evicted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment