You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ Read the [documentation](https://lws.sigs.k8s.io/docs/) or watch the LWS-related
22
22
-**Group of Pods as a unit:** Supports a tightly managed group of pods that represent a “super pod”
23
23
-**Unique pod identity:** Each pod in the group has a unique index from 0 to n-1.
24
24
-**Parallel creation:** Pods in the group will have the same lifecycle and be created in parallel.
25
+
-**Gang Scheduling:** The group of pods can be scheduled in an all-or-nothing manner.
25
26
-**Dual-template, one for leader and one for the workers:** A replica is a group of a single leader and a set of workers, and allow to specify a template for the workers and optionally use a second one for the leader pod.
26
27
-**Multiple groups with identical specifications:** Supports creating multiple “replicas” of the above mentioned group. Each group is a single unit for rolling update, scaling, and maps to a single exclusive topology for placement.
27
28
-**A scale subresource:** A scale endpoint is exposed for HPA to dynamically scale the number replicas (aka number of groups)
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8443", "DEPRECATED(please pass configuration file via --config flag): The address the metric endpoint binds to.")
@@ -103,6 +110,8 @@ func main() {
103
110
"The controller will load its initial configuration from this file. "+
104
111
"Command-line flags will override any configurations set in this file. "+
105
112
"Omit this flag to use the default configuration values.")
113
+
flag.BoolVar(&enableGangScheduling, "enable-gang-scheduling", false, "Enable gang-scheduling for a group of lws pods [ 1 leader pod + (size-1) worker pods].")
114
+
flag.StringVar(&schedulerProvider, "scheduler-provider", "", "The name of the scheduler that provides gang-scheduling capabilities.")
0 commit comments