Managing Kubernetes CronJobs with Postman via ArgoCD and Kustomize

0
0
Asked By CuriousCactus42 On

Hey everyone! I'm looking for guidance on how to manage some Kubernetes CronJobs at work. We use ArgoCD and Kustomize for our Kubernetes management, and we have a bunch of CronJobs running. Management wants a way to control these jobs through Postman, specifically to see if they're active or suspended, adjust their schedules, or pause/resume them. The challenge is that since all our manifests are managed via ArgoCD, any direct changes made with kubectl would get reverted. I'm considering creating a small API that Postman could call to make changes to our kustomization files via a GitHub client. Has anyone encountered a similar situation or found a better way to handle this?

2 Answers

Answered By ObservantOtter On

Before diving into building APIs, have you considered using a Kubernetes dashboard like the K8s dashboard or Headlamp? It could simplify CronJob management for the team. However, you'd need to ensure proper authentication and permissions are set up. But given that you're fully committed to Argo, be cautious about potential conflicts with direct edits versus Argo's management.

Answered By DirectorOfChange On

It’s crucial to maintain a single source of truth with these systems. If management is okay with using Postman, why not get them accustomed to using the Git UI? If that’s not feasible, then building an API to help them make the necessary changes could work. Just be wary of directly modifying fields in Argo; it might lead to complications.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.