localnet - mixed workloads + network policies

by mdbarroso
GNU/Linux ◆ xterm-256color ◆ zsh 47 views

This demo shows a mixed workload scenario using localnet topology with network policies.

We want to access a mysql DB running on the physical network from our VM; it can access it in 2 ways:

  • 5432 port (psql)
  • over a RESTful API on an adapter pod (it contacts the DB over port 5432, and exposes it over port 9000)

We then apply network policies and see that the VM stops being able to access the DB directly, and can only access the data via the adapter pod’s RESTful API.