...
Code Block |
---|
a. Execute below command /home/ubuntu on coredns master (make sure to use the key name as coredns.key) : ssh-keygen -t rsa -f coredns.key - This creates two files- coredns.key and coredns.key.pub under /home/ubuntu b. Copy above two key files on site A and site B and execute below command. sudo ssh-copy-id -i coredns.key root@<corednsHost> c. verify below command works for root user without any prompts(because the key was added with root user): ssh -i /home/ubuntu/coredns.key root@<corednsHost> |
5. Execute sdnc.dnsswitch script from Site A or Site B
Code Block |
---|
root@k8s-master:/home/ubuntu# ./sdnc.dnsswitch
Note :- execute sdnc.dnsswitch as root |
6. You may verify the logs on core-dns masterĀ
...