-
Notifications
You must be signed in to change notification settings - Fork 15
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
[KIALI-2520] Kiali Test Mesh Operator and Automatic Injection of Sidecar Support #41
Conversation
db562e0
to
8117c09
Compare
You shouldn't have the processed yam file that have the sidecar already injected. This can change with each Istio version and we don't want to update everything each time. |
@mwringe Can we assume to use it with automatic injection side-car as option? |
Can this not just be an option that someone passes? So that if they have automatic side car it does nothing, if they don't then we run kube-inject on it. |
8eaccd8
to
23e77e4
Compare
- Automatic/Manual Injection of Istio Sidecar (Configured by CR) - Installation of upstream istioctl version
23e77e4
to
27667a0
Compare
I have 3.11 and Istio 1.1.snapshot 6. Now I tried this PR.
resulted in
So I created that project via
At this point I do see the operator pod running:
I think you should at least make it fault tolerant such that a person doesn't get a failure due to the "Already Exist" errors. |
The pod logs show this (it seems to hang here):
|
@jmazzitelli if you have the existing resource running, it will not create the cr because the command is falling... I will include the ignore-errors on the following command. Thanks for spotting this. |
ping @jmazzitelli @mwringe can we merge this? |
I ran this I then tried to re-install bookinfo but I couldn't because the CR still exists. How do I undeploy/delete the CR so I can re-try it again?
|
@jmazzitelli you can remove everything with |
@jmazzitelli |
This shows that I start clean (no operator, no bookinfo), I create operator, add bookinfo, but yet, no bookinfo pods show up?
I never see any bookinfo pods show up. I looked in the operator pod logs and I see an error:
|
it seems there is a problem on istio init docker. |
I don't have a pod called "istio init" - this is what I have:
|
I run |
@gbaufake FYI: i was running istio 1.1.0-rc3 (they just released RC4, I might move up to that now) |
@jmazzitelli if you want to use the manual injection of the sidecar. it needs to use the same version or compatible one with the istio that you are running that is the issue. I created a new image with 1.1.rc4 |
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.
Running with Istio 1.1.0-rc4. I was able to execute these two commands and see things deploy/run without any problems:
make operator-deploy-openshift
make deploy-bookinfo-manual-sidecar
Hello,
Created Kiali Test Mesh Operator (https://github.com/operator-framework/operator-sdk) which will work on Kubernetes and Openshift.
In the beginning, I added the complex-mesh and I intend to add other meshes (scale-mesh, bookinfo, redhat-demo and other meshes might be helpful)
Best Regards,
Guilherme Baufaker Rêgo