Re:So you wanna write Kubernetes controllers?
by k8sToGo on Sunday January 26, 2025 @04:07PM
(#42834138)
You mean ArgoCD and Rancher? Both ready to do click ops!
Re:So you wanna write Kubernetes controllers?
by ninjha on Sunday January 26, 2025 @04:10PM
(#42834172)
I mean you can edit a big YAML file inside ArgoCD, but what I'm building is an actual web form (e.x. `spec.rules[].http.paths[].pathType` is a dropdown of `Prefix`, `ImplementationSpecific`, `Exact`), and all your documentation inline as you're editing.
People have tried this before but usually the UI version is not fully complete so you have to drop to YAML. Now that the spec is good enough it's possible to build a complete UI for this.
Re:So you wanna write Kubernetes controllers?
by mugsie on Sunday January 26, 2025 @04:47PM
(#42834494)
Yup, and it has the advantage of having a easily backed up state store to represent the actions of the GUI.
I always liked the octant UI autogeneration for CRDs and the way it just parsed things correctly from the beginning, if they had an edit mode that would be perfect
Re:So you wanna write Kubernetes controllers?
by ninjha on Sunday January 26, 2025 @05:14PM
(#42834750)
Is there anything in particular you like about what Octant does? I don't see anything that actually looks at the object spec, just the status fields / etc.
Re:So you wanna write Kubernetes controllers?
by k8sToGo on Sunday January 26, 2025 @04:51PM
(#42834529)
Sounds great. An interactive Spec builder, if I understand correctly.
Re:So you wanna write Kubernetes controllers?
by liveoneggs on Sunday January 26, 2025 @09:32PM
(#42836779)
ArgoCD has a "New App" button that opens an actual web form you fill out.
My current project is basically this, except it edits your git-ops config repository, so you can click-ops while you git-ops.