浏览代码

ssh-bastion: create TCP-based NLB

Vadim Rutkovsky 6 年之前
父节点
当前提交
30abe9f959
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      test/aws/files/01_service.yml

+ 3 - 0
test/aws/files/01_service.yml

@@ -5,6 +5,9 @@ metadata:
     run: ssh-bastion
   name: ssh-bastion
   namespace: openshift-ssh-bastion
+  annotations:
+    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "tcp"
+    service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
 spec:
   externalTrafficPolicy: Local
   ports: