Need help in designing a operator

33 views
Skip to first unread message

Vignesh Kumar S

unread,
Dec 14, 2024, 8:42:16 AM12/14/24
to Operator Framework
Hi, Im trying to build a kubernetes operator, which analyses the data from the pod and tell us why the pod failed. So basically when the kub admin creates a CRD (a request to debug the pod), this operator comes to play and takes the necessary info from the pod and modifies the data so that no sensitive info is leaked, and then via a ChatGPT api we get the response and display the ChatGPT response to user so that he/she can quickly resolve the issue. 
I'm planning to create this using Operator SDK, Im very new to this space, so need help in designing and where to start. 

Sebastian Łaskawiec

unread,
Jan 1, 2025, 7:15:46 AMJan 1
to Vignesh Kumar S, Operator Framework
Hey Vignesh,

The idea seems very interesting! A while back, I found a similar project, K8sGPT [1] that seems to aim for the similar thing - employing ChatGPT for debugging deployment issues. 

If you'd like to pursue the implementation, I guess watching Kubernetes Events as the primary source of information might be a good start.

Best regards,
Sebastian


sob., 14 gru 2024 o 14:42 Vignesh Kumar S <svigne...@gmail.com> napisał(a):
Hi, Im trying to build a kubernetes operator, which analyses the data from the pod and tell us why the pod failed. So basically when the kub admin creates a CRD (a request to debug the pod), this operator comes to play and takes the necessary info from the pod and modifies the data so that no sensitive info is leaked, and then via a ChatGPT api we get the response and display the ChatGPT response to user so that he/she can quickly resolve the issue. 
I'm planning to create this using Operator SDK, Im very new to this space, so need help in designing and where to start. 

--
You received this message because you are subscribed to the Google Groups "Operator Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to operator-framew...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/operator-framework/82019a7f-db66-49a0-a5b9-c8551b319130n%40googlegroups.com.


--
Sebastian Łaskawiec

Vignesh Kumar S

unread,
Jan 1, 2025, 10:04:56 AMJan 1
to Sebastian Łaskawiec, Operator Framework
Hi Sebastian,
Thank you for reaching out. Yes will surely check it out. 
Reply all
Reply to author
Forward
0 new messages