Created
February 25, 2021 20:02
-
-
Save davidmontoyago/6fe0e652e6f8696736f27516dc2f736f to your computer and use it in GitHub Desktop.
This file contains 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: | |
name: vault-active | |
namespace: vault | |
labels: | |
app: vault | |
component: server | |
spec: | |
ports: | |
- name: https | |
port: 8200 | |
targetPort: 8200 | |
- name: https-internal | |
port: 8201 | |
targetPort: 8201 | |
publishNotReadyAddresses: false | |
selector: | |
app: vault | |
component: server | |
# vault-active is one of the dynamic labels managed by vault’s “Kubernetes service registration” | |
vault-active: "true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment