use of com.github.isdream.cwatcher.listeners.KubernetesListener in project watchdog by isdream.
the class KubernetesListenerTest method main.
public static void main(String[] args) throws Exception {
// Configure config = new Parser().parse("config/podWatcher.yaml");
Configure config = new Parser().parse("config/namespaceWatcher.yaml");
DefaultKubernetesClient client = new DefaultKubernetesClient("https://master.example:8443");
Listener listener = new KubernetesListener();
listener.start(client, config);
}
Aggregations