Skip to content

Commit 7ad8096

Browse files
committed
Merge pull request GoogleCloudPlatform#1 from evandbrown/master
Reduce port names to match 15char API max
2 parents 674ecba + 4aa60e2 commit 7ad8096

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

kubernetes-config/locust-master-controller.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ spec:
4242
key: TARGET_HOST
4343
value: http://workload-simulation-webapp.appspot.com
4444
ports:
45-
- name: locust-master-web
45+
- name: loc-master-web
4646
containerPort: 8089
4747
protocol: TCP
48-
- name: locust-master-port-1
48+
- name: loc-master-p1
4949
containerPort: 5557
5050
protocol: TCP
51-
- name: locust-master-port-2
51+
- name: loc-master-p2
5252
containerPort: 5558
5353
protocol: TCP

kubernetes-config/locust-master-service.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ metadata:
2323
spec:
2424
ports:
2525
- port: 8089
26-
targetPort: locust-master-web
26+
targetPort: loc-master-web
2727
protocol: TCP
28-
name: locust-master-web
28+
name: loc-master-web
2929
- port: 5557
30-
targetPort: locust-master-port-1
30+
targetPort: loc-master-p1
3131
protocol: TCP
32-
name: locust-master-port-1
32+
name: loc-master-p1
3333
- port: 5558
34-
targetPort: locust-master-port-2
34+
targetPort: loc-master-p2
3535
protocol: TCP
36-
name: locust-master-port-2
36+
name: loc-master-p2
3737
selector:
3838
name: locust
3939
role: master

0 commit comments

Comments
 (0)