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: cmd/agent/app/options/options.go
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,6 @@ type GrpcProxyAgentOptions struct {
85
85
// Providing a label selector enables updating the server count by counting the
86
86
// number of valid leases matching the selector.
87
87
ServerLeaseSelectorstring
88
-
// Initial fallback server count to use if proxy server lease listing fails.
89
-
ServerCountuint
90
88
// Lease informer resync period.
91
89
InformerResync time.Duration
92
90
// Path to kubeconfig (used by kubernetes client for lease listing)
@@ -133,7 +131,6 @@ func (o *GrpcProxyAgentOptions) Flags() *pflag.FlagSet {
133
131
flags.BoolVar(&o.WarnOnChannelLimit, "warn-on-channel-limit", o.WarnOnChannelLimit, "Turns on a warning if the system is going to push to a full channel. The check involves an unsafe read.")
134
132
flags.BoolVar(&o.SyncForever, "sync-forever", o.SyncForever, "If true, the agent continues syncing, in order to support server count changes.")
135
133
flags.IntVar(&o.XfrChannelSize, "xfr-channel-size", 150, "Set the size of the channel for transferring data between the agent and the proxy server.")
136
-
flags.UintVar(&o.ServerCount, "server-count", o.ServerCount, "Static server count, also used as fallback server count if proxy server lease listing fails.")
137
134
flags.StringVar(&o.ServerLeaseSelector, "server-lease-selector", o.ServerLeaseSelector, "Providing a label selector enables updating the server count by counting the number of valid leases matching the selector.")
flags.StringVar(&o.KubeconfigPath, "kubeconfig", o.KubeconfigPath, "absolute path to the kubeconfig file (used with agent-namespace, agent-service-account, authentication-audience).")
0 commit comments