Open mmclane opened 3 months ago
@mmclane Thanks for flagging this! I am going to spend some time today trying to identify the source of this issue!
@mmclane Thanks for flagging this! I am going to spend some time today trying to identify the source of this issue!
Let me know how I might be able to help.
I may have opened this issue in the wrong place. https://github.com/opencost/opencost/issues/2752
When I try to create a turndown schedule via the UI it fails. I just tried to create one just now. Its currently 10:13, I selected a start time for 10:15 with an end time of 11. I get no error when I click apply but the schedule never shows up. If run kubectl get tds I see the state is ScheduleFailed. If I describe it however it says it successfully scheduled the turndown. It doesn't say why it failed.
If I delete it and create a new one via the following manifest file it is scheduled successfully.
The schedule shows up in the UI, but shows the wrong configuration. In the UI it says it will Repeat: Daily but you can see in the manifest file that it was not set that way. If I describe the job it shows the following and says Repeat: none.
The schedule no longer shows in the UI once it starts.
Additionally, once the schedule starts it successfully created the cluster-turndown node group and the new node get added to the cluster. The cluster-controller pod moves over to the new node, but that is as far as it gets. Looking at the logs on the cluster-controller I see errors and restarts.
I am running this on an EKS cluster.
To Reproduce Steps to reproduce the behavior:
Expected behavior The cluster should be turned down
Which version of OpenCost are you using? You can find the version from the container's startup logging or from the bottom of the page in the UI. Helm Chart v2.2.4