Created
January 9, 2020 09:22
-
-
Save c-success/14a4ba7e3349fac00e9724855d366d11 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: <name of ew-service> | |
annotations: | |
kubernetes.io/ingress.ewservices: <name of the NS-Service> | |
ladc.a10networks.com/hc-ladc-cluster: <name of the LADC cluster> | |
ladc.a10networks.com/header-rewrites: true|reqHdrDel|Accept-Encoding|,true|resHdrAdd|X-Proxied-By|LADC,true|resHdrAdd|X-Client-Label|$client_label | |
kubernetes.io/ingress.ewservices: "<name of ew-service>" | |
labels: | |
app: <name of ew-service> | |
ladc-inspection: enabled | |
spec: | |
clusterIP: None | |
ports: | |
- name: http | |
port: 80 | |
targetPort: <application container pod port no> eg 8080 | |
selector: | |
app: <name of ew-service> | |
type: ClusterIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment