DRP Agents in Kubernetes

The agent plugin adds the ability to create and delete Pods in Kubernetes.

The pods are intended to be DRP Runners that can act on behalf of other systems. The plugin does NOT require kubernetes installations on the DRP endpoint. It is a kubernetes client.

The default operation is like the other ipmi-based plugins. Creating a machine with the machine-plugin parameter set to the name of the Agent plugin will create pod with the same name in the supplied Kubernetes cluster. The cluster must be managed by KRIB and is specified in the agent/k8s-cluster parameter.

Additionally, a system action, agentStart is provided to create agents as well.

The POD will be destroyed if the machine is destroy. If the POD is destroyed in kubernetes, the machine will be destroyed in DRP.