Skip to content
cloud native at command
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
cnat-kubebuilder changes Kubebuilder to Apr 14, 2019
cnat-operator final fix for Operator SDK impl Apr 14, 2019
.gitignore updates ignore Apr 14, 2019
LICENSE fixes overall docs Apr 14, 2019


The cnat (cloud native at) command extends Kubernetes to run a command at a certain point in time in the future, akin to the Linux at command.

Let's say you want to execute echo YAY at 2am on 3rd July 2019. Here's what you would do (given the cnat CRD has been registered and the according operator is running):

$ cat runat.yaml
kind: At
  name: example-at
  schedule: "2019-07-03T02:00:00Z"
  command: "echo YAY"

$ kubectl apply -f runat.yaml created

$ kubectl get at
NAME               AGE
example-at         20s

$ kubectl logs example-at-pod

Note that the execution time (schedule) is given in UTC.

You can’t perform that action at this time.