azure-service-operator icon indicating copy to clipboard operation
azure-service-operator copied to clipboard

Feature: Support running operations like `az aks invoke ... ` via aso

Open mjnovice opened this issue 1 year ago • 2 comments

az aks invoke ... like operations are not supported by the ASO currently. Can we have a declarative spec for running operations ?

mjnovice avatar Feb 09 '24 17:02 mjnovice

Can you please expand on what you're wanting, and how you think it fits into the existing design goals of ASO? This doesn't seem like a good fit to me, but I'm open to persuasion. ASO is not intended as a replacement for az.

theunrepentantgeek avatar Feb 09 '24 19:02 theunrepentantgeek

Spoke with @mjnovice on Slack - basically they are asking for ASO to fabricate Job equivalent for the runCommand REST API AKS offers: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-11-01/managedClusters.json#L2100

I think we could do that but obviously it takes quite a bit more manual massaging to do that in a Kubernetes context as it's an action by default and we'd need to wrap resource-like desired state behavior around it.

Not impossible as we've done it for other things (SQL users primarily), but not clear how much user desire there is for it either. I figured we could have an issue tracking it and see if others in the community were interested (and/or possibly wanted to contribute it)

matthchr avatar Feb 09 '24 23:02 matthchr

We haven't seen any other user desire for this, as yet.

theunrepentantgeek avatar Aug 19 '24 23:08 theunrepentantgeek

Closing this as there doesn't seem to be a lot of user need at least in a general case.

matthchr avatar Feb 03 '25 21:02 matthchr