You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
How hard is to add kubectl diff functionality right into k8s-handle?
It is handy to have a test for Merge Request actually showing what would be changed in Cluster after all templates are rendered etc.
Right now we are using something like:
While running steps in docker, this requires container with both k8s-handle and kubectl - which complicates stuff.
Advantage to have diff in python is that it's format would be easier to customize (drop unnecessary fields etc)
Another command where knowledge about objects in the Cluster could be useful is deploy.
Because for new users all these logs looks scary: INFO:k8s_handle.k8s.provisioner:Deployment "prometheus" already exists, replace it
Why do you replace the object if it does not changed? For example kubectl apply shows if object was actually changed or not. Would be great to show diff on deploy too, or skip objects which has zero diff.
What do you think?
The text was updated successfully, but these errors were encountered:
Hello,
How hard is to add
kubectl diff
functionality right into k8s-handle?It is handy to have a test for Merge Request actually showing what would be changed in Cluster after all templates are rendered etc.
Right now we are using something like:
While running steps in docker, this requires container with both k8s-handle and kubectl - which complicates stuff.
Advantage to have diff in python is that it's format would be easier to customize (drop unnecessary fields etc)
Another command where knowledge about objects in the Cluster could be useful is
deploy
.Because for new users all these logs looks scary:
INFO:k8s_handle.k8s.provisioner:Deployment "prometheus" already exists, replace it
Why do you replace the object if it does not changed? For example
kubectl apply
shows if object was actually changed or not. Would be great to show diff ondeploy
too, or skip objects which has zero diff.What do you think?
The text was updated successfully, but these errors were encountered: