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

docs(kic): add konnect integration troubleshooting section #7853

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Sep 5, 2024

Description

Adds a Konnect integration section to the troubleshooting guide.

Testing instructions

Preview link: https://deploy-preview-7853--kongdocs.netlify.app/kubernetes-ingress-controller/latest/reference/troubleshooting/#debugging-konnect-integration

Checklist

@czeslavo czeslavo added the review:general Review for general accuracy and presentation. Does the doc work? Does it output correctly? label Sep 5, 2024
@czeslavo czeslavo self-assigned this Sep 5, 2024
Copy link

netlify bot commented Sep 5, 2024

Deploy Preview for kongdocs ready!

Name Link
🔨 Latest commit ef42923
🔍 Latest deploy log https://app.netlify.com/sites/kongdocs/deploys/66d94ba8a19730000807706a
😎 Deploy Preview https://deploy-preview-7853--kongdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
9 paths audited
Performance: 93 (🟢 up 3 from production)
Accessibility: 92 (no change from production)
Best Practices: 98 (🟢 up 8 from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@czeslavo czeslavo marked this pull request as ready for review September 5, 2024 06:35
@czeslavo czeslavo requested a review from a team as a code owner September 5, 2024 06:35
@czeslavo czeslavo requested a review from a team September 5, 2024 06:35
@@ -359,3 +359,19 @@ kong admin` for configuration push failures.
{{ site.kic_product_name }} provides Kubernetes Events to help understand the state of your system. Events occur when an invalid configuration is rejected by {{ site.base_gateway }} (`KongConfigurationApplyFailed`) or when an invalid configuration such as an upstream service that does not exist is detected (`KongConfigurationTranslationFailed`)..

For more information, see [Events](/kubernetes-ingress-controller/{{ page.release }}/production/observability/events/).

### Debugging Konnect integration
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
### Debugging Konnect integration
{% if_version gte:3.3.x %}
### Debugging {{ site.konnect_short_name }} integration


### Debugging Konnect integration

{{ site.kic_product_name }} needs to communicate with the Konnect cloud APIs to provide the [integration](/konnect/gateway-manager/kic).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{{ site.kic_product_name }} needs to communicate with the Konnect cloud APIs to provide the [integration](/konnect/gateway-manager/kic).
{{ site.kic_product_name }} needs to communicate with the {{ site.konnect_short_name }} cloud APIs to provide the [integration](/konnect/gateway-manager/kic).

### Debugging Konnect integration

{{ site.kic_product_name }} needs to communicate with the Konnect cloud APIs to provide the [integration](/konnect/gateway-manager/kic).
If you encounter an issue with that, you should first inspect logs from {{ site.kic_product_name }} to identify the root cause.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If you encounter an issue with that, you should first inspect logs from {{ site.kic_product_name }} to identify the root cause.
If you encounter issues with KIC in {{ site.konnect_short_name }}, you should first inspect logs from {{ site.kic_product_name }} to identify the root cause.

Comment on lines +368 to +370
From {{ site.kic_product_name }} v3.3.0, KIC logs every failed request/response's details (method, URL, status code) it
receives from Konnect. Also, if you set the `LOG_LEVEL` to `trace`, {{ site.kic_product_name }} will log _every_
request/response details it receives from Konnect.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
From {{ site.kic_product_name }} v3.3.0, KIC logs every failed request/response's details (method, URL, status code) it
receives from Konnect. Also, if you set the `LOG_LEVEL` to `trace`, {{ site.kic_product_name }} will log _every_
request/response details it receives from Konnect.
By default, KIC logs the details for every failed request and response (method, URL, status code) it
receives from {{ site.konnect_short_name }}. If you set the `LOG_LEVEL` to `trace`, {{ site.kic_product_name }} will log the details for _every_ request and response it receives from {{ site.konnect_short_name }}.

Request failed {"x_b3_traceid": "66c731200000000034ce3297e8e64544", "x_b3_spanid": "4e6955874299011d", "x_datadog_trace_id": "3805034363203503428", "x_datadog_parent_id": "5650141246939267357", "v": 0, "method": "GET", "url": "https://us.kic.api.konghq.tech/kic/api/control-planes/81bc4af5-ed3c-40b4-bb88-b5a05fbe34a1/oauth2?size=1000", "status_code": 404}
```

If your issue requires further investigation on the Konnect side, please attach logs with tracing information to your support ticket.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If your issue requires further investigation on the Konnect side, please attach logs with tracing information to your support ticket.
If your issue requires further investigation on the {{ site.konnect_short_name }} side, attach logs with tracing information to your support ticket.
{% endif_version %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:general Review for general accuracy and presentation. Does the doc work? Does it output correctly?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants