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: |
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: 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: |
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: ServiceAccount | |
metadata: | |
name: a10-ingress-serviceaccount-default-ns | |
namespace: default |
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: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRole | |
metadata: | |
name: a10-ingress-clusterrole-default-ns | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- endpoints | |
- nodes |
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: Secret | |
metadata: | |
name: secret | |
type: Opaque | |
data: | |
username: <User Name> | |
password: <Password> |
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
curl 'http://104.198.109.223:9081/api/v1/config' -H 'Pragma: no- | |
cache' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: | |
en-US,en;q=0.8' -H 'Au1thorization: YWRtaW46YnFCSTBkOEY1SWV1e | |
TNEUToyMGI5YTgwOC00YTE0LTQwOGMtOGQxNi02NGI0MWVhZTliN2U=' | |
-H 'Accept: application/json, text/plain, */*' - | |
H 'Content-Type: application/json' -H 'Access-Control-Allow- | |
Origin: *' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS | |
X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) | |
Chrome/55.0.2883.95 Safari/537.36' -H 'Cache-Control: no- | |
cache' -H 'Connection: keep-alive' --data-binary |
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
curl -i -H 'Accept: application/json' -H 'Content-Type: | |
application/json' -H 'Authorization:Basic YWRtaW46YnFCS | |
TBkOEY1SWV1eTNEUTplM2Q3MWNiMC0yNmM3LTQ0ZmEtOTkwOC0xMGE2M | |
jU3ZGRkMGY=' -X GET | |
http://104.198.109.223:9081/api/v1/cluster/service?app=barista |
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: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: a10-ingress-clusterrole-binding-default-ns | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: a10-ingress-clusterrole-default-ns | |
subjects: | |
- kind: ServiceAccount |
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: ingress-resource | |
spec: | |
rules: | |
- host: app.a10demo.com | |
http: | |
paths: | |
- path: / |
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: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: thunder-ingress-controller | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: thunder-ingress-controller |
NewerOlder