Skip to content

Instantly share code, notes, and snippets.

@c-success
Created January 9, 2020 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c-success/86c6486ef9d3a012fd2a007a4a7c19eb to your computer and use it in GitHub Desktop.
Save c-success/86c6486ef9d3a012fd2a007a4a7c19eb to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: hc-ingress-http
annotations:
kubernetes.io/ingress.class: "ladc"
ladc.a10networks.com/hc-ladc-cluster: "<ladc_cluster_name>"
ladc.a10networks.com/listen-ports: "80|false|false|false"
ladc.a10networks.com/service-secure-redirect: "true|https://test.greatco.org$request_uri"
spec:
tls:
- hosts:
- <application_endpoint_name>
secretName: <name_of_sslsecret>
rules:
- host: <application_endpoint_name>
http:
paths:
- path: /
backend:
serviceName: <service_name> eg. nginx1-hs
servicePort: <application_service_port> 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment