cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2590
Views
37
Helpful
2
Comments
frjansso
Cisco Employee
Cisco Employee

Lately we have received questions on running NSO in Docker and in some cases using Kubernetes.

I have started to collect examples and write down some thoughts. Everything can be found here, GitHub - NSO-developer/container-examples, any feedback is welcome.

2 Comments
robert.lee2
Level 1
Level 1

So we have been experimenting with NSO in containers, and have come across an issue when implementing HA between NSO master and slave containers, when they are in different pods or VMs.  The internal IP is translated by the VM (source Ip changed) when communications takes place between the master and slave nso containers.

In the master HA config in CDB i specify the master (local ip of master contaiiner) and slave (external ip of slave container).  When the DB syncs to the slave container - the slave container's CDB now says the same.  But this wont work, since the slave container must communicate to the master using the master's external IP.......

MasterContainer(10.1.1.1) ---Ext(172.16.1.1)<------------------>Ext(172.16.1.2)-----SlaveContainer(10.1.1.2)

Options to address this ?  Moving the HA config out of CDB would help

frjansso
Cisco Employee
Cisco Employee

Would using the "dns" names work?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: