Skip to content

Commit 173c4bf

Browse files
Merge pull request k0rdent#750 from denis-ryzhkov/kof-ingress-multi-regional
KOF ingress/LB fix for multiple regional clusters
2 parents 091edd1 + 35e6071 commit 173c4bf

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎docs/admin/kof/kof-install.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ apply this example for AWS, or use it as a reference:
399399
clusterAnnotations:
400400
k0rdent.mirantis.com/kof-regional-domain: $REGIONAL_DOMAIN
401401
k0rdent.mirantis.com/kof-cert-email: $ADMIN_EMAIL
402+
k0rdent.mirantis.com/kof-ingress-nginx-values: |
403+
controller:
404+
name: $REGIONAL_CLUSTER_NAME
402405
region: $REGION
403406
controlPlaneNumber: 1
404407
controlPlane:
@@ -434,6 +437,9 @@ apply this example for AWS, or use it as a reference:
434437
clusterAnnotations:
435438
k0rdent.mirantis.com/kof-regional-domain: $REGIONAL_DOMAIN
436439
k0rdent.mirantis.com/kof-cert-email: $ADMIN_EMAIL
440+
k0rdent.mirantis.com/kof-ingress-nginx-values: |
441+
controller:
442+
name: $REGIONAL_CLUSTER_NAME
437443
subscriptionID: $AZURE_SUBSCRIPTION_ID
438444
location: $REGION
439445
controlPlaneNumber: 1
@@ -470,6 +476,9 @@ apply this example for AWS, or use it as a reference:
470476
clusterAnnotations:
471477
k0rdent.mirantis.com/kof-regional-domain: $REGIONAL_DOMAIN
472478
k0rdent.mirantis.com/kof-cert-email: $ADMIN_EMAIL
479+
k0rdent.mirantis.com/kof-ingress-nginx-values: |
480+
controller:
481+
name: $REGIONAL_CLUSTER_NAME
473482
controlPlaneNumber: 1
474483
controlPlane:
475484
flavor: $FLAVOR

‎docs/admin/kof/kof-verification.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,16 @@ and [Istio](./kof-install.md#istio), you will need to do the following:
8888
1. Get the `EXTERNAL-IP` of `ingress-nginx`:
8989
```bash
9090
KUBECONFIG=regional-kubeconfig kubectl get svc \
91-
-n kof ingress-nginx-controller
91+
-n kof ingress-nginx-$REGIONAL_CLUSTER_NAME
9292
```
9393
It should look like `REDACTED.us-east-2.elb.amazonaws.com`
9494
9595
2. Create this DNS record of type `A`, pointing to that `EXTERNAL-IP`:
9696
```bash
9797
echo vmauth.$REGIONAL_DOMAIN
9898
```
99-
Only if Grafana is [installed and enabled](kof-grafana.md), do the same for:
99+
Only if Grafana is [installed and enabled](kof-grafana.md) in the regional cluster too
100+
(not just in the management cluster), do the same for:
100101
```bash
101102
echo grafana.$REGIONAL_DOMAIN
102103
```

0 commit comments

Comments
 (0)