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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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


{{ 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).

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.


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.
Comment on lines +368 to +370
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 }}.


Here is an example of a failed request/response log entry:
```text
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 %}

Loading