Closed michaelcourcy closed 1 year ago
I realize that my ask may not have sense, service mesh is here to inspect and control network traffic, if using https no inspection and decision can be done.
All that said is that possible to exclude a specific service in a namespace from the service mesh or does it have to be in another namespace ?
You can disable injection for specific pods
Can you try setting the appProtocl to "tcp" lowercase?
Can you run the osm osm verify connectivity
command between the 2 pods?
Thanks @steeling I was able to disable injections for this specific pods.
Bug description:
I am in permissive mode, here is my repro
I create an ngninx sever that listen on port 80 and 443 for https.
I test by creating a curl pod
And I get the usual nginx default page
If now I add nginx namespace to OSM and delete all the pods
I recreate a curl pod and try to access the https service
On port 80 it's fine
But on port 443 I get this error
If I add the appProtocol field to the https port on the nginx service
Then I get another error
Did I miss a configuration here ?
Here is my ngninx pod
Affected area (please mark with X where applicable):
Expected behavior:
Steps to reproduce the bug (as precisely as possible):
How was OSM installed?:
Anything else we need to know?:
Bug report archive:
Environment:
osm version
):MESH NAME MESH NAMESPACE VERSION GIT COMMIT BUILD DATE osm osm-system v1.2.3 6ecc61cf9fb95270483ea8cc72af4a72e16a65ef 2022-12-14-01:23
k version WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.1", GitCommit:"8f94681cd294aa8cfd3407b8191f6c70214973a4", GitTreeState:"clean", BuildDate:"2023-01-18T15:51:24Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"darwin/arm64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.9", GitCommit:"57fbbcc2804848b95cad5519f5ec9d6355430db9", GitTreeState:"clean", BuildDate:"2023-02-08T17:22:38Z", GoVersion:"go1.18.9", Compiler:"gc", Platform:"linux/amd64"} WARNING: version difference between client (1.26) and server (1.24) exceeds the supported minor version skew of +/-1