AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Add dyff utility to Microsoft image that gets used when you run az aks invoke command.

Open Jules-jeppe opened this issue 2 years ago • 16 comments

While kubectl is setup on the Microsoft hosted image that gets used when you run the az aks invoke command - the diff sub command is not it seems. We would like to used this functionality to validate changes to our private aks cluster before applying it. image

This can be resolved by simply adding the dyff utility to the image and setting the kubectl environment variable for it. export KUBECTL_EXTERNAL_DIFF="dyff between --omit-header --set-exit-code"

We can not simply white list the machine's ip to run the command locally since this is part of our CI pipeline that run on ephemeral GitHub action runners.

A support ticket was raised for this but no practical workaround was found. dyff usage example: https://github.com/homeport/dyff/tree/e38d9affdb6138542619b7f7cfecd1ff505ee623#use-cases-and-examples

Jules-jeppe avatar Mar 24 '23 07:03 Jules-jeppe

Action required from @Azure/aks-pm

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Action required from @aritraghosh, @julia-yin, @AllenWen-at-Azure

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

Issue needing attention of @Azure/aks-leads

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs within 7 days of this comment. @phealy

This issue will now be closed because it hasn't had any activity for 7 days after stale. @Jules-jeppe feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.