monokle icon indicating copy to clipboard operation
monokle copied to clipboard

Select target namespace in Cluster Compare

Open olensmar opened this issue 2 years ago • 4 comments

When comparing a set of local resources to a cluster I need to be able to specify which namespace to compare to - since I am deploying these resources to a different namespace than the default one (at deploy time - not in the manifests themselves)

For example - argocd is traditionally installed in an argocd namespace. If I do a cluster-compare on one of the argocd kustomization previews they will compare to the default namespace (since no namespace is set in the manifests) - which doesn't contain my argocd installation - hence not really allowing me to compare my resources to my installed version:

image

olensmar avatar Nov 18 '21 13:11 olensmar

perhaps we can add a "Target Namespace" drop-down on top of the local resources containing a list of the namespaces in the cluster!? Selecting one would use that for all local resources.. @devcatalin @tommywhitehead ?

olensmar avatar Nov 18 '21 13:11 olensmar

Should we find a solution that solves this as well - https://github.com/kubeshop/monokle/issues/616 ?

devcatalin avatar Nov 18 '21 16:11 devcatalin

Decided to

  • move existing namespace filter under the Local Resources
  • add a "namespace" selector under the Cluster Resources (which would set the target namespace!)

olensmar avatar Dec 02 '21 16:12 olensmar

@devcatalin is this covered by the latest compare improvements?

olensmar avatar Jun 20 '22 06:06 olensmar