runtimecfg is small utitily that reads KubeConfig and checks the current system for rendering OpenShift baremetal networking configuration.
runtimecfg [command]
The available commands are:
- display: Displays the struct that contains the information for rendering
- help: Help about any command
- render: Renders go templates with the runtime configuration. Takes a -o/--out-dir parameter to specify where to write the rendered files.
The available flags are:
- --api-vip: Virtual IP Address to reach the OpenShift API
- --dns-vip: Virtual IP Address to reach an OpenShift node resolving DNS server
- --ingress-vip Virtual IP Address to reach the OpenShift Ingress Routers
Note that you must pass at least one VIP for the VRRP interface to be found.
Running tests inside docker are consistet between machines and it keeps the host environment clean.
In order to run the tests you should have all these prerequisites:
- make
- docker
- docker-compose
make docker_test
There are some tests that require user capabilities (cap_net_admin, cap_net_raw). In case the user doesn't have these capabilities - The tests would be skipped.
Pay attention: This tests might change the machine networking.
make test