jbang


YAKC - Yet Another Kubernetes Client
Introduction In this post, I’ll show you how to perform the equivalent to kubectl --from=cronjob/<cronjob-name> <job-name> (manual trigger) from Java using YAKC- Yet Another Kubernetes Client. This performs something similar to what the official Kubernetes Dashboard CronJob trigger action does. CronJob manual trigger Once you’ve deployed a CronJob to your cluster, in most cases it makes sense to trigger a test run. You probably need to check that everything works fine without having to wait for the scheduled time. Starting at version 1.10, Kubernetes offers a way to create a Job from a CronJob using kubectl. This basically translates into […]

Trigger Kubernetes CronJob manually from Java using YAKC