-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs to use a referenced instead of an embeddd ingress (#1699)
Signed-off-by: Andre Baptista Aguas <[email protected]>
- Loading branch information
Showing
7 changed files
with
136 additions
and
116 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
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
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
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
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 |
---|---|---|
@@ -1,22 +1,34 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: test-gslb-failover | ||
namespace: test-gslb | ||
labels: | ||
app: failover | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: failover.test.k8gb.io # Desired GSLB enabled FQDN | ||
http: | ||
paths: | ||
- path: / | ||
backend: | ||
service: | ||
name: frontend-podinfo # Service name to enable GSLB for | ||
port: | ||
name: http | ||
--- | ||
apiVersion: k8gb.absa.oss/v1beta1 | ||
kind: Gslb | ||
metadata: | ||
name: test-gslb-failover | ||
namespace: test-gslb | ||
spec: | ||
ingress: | ||
ingressClassName: nginx | ||
rules: | ||
- host: failover.test.k8gb.io # Desired GSLB enabled FQDN | ||
http: | ||
paths: | ||
- path: / | ||
backend: | ||
service: | ||
name: frontend-podinfo # Service name to enable GSLB for | ||
port: | ||
name: http | ||
|
||
resourceRef: | ||
ingress: | ||
matchLabels: | ||
app: failover | ||
strategy: | ||
type: failover # Global load balancing strategy | ||
primaryGeoTag: eu-west-1 # Primary cluster geo tag |
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
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