Hi team, I'm hosting a Flyte cluster on AKS and ma...
# flyte-support
d
Hi team, I'm hosting a Flyte cluster on AKS and made a newsletter feature to send emails to our customers every day but it does not work. I don't see any error in the logs at all. Here is our code:
Copy code
process_newsletter_mapped = map_task(
    process_newsletter_task,
    concurrency=3,
)

@workflow(
    failure_policy=WorkflowFailurePolicy.FAIL_AFTER_EXECUTABLE_NODES_COMPLETE,
)
def process_newsletter():
    usernames = collect_users()
    process_newsletter_mapped(username=usernames)

cron_lp = flytekit.LaunchPlan.get_or_create(
    workflow=process_newsletter,
    name="every_10_minutes",
    schedule=CronSchedule(
        schedule="*/10 * * * *",  # Every 10 minutes
        kickoff_time_input_arg=None
    )
)
I have activated the launchplan and execute it manually and it worked, but as you can see, the manual execution was successful 17 minutes ago and the schedule is setup every 10 minutes. Something is wrong here
If you need logs please let me know which pod you wanna see:
Copy code
NAME                               READY   STATUS    RESTARTS   AGE
datacatalog-5fdb8f6c46-2sq8n       1/1     Running   0          3d12h
flyte-pod-webhook-9bc44b46-6sglm   1/1     Running   0          3d12h
flyteadmin-846fdb797-p2s7l         1/1     Running   0          3d12h
flyteconsole-5f8886885d-b9cvp      1/1     Running   0          3d12h
flytepropeller-567fc9c857-q6c4p    1/1     Running   0          3d12h
postgres-6f57bb9889-sh6zg          1/1     Running   0          3d12h
syncresources-5d446b76cd-8ddg5     1/1     Running   0          3d12h
t
I think the
workflow_scheduler
option is disabled by default. If you installed with helm, check your
flyte-core
configuration. You should see a flytescheduler pod running once the scheduler is enabled.
👍 1
c
may I suggest to mention this in the documentation?
d