<p>I have bunch of cron jobs that sit in an EKS cluster and would like to trigger them via HTTP call. Does such API exist from Kubernetes? If not, what else can be done?</p>

<p>Every action in Kubernetes ca be invoked via rest API call. This is also stated as such in the <a href="https://kubernetes.io/docs/concepts/overview/kubernetes-api/" rel="nofollow noreferrer">docs</a>.</p>
<p>There is a full <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#-strong-api-overview-strong-" rel="nofollow noreferrer">API reference</a> for the Kubernetes API you can review.</p>
<p>In fact, <a href="https://kubernetes.io/docs/reference/kubectl/overview/" rel="nofollow noreferrer">kubectl</a> is using http under the hood. You can see those http calls by using the <code>v</code> flag with some <a href="https://goglides.io/kubectl-http-request-to-formulate-rbac/123/" rel="nofollow noreferrer">verbosity level</a>. For example:</p>
<pre class="lang-sh prettyprint-override"><code>$ kubectl get pods -v=6
I1206 00:06:33.591871   19308 loader.go:372] Config loaded from file:  /home/blue/.kube/config
I1206 00:06:33.826009   19308 round_trippers.go:454] GET https://mycluster.azmk8s.io:443/api?timeout=32s 200 OK in 233 milliseconds
...
</code></pre>
<p>So you could check out the command you need by looking how kubectl does it. But given the fact that kubectl does use http, it's maybe easier to just use kubectl directly.</p>
