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

Updated the docs with correct istio gateways format. #1377

Closed
wants to merge 3 commits into from

Conversation

Abhishek-569
Copy link

@Abhishek-569 Abhishek-569 commented Feb 22, 2023

In this PR I have updated the docs, /artifacts/examples and /test/istio with the correct format of istio gateways according to issue #1104 .

Fix: #1104

@stefanprodan
Copy link
Member

@Abhishek-569 can you please squash all commits into a single one titled "Migrate Istio gateway to new format". Thanks!

@Abhishek-569
Copy link
Author

Abhishek-569 commented Feb 22, 2023

done.

Migrate Istio gateway to new format

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Updated  flagger-install-on-google-cloud.md

Updated  flagger-install-on-google-cloud.md for isitio gateways

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Updated istio-ab-testing.md

Updated istio-ab-testing.md for istio Gateways.

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Updated istio-progressive-delivery.md

Updated istio-progressive-delivery.md for istio gateways.

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update1  istio-progressive-delivery.md

Update  istio-progressive-delivery.md for istio gateways

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update faq.md

Update faq.md for istio gateway.

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-abtest.yaml

Update istio-abtest.yaml for istio gateway.

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-canary.yaml

Update istio-canary.yaml for istio.yaml

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

update test-canary.sh

update test-canary.sh for istio gateways

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>
@stefanprodan
Copy link
Member

stefanprodan commented Feb 22, 2023

Istio tests are now failing with

Error from server: error when creating "STDIN": admission webhook "validation.istio.io" denied the request: configuration is invalid: invalid value for gateway name: "istio-system.svc.cluster.local"

Looks like ingressgateway/istio-system.svc.cluster.local is not what Istio wants...

@Abhishek-569
Copy link
Author

So what should be the next step?

@stefanprodan
Copy link
Member

stefanprodan commented Feb 22, 2023

The format you used seems wrong, Istio docs are saying

Gateways in other namespaces may be referred to by <gateway namespace>/<gateway name>

@Abhishek-569
Copy link
Author

Abhishek-569 commented Feb 22, 2023

Replacing public-gateway.istio-system.svc.cluster.local with public-gateway.istio-system/svc.cluster.local works?
Like here:

- istio-system/istio-ingressgateway

@stefanprodan
Copy link
Member

@Abhishek-569 how are you currently setting the gateways on your cluster?

@Abhishek-569
Copy link
Author

Don't know how to answer that as I never used istio till now.

@Abhishek-569
Copy link
Author

Abhishek-569 commented Feb 23, 2023

@stefanprodan should I close this PR for a new one with the following change:istio-system.svc.cluster.local/public-gateway?

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update flagger-install-on-google-cloud

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-ab-testing

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-progressive-delivery.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update zero-downtime-deployments.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update faq.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-abtest.yaml

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-canary.yaml

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>
@Abhishek-569
Copy link
Author

@stefanprodan Can you try the updated PR?

@@ -21,7 +21,7 @@ spec:
portName: http
portDiscovery: true
gateways:
- public-gateway.istio-system.svc.cluster.local
- istio-system.svc.cluster.local/public-gateway
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you test this on a cluster? According to Istio docs this is not valid, the prefix should be a namespace not a hostname.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you tell me the required tools to test this on a cluster?

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-canary.yaml

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-abtest.yaml

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update faq.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update zero-downtime-deployments.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-progressive-delivery.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update istio-ab-testing.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>

Update flagger-install-on-google-cloud.md

Signed-off-by: Abhishek-569 <64806938+Abhishek-569@users.noreply.github.com>
@Abhishek-569
Copy link
Author

@stefanprodan please check and let me know.

@aryan9600
Copy link
Member

superseded by #1489

@aryan9600 aryan9600 closed this Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect format for istio gateways in docs
3 participants