Skip to main content

Hello,

tried setting up kasten in multi cluster mode and followed steps from official documentation  documentation: https://docs.kasten.io/latest/multicluster/tutorials/getting_started.html - using helm approach .

version: 6.5.12

all pods are running and primary cluster ui also working.

when trying to add secondary cluster running into below issue.

Following is status of mc join status secret in secondary cluster.

“rejected”.

also tried adding secondary cluster using kube config approach from primary cluster ui.

following is status.

“Could not check whether cluster is already attached to a primary”.

 

Thanks in advance for your help

  

Hi @mokireddyvijaykumar ,

Thanks for reaching out to us.

  • Can you check if the corresponding bootstrap object is created in primary cluster kasten-io-mc namespace

```

kubectl get clusters.dist.kio.kasten.io -n kasten-io-mc

```

  • Have you tried adding it using k10multicluster tool ?

k10multicluster bootstrap \
    --primary-context=<primary_cluster_context_name> \
    --primary-name=<primary_cluster_name> \

    --primary-cluster-ingress=<primary_cluster_ingress> \
    --secondary-context=<secondary_cluster_context_name> \
    --secondary-name=<secondary_cluster_name> \
    --secondary-cluster-ingress=<secondary_cluster_ingress>/<k10_endpoint>

Reference:-

https://docs.kasten.io/latest/multicluster/reference/bootstrap_reference.html#bootstrap-reference

 

K10multicluster tool can be downloaded here.

https://github.com/kastenhq/external-tools/releases

 

Regards
Satish


Hi @Satish,

```

kubectl get clusters.dist.kio.kasten.io -n kasten-io-mc

```

above command give empty response in primary cluster.

 

tried K10multicluster tool approach, in primary cluster following error is present related to seondary cluster.

“Connection Error Request failed with status code 504”.

 

But connection to secondary cluster Api endpoint is present. (tried with other pods running in primary cluster to send curl request to endpoint).


Hi @mokireddyvijaykumar 

Its strange there is no output for the clusters in your primary . Atleast it should show the primary cluster name .

Can you try to open a support case along with the debug logs . Might need to investigate more on whats causing the issue.

Regards
Satish


Comment