Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mesh page] per-control-plane istio settings #7203

Open
nrfox opened this issue Mar 19, 2024 · 4 comments
Open

[mesh page] per-control-plane istio settings #7203

nrfox opened this issue Mar 19, 2024 · 4 comments
Labels
backlog Triaged Issue added to backlog enhancement This is the preferred way to describe new end-to-end features. multicluster Related to multi cluster

Comments

@nrfox
Copy link
Contributor

nrfox commented Mar 19, 2024

What do you want to improve?

There's a number of istio settings that Kiali exposes like mTLS for the namespace/cluster/mesh. These need to take into account multiple controlplanes whether that's single cluster when multiple revisions are present or multi-cluster with a multi-primary deployment.

What is the current behavior?

Multiple controlplanes are not used when reporting istio settings.

What is the new behavior?

All relevant controlplanes are used when reporting istio settings.

@nrfox nrfox added enhancement This is the preferred way to describe new end-to-end features. multicluster Related to multi cluster labels Mar 19, 2024
@jshaughn jshaughn added the backlog Triaged Issue added to backlog label Mar 20, 2024
@jshaughn jshaughn mentioned this issue Feb 28, 2024
18 tasks
@jshaughn
Copy link
Collaborator

jshaughn commented Apr 1, 2024

Note that the new mesh page will start with the current assumptions but will need to integrate this enhancement. I'm going to incorporate into the mesh page epic, but not for the initial release milestone.

@jshaughn
Copy link
Collaborator

I think this is really "Determine correct Istio versions for multi-primary scenarios" as I'm not aware of what other Istio settings we're talking about in the description, or not already handled by the new mesh page.

@jshaughn jshaughn changed the title Per controlplane istio settings [mesh page] per-control-plane istio settings May 22, 2024
@nrfox
Copy link
Contributor Author

nrfox commented May 23, 2024

I'd say it's bigger than that. It's many of the settings under external_services.istio like config_map_name. Some of these settings are used in various places like validations:

istioDomain := strings.Replace(config.Get().ExternalServices.Istio.IstioIdentityDomain, "svc.", "", 1)
and probably would lead to incorrect results if they differ between primaries and/or revisions.

Never mind this issue is specifically for the mesh page. So it would be things like the mtls lock icons which only take into account a single configmap from a single revision:

kiali/business/tls.go

Lines 192 to 195 in 976461b

istioConfig, err := kubeCache.GetConfigMap(cfg.IstioNamespace, IstioConfigMapName(*cfg, ""))
if err != nil {
return true
}
.

@jshaughn
Copy link
Collaborator

Thanks for the clarification, @nrfox. It sounds almost like this should be an epic, with different information being handled as individual issues. I had currently been treating this one as a follow-up for istio version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Triaged Issue added to backlog enhancement This is the preferred way to describe new end-to-end features. multicluster Related to multi cluster
Projects
None yet
Development

No branches or pull requests

2 participants