Skip to content

Commit

Permalink
Merge pull request #171 from openshift-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…67-to-release-4.8

[release-4.8] Bug 2053720: Avoid dynamically allocated port range for haproxy
  • Loading branch information
openshift-merge-robot committed Mar 1, 2022
2 parents 182c7a9 + 22e16d7 commit 44b9198
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/monitor/monitor.go
Expand Up @@ -53,7 +53,7 @@ func main() {
}
rootCmd.Flags().Uint16("api-port", 6443, "Port where the OpenShift API listens")
rootCmd.Flags().Uint16("lb-port", 9445, "Port where the API HAProxy LB will listen")
rootCmd.Flags().Uint16("stat-port", 50000, "Port where the HAProxy stats API will listen")
rootCmd.Flags().Uint16("stat-port", 30000, "Port where the HAProxy stats API will listen")
rootCmd.Flags().Duration("check-interval", time.Second*6, "Time between monitor checks")
rootCmd.Flags().IP("api-vip", nil, "Virtual IP Address to reach the OpenShift API")
if err := rootCmd.Execute(); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/runtimecfg/display.go
Expand Up @@ -23,7 +23,7 @@ func init() {
displayCmd.Flags().IP("dns-vip", nil, "Virtual IP Address to reach an OpenShift node resolving DNS server")
displayCmd.Flags().Uint16("api-port", 6443, "Port where the OpenShift API listens at")
displayCmd.Flags().Uint16("lb-port", 9445, "Port where the API HAProxy LB will listen at")
displayCmd.Flags().Uint16("stat-port", 50000, "Port where the HAProxy stats API will listen at")
displayCmd.Flags().Uint16("stat-port", 30000, "Port where the HAProxy stats API will listen at")
displayCmd.Flags().StringP("resolvconf-path", "r", "/etc/resolv.conf", "Optional path to a resolv.conf file to use to get upstream DNS servers")
rootCmd.AddCommand(displayCmd)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/runtimecfg/render.go
Expand Up @@ -28,7 +28,7 @@ func init() {
renderCmd.Flags().IP("dns-vip", nil, "Virtual IP Address to reach an OpenShift node resolving DNS server")
renderCmd.Flags().Uint16("api-port", 6443, "Port where the OpenShift API listens at")
renderCmd.Flags().Uint16("lb-port", 9445, "Port where the API HAProxy LB will listen at")
renderCmd.Flags().Uint16("stat-port", 50000, "Port where the HAProxy stats API will listen at")
renderCmd.Flags().Uint16("stat-port", 30000, "Port where the HAProxy stats API will listen at")
renderCmd.Flags().StringP("resolvconf-path", "r", "/etc/resolv.conf", "Optional path to a resolv.conf file to use to get upstream DNS servers")
rootCmd.AddCommand(renderCmd)
}
Expand Down

0 comments on commit 44b9198

Please sign in to comment.