Directories ¶
Path | Synopsis |
---|---|
apis
|
|
placement/v1beta1
+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +groupName=placement.azure.com
|
+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +groupName=placement.azure.com |
v1alpha1
+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +groupName=fleet.azure.com
|
+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +groupName=fleet.azure.com |
cmd
|
|
hack
|
|
pkg
|
|
controllers/clusterresourceplacement
Package clusterresourceplacement features a controller to reconcile the clusterResourcePlacement changes.
|
Package clusterresourceplacement features a controller to reconcile the clusterResourcePlacement changes. |
controllers/clusterresourceplacementwatcher
Package clusterresourceplacementwatcher features a controller to watch the clusterResourcePlacement changes.
|
Package clusterresourceplacementwatcher features a controller to watch the clusterResourcePlacement changes. |
controllers/clustershedulingpolicysnapshot
Package clustershedulingpolicysnapshot features a controller to reconcile the clusterSchedulingPolicySnapshot object.
|
Package clustershedulingpolicysnapshot features a controller to reconcile the clusterSchedulingPolicySnapshot object. |
controllers/workgenerator
Package workgenerator features a controller to generate work objects based on resource binding objects.
|
Package workgenerator features a controller to generate work objects based on resource binding objects. |
scheduler
Package scheduler features the scheduler for Fleet workloads.
|
Package scheduler features the scheduler for Fleet workloads. |
scheduler/clustereligibilitychecker
Package clustereligibilitychecker features a utility for verifying if a member cluster is eligible for resource placement.
|
Package clustereligibilitychecker features a utility for verifying if a member cluster is eligible for resource placement. |
scheduler/framework
Package framework features the scheduler framework, which the scheduler runs to schedule a placement to most appropriate clusters.
|
Package framework features the scheduler framework, which the scheduler runs to schedule a placement to most appropriate clusters. |
scheduler/framework/parallelizer
Package parallelizer features some utilities to help run tasks in parallel.
|
Package parallelizer features some utilities to help run tasks in parallel. |
scheduler/framework/plugins/clusteraffinity
Package clusteraffinity features a scheduler plugin that enforces cluster affinity (if any) defined on a CRP.
|
Package clusteraffinity features a scheduler plugin that enforces cluster affinity (if any) defined on a CRP. |
scheduler/framework/plugins/clustereligibility
Package clustereligibility features a scheduler plugin that filters out clusters that are not eligible for resource placement.
|
Package clustereligibility features a scheduler plugin that filters out clusters that are not eligible for resource placement. |
scheduler/framework/plugins/sameplacementaffinity
Package sameplacementaffinity features a scheduler plugin that filters out any cluster that has been already scheduled/bounded to the resource placement and prefers the same cluster which has an obsolete binding.
|
Package sameplacementaffinity features a scheduler plugin that filters out any cluster that has been already scheduled/bounded to the resource placement and prefers the same cluster which has an obsolete binding. |
scheduler/framework/plugins/topologyspreadconstraints
Package topologyspreadconstraints features a scheduler plugin that enforces the topology spread constraints (if any) defined on a CRP.
|
Package topologyspreadconstraints features a scheduler plugin that enforces the topology spread constraints (if any) defined on a CRP. |
scheduler/framework/uniquename
package uniquename features some utilities that are used to generate unique names in use by the scheduler.
|
package uniquename features some utilities that are used to generate unique names in use by the scheduler. |
scheduler/queue
Package queue features a scheduling queue, which keeps track of all placements for the scheduler to schedule.
|
Package queue features a scheduling queue, which keeps track of all placements for the scheduler to schedule. |
scheduler/watchers/clusterresourceplacement
Package clusterresourceplacement features a controller that enqueues CRPs for the scheduler to process where the CRP is marked for deletion.
|
Package clusterresourceplacement features a controller that enqueues CRPs for the scheduler to process where the CRP is marked for deletion. |
scheduler/watchers/clusterschedulingpolicysnapshot
Package clusterschedulingpolicysnapshot features a controller that enqueues CRPs for the scheduler to process where there is a change in their scheduling policy snapshots.
|
Package clusterschedulingpolicysnapshot features a controller that enqueues CRPs for the scheduler to process where there is a change in their scheduling policy snapshots. |
utils/condition
Package condition provides condition related utils.
|
Package condition provides condition related utils. |
test
|
|
utils/controller
Package controller provides a fake controller for testing.
|
Package controller provides a fake controller for testing. |
utils/keycollector
Package keycollector features a utility that is used for testing scheduler-related logic.
|
Package keycollector features a utility that is used for testing scheduler-related logic. |
Click to show internal directories.
Click to hide internal directories.