Skip to content

Commit 5f9c4ca

Browse files
Change orchestratord webhook port to 10250, to work around GKE limitations
1 parent 94e8b96 commit 5f9c4ca

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

misc/helm-charts/operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ spec:
247247
ports:
248248
- containerPort: 3100
249249
name: metrics
250-
- containerPort: 8001
250+
- containerPort: 10250
251251
name: webhook
252252
resources:
253253
{{- toYaml .Values.operator.resources | nindent 10 }}

misc/helm-charts/operator/templates/service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ spec:
2121
ports:
2222
- name: webhook
2323
protocol: TCP
24-
port: 8001
25-
targetPort: 8001
24+
port: 10250
25+
targetPort: 10250

src/orchestratord/src/bin/orchestratord.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ pub struct Args {
6161
profiling_listen_address: SocketAddr,
6262
#[clap(long, default_value = "[::]:3100")]
6363
metrics_listen_address: SocketAddr,
64-
#[clap(long, default_value = "[::]:8001")]
64+
#[clap(long, default_value = "[::]:10250")]
6565
webhook_listen_address: SocketAddr,
6666

6767
#[clap(long)]
6868
webhook_service_name: String,
6969
#[clap(long)]
7070
webhook_service_namespace: String,
71-
#[clap(long, default_value = "8001")]
71+
#[clap(long, default_value = "10250")]
7272
webhook_service_port: u16,
7373
#[clap(long, default_value = "/etc/tls/ca.crt")]
7474
tls_ca: String,

0 commit comments

Comments
 (0)