Support for Kubernetes and Bare Metal
Bomfather now supports both Kubernetes and non Kubernetes workloads. We decided to build it so that you can use it in both environments while maintaining an extemely simple configuration.
In the example below, we have policies for the “host” (when the container path is empty) and for an nginx container in the dev namespace.
container_policies:
- container_path: "" # HOST (container_path empty)
executables:
- path: "example/accessor/accessor"
access_gpu: true
directories:
- path: "example/protected/protected1"
permission: "read"
- container_path: "dev:web:nginx:" # Kubernetes format, namespace:pod:container
executables:
- path: "/usr/sbin/nginx"
directories:
- path: "/var/cache"
permission: "write"
One of the important differentiations we wanted to bring was a straightforward configuration that allows mixing and matching within a single file.
Our container path supports wildcards as well, to make configuration easier.