diff --git a/docs/deploy_ns1.md b/docs/deploy_ns1.md index 3cf19f8f9e..f6b0ce70c3 100644 --- a/docs/deploy_ns1.md +++ b/docs/deploy_ns1.md @@ -6,28 +6,29 @@ Here we provide an example of k8gb deployment in AWS context with NS1 as edgeDNS Two EKS clusters in `eu-west-1` and `us-east-1`. -Terraform code for cluster reference setup can be found [here](https://github.com/AbsaOSS/k8gb/tree/master/docs/examples/route53) - The EKS setup is identical to [Route53 tutorial](../docs/deploy_route53.md) -## Deploy k8gb +Terraform code for cluster reference setup can be found [here](../docs/examples/route53) -Example `values.yaml` override configs can be found [here](https://github.com/AbsaOSS/k8gb/tree/master/docs/examples/ns1/) -You can use `helm` to deploy stable release from Helm repo +## Deploy k8gb + +Use `helm` to deploy stable release from Helm repo ```sh helm repo add k8gb https://www.k8gb.io ``` -Alternatively, use make target to deploy right from the git repository +Example `values.yaml` configuration files can be found [here](../docs/examples/ns1/) +In `eu-west-1` cluster execute ```sh -make deploy-gslb-operator VALUES_YAML=./docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml - -#switch kubectl context to us-east-1 +helm -n k8gb upgrade -i k8gb k8gb/k8gb --create-namespace -f ./docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml +``` -make deploy-gslb-operator VALUES_YAML=./docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml +In `us-east-1` cluster execute +```sh +helm -n k8gb upgrade -i k8gb k8gb/k8gb --create-namespace -f ./docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml ``` Create NS1 secret in each cluster diff --git a/docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml b/docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml index 87ef61fcf6..51e5a334b4 100644 --- a/docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml +++ b/docs/examples/ns1/k8gb-cluster-ns1-eu-west-1.yaml @@ -1,11 +1,10 @@ k8gb: dnsZone: "test.k8gb.io" # dnsZone controlled by gslb edgeDNSZone: "k8gb.io" # main zone which would contain gslb zone to delegate - edgeDNSServer: "169.254.169.253" # to handle splitbrain situation with TXT timestamp + edgeDNSServer: "169.254.169.253" # external DNS server to be used for resolution clusterGeoTag: "eu-west-1" # used for places where we need to distinguish between differnet Gslb instances extGslbClustersGeoTags: "us-east-1" # comma-separated list of external gslb geo tags to pair with exposeCoreDNS: true # Create Service type LoadBalancer to expose CoreDNS ns1: enabled: true - ignoreSSL: false diff --git a/docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml b/docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml index 34878c4a19..83130fe906 100644 --- a/docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml +++ b/docs/examples/ns1/k8gb-cluster-ns1-us-east-1.yaml @@ -1,7 +1,7 @@ k8gb: dnsZone: "test.k8gb.io" # dnsZone controlled by gslb edgeDNSZone: "k8gb.io" # main zone which would contain gslb zone to delegate - edgeDNSServer: "169.254.169.253" # to handle splitbrain situation with TXT timestamp + edgeDNSServer: "169.254.169.253" # external DNS server to be used for resolution clusterGeoTag: "us-east-1" # used for places where we need to distinguish between differnet Gslb instances extGslbClustersGeoTags: "eu-west-1" # comma-separated list of external gslb geo tags to pair with exposeCoreDNS: true # Create Service type LoadBalancer to expose CoreDNS