Sfoglia il codice sorgente

ssh-bastion: create TCP-based NLB

Vadim Rutkovsky 6 anni fa
parent
commit
30abe9f959
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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: