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
[hack] bring back kiali in MC scripts #7312
[hack] bring back kiali in MC scripts #7312
Conversation
I do not know why these were removed. We have all the kiali options for these hack scripts but they are now ignored - kiali is never deployed even if enabled. These were removed in the following commits: * kiali@804f21e#diff-ae968abe0209eefd78f858f137a2e418a056ec6e02965d2214bcb46c8a978efeL77-L78 * kiali@d8631a1#diff-b53029271ec37bbeb86a1eb29db8fd5e77a74f0fda8dac3d7d22109fcb11fdf3L203-L204
I'm testing this now. I'm curious why these are removed... there must have been a reason :) But with them removed, all the kiali options are useless and you never get kiali installed if you use these hack scripts to start a MC demo. |
After running
But I cannot port forward and access it - the login process attempts to redirect to the openid endpoint Looking at the logs of the script while it was installing, I see some errors as it tries to update some kiali things:
I think the errors occur in here: https://github.com/kiali/kiali/blob/v1.83.0/hack/istio/multicluster/deploy-kiali.sh#L139-L152 |
Same thing with the other script - only this time it exits immediately when the error occurs:
|
All CI checks are passing, so the changes to this PR do not affect the CI setup / scripts. That's a good thing. I will try to figure out how to clear up those errors and get this to work so people can run the MC hack scripts and get a MC demo running locally with Kiali. |
KEYCLOAK_ADDRESS is an empty string when the deploy-kiali.sh is being called... I believe that's the problem. We need that set correctly and hopefully that fixes the problem |
778f6c9
to
0c2f789
Compare
@nrfox What should KEYCLOAK_ADDRESS be when on minikube? Based on what I see, our I think if I find out what KEYCLOAK_ADDRESS is supposed to be, we can set it and it should be back to working. I'm curious how people are actually using these MC hack scripts to use a MC environment without having Kiali even deployed? |
I think if you add back the kiali/hack/setup-kind-in-ci.sh Lines 278 to 283 in a55c5c5
And later kiali is deployed here: kiali/hack/setup-kind-in-ci.sh Lines 309 to 326 in a55c5c5
Personally I just use kind because that is what CI uses and it is the easiest to setup and consumes the least amount of resources. Which might mean that minikube isn't well supported if other folks are not running it.
This is where keycloak address comes from in the kind setup: kiali/hack/setup-kind-in-ci.sh Lines 311 to 313 in a55c5c5
|
@jmazzitelli I think if you run these separately it might still work on minikube:
|
…stall hack script start kiali
…p when running in KinD)
3e5820f
to
04880d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Visually approving this.
fixes: #7313
I do not know why these were removed. We have all the kiali options for these hack scripts but they are now ignored - kiali is never deployed even if enabled.
These were removed in the following commits: