-
Hi , public static void main(String[] args) throws IOException {
System.out.println("*****************Hello world ******************");
} Created the docket image and deployed as a Cron workflow using below template. apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: test-cron-wf
spec:
schedule: "*/5 * * * *"
concurrencyPolicy: "Replace"
startingDeadlineSeconds: 0
workflowSpec:
entrypoint: example
templates:
- name: example
container:
image: docker-java:1.0
command: [sh, -c]
args: ["date; sleep 9"] The workflow is triggered and running successfully But i am not able to figure out the message Could you please help where do i find this . I verified in main,init and wait logs Actually my use-case is using cron worklow i will ready the nats message and push to time series DB |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're not running your |
Beta Was this translation helpful? Give feedback.
You're not running your
jar
orjava
at all in yourcommand
, so the container is not running your program to begin with. That's pure Docker, not k8s or Argo specific.