Created
February 20, 2023 13:40
-
-
Save fvoges/781c941ef0f9a30ae8d21a065da1ed0d to your computer and use it in GitHub Desktop.
AWS EKS Load Balancer for Vault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| annotations: | |
| service.beta.kubernetes.io/aws-load-balancer-type: external | |
| service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip | |
| service.beta.kubernetes.io/aws-load-balancer-scheme: internal | |
| labels: | |
| app.kubernetes.io/instance: vault | |
| app.kubernetes.io/name: vault | |
| name: vault-internal-exposed | |
| namespace: default | |
| spec: | |
| ports: | |
| - name: https | |
| port: 8200 | |
| protocol: TCP | |
| targetPort: 8200 | |
| - name: https-internal | |
| port: 8201 | |
| protocol: TCP | |
| targetPort: 8201 | |
| selector: | |
| app.kubernetes.io/instance: vault | |
| app.kubernetes.io/name: vault | |
| component: server | |
| vault-active: "true" | |
| type: LoadBalancer | |
| loadBalancerSourceRanges: | |
| - "10.10.40.0/22" | |
| - "10.10.80.0/22" | |
| - "10.10.100.0/22" | |
| - "0.0.0.0/0" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment