Imports k8s.io/client-go/tools/leaderelection k8s.io/client-go/tools/leaderelection/resourcelock k8s.io/client-go/transport k8s.io/client-go/tools/clientcmd k8s.io/klog k8s.io/apimachinery/pkg/apis/meta/v1 k8s.io/client-go/kubernetes k8s.io/client-go/rest Standard library imports os/signal context log os strings syscall time flag fmt