Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: ingressClass * add link to proposal
- Loading branch information
1 parent
029e76f
commit 4b836fb
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Custom Ingress Class | ||
> **Minimum version:** 1.3.0 | ||
Custom ingress class allows you to customize the ingress class selector that AGIC will use when filtering the ingress manifests. AGIC uses `azure/application-gateway` as default ingress class. This will allow you to target multiple AGICs on a single namespace as each AGIC can now use it's own ingress class. | ||
|
||
For instance, AGIC with ingress class `agic-public` can serves public traffic, and AGIC wit `agic-private` can serve "internal" traffic. | ||
|
||
To use a custom ingress class, | ||
|
||
1. Install AGIC by providing a value for `kubernetes.ingressClass` in helm config. | ||
```bash | ||
helm install ./helm/ingress-azure \ | ||
--name ingress-azure \ | ||
-f helm-config.yaml | ||
--set kubernetes.ingressClass arbitrary-class | ||
``` | ||
|
||
2. Then, change your ingress manifest's `kubernetes.io/ingress.class` annotation to match the value provided to AGIC. | ||
```yaml | ||
kind: Ingress | ||
metadata: | ||
name: go-server-ingress-affinity | ||
namespace: test-ag | ||
annotations: | ||
kubernetes.io/ingress.class: arbitrary-class | ||
spec: | ||
rules: | ||
- http: | ||
paths: | ||
- path: /hello/ | ||
backend: | ||
serviceName: go-server-service | ||
servicePort: 80 | ||
``` | ||
|
||
## Reference | ||
* [Proposal Document](../../proposals\multiple-gateways-single-cluster.md) |
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