Make masters schedulable
@@ -48,6 +48,16 @@ type SchedulerSpec struct {
// would not be applied.
// +optional
DefaultNodeSelector string `json:"defaultNodeSelector,omitempty"`
+ // MastersSchedulable allows masters nodes to be schedulable. When this flag is
+ // turned on, all the master nodes in the cluster will be made schedulable,
+ // so that workload pods can run on them. The default value for this field is false,
+ // meaning none of the master nodes are schedulable.
+ // Important Note: Once the workload pods start running on the master nodes,
+ // extreme care must be taken to ensure that cluster-critical control plane components
+ // are not impacted.
+ // Please turn on this field after doing due diligence.
+ // +optional
+ MastersSchedulable bool `json:"mastersSchedulable"`
}
type SchedulerStatus struct {
