File tree Expand file tree Collapse file tree 6 files changed +48
-6
lines changed
Expand file tree Collapse file tree 6 files changed +48
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ kind: Service
33metadata :
44 name : tb-edge-loadbalancer
55 namespace : thingsboard
6+ annotations :
7+ service.beta.kubernetes.io/aws-load-balancer-type : " nlb"
8+ service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled : " true"
9+ service.beta.kubernetes.io/aws-load-balancer-target-group-attributes : " stickiness.enabled=true,stickiness.type=source_ip"
10+ service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags : ThingsBoardClusterELB=ThingsBoardGrpc
11+ # Don't forget to replace YOUR_GRPC_CERTIFICATE_ARN with the correct value.
12+ # OR comment/remove the following lines to disable TLS.
13+ service.beta.kubernetes.io/aws-load-balancer-ssl-cert : YOUR_GRPC_CERTIFICATE_ARN
14+ service.beta.kubernetes.io/aws-load-balancer-ssl-ports : " 7070"
615spec :
716 type : LoadBalancer
817 externalTrafficPolicy : Local
1120 ports :
1221 - port : 7070
1322 targetPort : 7070
14- name : edge
23+ name : edge
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Service
33metadata :
4- name : tb-grpc -loadbalancer-external
4+ name : tb-edge -loadbalancer
55 namespace : thingsboard
66 annotations :
77 service.beta.kubernetes.io/aws-load-balancer-type : " nlb"
88 service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled : " true"
99 service.beta.kubernetes.io/aws-load-balancer-target-group-attributes : " stickiness.enabled=true,stickiness.type=source_ip"
1010 service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags : ThingsBoardClusterELB=ThingsBoardGrpc
11- # Don't forget to replace YOUR_GRPC_CERTIFICATE_ARN with the correct value. Comment the following lines to disable TLS.
11+ # Don't forget to replace YOUR_GRPC_CERTIFICATE_ARN with the correct value.
12+ # OR comment/remove the following lines to disable TLS.
1213 service.beta.kubernetes.io/aws-load-balancer-ssl-cert : YOUR_GRPC_CERTIFICATE_ARN
1314 service.beta.kubernetes.io/aws-load-balancer-ssl-ports : " 7070"
1415spec :
1920 ports :
2021 - port : 7070
2122 targetPort : 7070
22- name : edge
23+ name : edge
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ kind: Service
33metadata :
44 name : tb-edge-loadbalancer
55 namespace : thingsboard
6+ annotations :
7+ service.beta.kubernetes.io/azure-load-balancer-internal : " false"
68spec :
79 type : LoadBalancer
810 externalTrafficPolicy : Local
1113 ports :
1214 - port : 7070
1315 targetPort : 7070
14- name : edge
16+ name : edge
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : tb-edge-loadbalancer
5+ namespace : thingsboard
6+ annotations :
7+ service.beta.kubernetes.io/azure-load-balancer-internal : " false"
8+ spec :
9+ type : LoadBalancer
10+ externalTrafficPolicy : Local
11+ selector :
12+ app : tb-node
13+ ports :
14+ - port : 7070
15+ targetPort : 7070
16+ name : edge
Original file line number Diff line number Diff line change 1111 ports :
1212 - port : 7070
1313 targetPort : 7070
14- name : edge
14+ name : edge
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : tb-edge-loadbalancer
5+ namespace : thingsboard
6+ spec :
7+ type : LoadBalancer
8+ externalTrafficPolicy : Local
9+ selector :
10+ app : tb-node
11+ ports :
12+ - port : 7070
13+ targetPort : 7070
14+ name : edge
You can’t perform that action at this time.
0 commit comments