Skip to content

Commit c9c7fae

Browse files
committed
changed metrics port
1 parent 983e9a9 commit c9c7fae

22 files changed

+25
-25
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ 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 }}
5757
- --health-probe-bind-address=:8081
5858
- --ping-enabled=true
@@ -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:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ 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 }}
8484
- --health-probe-bind-address=:8081
8585
- --ping-enabled=true
@@ -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:

0 commit comments

Comments
 (0)