Skip to content

Commit 3b01983

Browse files
committed
changed metrics port
1 parent 983e9a9 commit 3b01983

22 files changed

+43
-43
lines changed

cmd/liqo-controller-manager/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func main() {
100100

101101
// Manager flags
102102
webhookPort := pflag.Uint("webhook-port", 9443, "The port the webhook server binds to")
103-
metricsAddr := pflag.String("metrics-address", ":8080", "The address the metric endpoint binds to")
103+
metricsAddr := pflag.String("metrics-address", ":8082", "The address the metric endpoint binds to")
104104
probeAddr := pflag.String("health-probe-address", ":8081", "The address the health probe endpoint binds to")
105105
leaderElection := pflag.Bool("enable-leader-election", false, "Enable leader election for controller manager")
106106

cmd/virtual-kubelet/root/flag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func InstallFlags(flags *pflag.FlagSet, o *Opts) {
7272
flags.StringVar(&o.RemoteRealLoadBalancerClassName, "remote-real-load-balancer-class-name", "",
7373
"Name of the real load balancer class to use for the actual load balancer")
7474
flags.BoolVar(&o.EnableMetrics, "metrics-enabled", false, "Enable the metrics server")
75-
flags.StringVar(&o.MetricsAddress, "metrics-address", ":8080", "The address to listen to for metrics requests")
75+
flags.StringVar(&o.MetricsAddress, "metrics-address", ":8082", "The address to listen to for metrics requests")
7676
flags.StringVar(&o.HomeAPIServerHost, "home-api-server-host", "",
7777
"Home cluster API server HOST, this parameter is optional and required only to override the default values")
7878
flags.StringVar(&o.HomeAPIServerPort, "home-api-server-port", "",

cmd/webhook/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func init() {
7575
func main() {
7676
// Manager flags
7777
webhookPort := pflag.Uint("webhook-port", 9443, "The port the webhook server binds to")
78-
metricsAddr := pflag.String("metrics-address", ":8080", "The address the metric endpoint binds to")
78+
metricsAddr := pflag.String("metrics-address", ":8082", "The address the metric endpoint binds to")
7979
probeAddr := pflag.String("health-probe-address", ":8081", "The address the health probe endpoint binds to")
8080
leaderElection := pflag.Bool("enable-leader-election", false, "Enable leader election for the webhook pod")
8181
secretName := pflag.String("secret-name", "", "The name of the secret containing the webhook certificates")

deployments/liqo/templates/liqo-controller-manager-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ spec:
164164
containerPort: 8081
165165
protocol: TCP
166166
- name: metrics
167-
containerPort: 8080
167+
containerPort: 8082
168168
protocol: TCP
169169
readinessProbe:
170170
httpGet:

deployments/liqo/templates/liqo-controller-manager-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ spec:
3636
{{- include "liqo.selectorLabels" $ctrlManagerConfig | nindent 4 }}
3737
ports:
3838
- name: metrics
39-
port: 8080
39+
port: 8082
4040
targetPort: metrics
4141
{{- end }}

deployments/liqo/templates/liqo-crd-replicator-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
resources: {{- toYaml .Values.crdReplicator.pod.resources | nindent 12 }}
5151
ports:
5252
- name: metrics
53-
containerPort: 8080
53+
containerPort: 8082
5454
protocol: TCP
5555
{{- if ((.Values.common).nodeSelector) }}
5656
nodeSelector:

deployments/liqo/templates/liqo-webhook-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
containerPort: 8081
9393
protocol: TCP
9494
- name: metrics
95-
containerPort: 8080
95+
containerPort: 8082
9696
protocol: TCP
9797
readinessProbe:
9898
httpGet:

deployments/liqo/templates/liqo-webhook-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ spec:
4242
{{- end }}
4343
ports:
4444
- name: metrics
45-
port: 8080
45+
port: 8082
4646
targetPort: metrics
4747
{{- end }}

deployments/liqo/templates/liqo-wireguard-gateway-client-template.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ spec:
5252
- --container-name=gateway
5353
- --concurrent-containers-names=wireguard,geneve
5454
{{- if .Values.metrics.enabled }}
55-
- --metrics-address=:8080
55+
- --metrics-address=:8082
5656
{{- end }}
57-
- --health-probe-bind-address=:8081
57+
- --health-probe-bind-address=:8083
5858
- --ping-enabled=true
5959
- --ping-loss-threshold={{ .Values.networking.gatewayTemplates.ping.lossThreshold }}
6060
- --ping-interval={{ .Values.networking.gatewayTemplates.ping.interval }}
@@ -68,7 +68,7 @@ spec:
6868
mountPath: /ipc
6969
{{- if .Values.metrics.enabled }}
7070
ports:
71-
- containerPort: 8080
71+
- containerPort: 8082
7272
name: gw-metrics
7373
{{- end }}
7474
env:
@@ -100,13 +100,13 @@ spec:
100100
- --endpoint-address={{"{{ index .Spec.Endpoint.Addresses 0 }}"}}
101101
- --endpoint-port={{"{{ .Spec.Endpoint.Port }}"}}
102102
{{- if .Values.metrics.enabled }}
103-
- --metrics-address=:8082
103+
- --metrics-address=:8084
104104
{{- end }}
105-
- --health-probe-bind-address=:8083
105+
- --health-probe-bind-address=:8085
106106
- --implementation={{ .Values.networking.gatewayTemplates.wireguard.implementation }}
107107
{{- if .Values.metrics.enabled }}
108108
ports:
109-
- containerPort: 8082
109+
- containerPort: 8084
110110
name: wg-metrics
111111
{{- end }}
112112
securityContext:
@@ -136,15 +136,15 @@ spec:
136136
- --container-name=geneve
137137
- --geneve-port={{ .Values.networking.genevePort }}
138138
{{- if .Values.metrics.enabled }}
139-
- --metrics-address=:8084
139+
- --metrics-address=:8086
140140
{{- end }}
141-
- --health-probe-bind-address=:8085
141+
- --health-probe-bind-address=:8087
142142
volumeMounts:
143143
- name: ipc
144144
mountPath: /ipc
145145
{{- if .Values.metrics.enabled }}
146146
ports:
147-
- containerPort: 8084
147+
- containerPort: 8086
148148
name: gv-metrics
149149
{{- end }}
150150
env:

deployments/liqo/templates/liqo-wireguard-gateway-server-template-eks.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ spec:
7979
- --container-name=gateway
8080
- --concurrent-containers-names=wireguard,geneve
8181
{{- if .Values.metrics.enabled }}
82-
- --metrics-address=:8080
82+
- --metrics-address=:8082
8383
{{- end }}
84-
- --health-probe-bind-address=:8081
84+
- --health-probe-bind-address=:8083
8585
- --ping-enabled=true
8686
- --ping-loss-threshold={{ .Values.networking.gatewayTemplates.ping.lossThreshold }}
8787
- --ping-interval={{ .Values.networking.gatewayTemplates.ping.interval }}
@@ -95,7 +95,7 @@ spec:
9595
mountPath: /ipc
9696
{{- if .Values.metrics.enabled }}
9797
ports:
98-
- containerPort: 8080
98+
- containerPort: 8082
9999
name: gw-metrics
100100
{{- end }}
101101
env:
@@ -126,13 +126,13 @@ spec:
126126
- --mtu={{"{{ .Spec.MTU }}"}}
127127
- --listen-port={{"{{ .Spec.Endpoint.Port }}"}}
128128
{{- if .Values.metrics.enabled }}
129-
- --metrics-address=:8082
129+
- --metrics-address=:8084
130130
{{- end }}
131-
- --health-probe-bind-address=:8083
131+
- --health-probe-bind-address=:8085
132132
- --implementation={{ .Values.networking.gatewayTemplates.wireguard.implementation }}
133133
{{- if .Values.metrics.enabled }}
134134
ports:
135-
- containerPort: 8082
135+
- containerPort: 8084
136136
name: wg-metrics
137137
{{- end }}
138138
securityContext:
@@ -162,15 +162,15 @@ spec:
162162
- --container-name=geneve
163163
- --geneve-port={{ .Values.networking.genevePort }}
164164
{{- if .Values.metrics.enabled }}
165-
- --metrics-address=:8084
165+
- --metrics-address=:8086
166166
{{- end }}
167-
- --health-probe-bind-address=:8085
167+
- --health-probe-bind-address=:8086
168168
volumeMounts:
169169
- name: ipc
170170
mountPath: /ipc
171171
{{- if .Values.metrics.enabled }}
172172
ports:
173-
- containerPort: 8084
173+
- containerPort: 8086
174174
name: gv-metrics
175175
{{- end }}
176176
env:

0 commit comments

Comments
 (0)