Announce Sync Daemon Address

This section will walk you through configuring the sync daemon to announce its external address to other peers.

What You'll Need


  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:/# cd ~/ops/deployments
  2. Obtain the address of the Load Balancer Service and copy it to your clipboard as you are going to use it in the next step:

    root@rok-tools:~/ops/deployments# export SYNC_ADDRESS=$(kubectl get service \
    >     -n rok rok-sync -o json | \
    >     jq -r '.status.loadBalancer.ingress[].hostname') && echo ${SYNC_ADDRESS?}
  3. Edit rok/rok-cluster/overlays/deploy/patches/configvars.yaml to specify the external address that the sync daemon will announce to other peers:

        daemons.throwerd.announce_host:  # <-- Update this line with your SYNC_ADDRESS
  4. Commit your changes:

    root@rok-tools:~/ops/deployments# git commit -am \
    >     "Configure the announce address of the sync daemon"
  5. Apply the kustomization:

    root@rok-tools:~/ops/deployments# rok-deploy --apply rok/rok-cluster/overlays/deploy


  1. Verify that the sync daemon is properly configured and reports the expected Announce host:

    root@rok-tools:# kubectl exec -n rok svc/rok -- rok-thr info
    |        Announce host         | |


You have successfully configured your Rok cluster to be able to sync datasets and environment with other users.

What's Next

Check out the rest of the maintenance operations that you can perform on your cluster.