Comments (6)
@zackery-parkhurst Looks like you are using version 3.5 of your gateway, and the opentelemetry
plugin in Kong 3.5 does not support datadog
in config.header_type
:
{
"default": "preserve",
"one_of": [
"preserve",
"ignore",
"b3",
"b3-single",
"w3c",
"jaeger",
"ot",
"aws",
"gcp"
],
"required": false,
"type": "string"
}
You can run kong:3.5
in docker with this command
docker run -e"KONG_DATABASE=off" -e"KONG_ADMIN_LISTEN=0.0.0.0:8001" -p"8001:8001" kong:3.5
Then you fetch the header_type
of config by:
curl 127.1:8001/schemas/plugins/opentelemetry | jq .fields[1].config.fields[10].header_type
You can see the result above. This does not include datadog
.
Can you try to paste your helm command to install KIC? I can help you to replace the Kong gateway version to 3.6.
from kubernetes-ingress-controller.
@zackery-parkhurst Looks like you are using version 3.5 of your gateway, and the
opentelemetry
plugin in Kong 3.5 does not supportdatadog
inconfig.header_type
:{ "default": "preserve", "one_of": [ "preserve", "ignore", "b3", "b3-single", "w3c", "jaeger", "ot", "aws", "gcp" ], "required": false, "type": "string" }
You can run
kong:3.5
in docker with this commanddocker run -e"KONG_DATABASE=off" -e"KONG_ADMIN_LISTEN=0.0.0.0:8001" -p"8001:8001" kong:3.5
Then you fetch the
header_type
of config by:curl 127.1:8001/schemas/plugins/opentelemetry | jq .fields[1].config.fields[10].header_type
You can see the result above. This does not include
datadog
.Can you try to paste your helm command to install KIC? I can help you to replace the Kong gateway version to 3.6.
@randmonkey I Install Gateway + KIC via terraform. Here is my install command:
resource "helm_release" "kong" {
name = var.kong_gateway_name
repository = "https://charts.konghq.com"
chart = "kong"
namespace = var.kong_gateway_namespace
version = "2.36.0"
values = [
<<EOF
.......
I am installing version 2.36.0 of the KIC helm chart.
Thank you for informing me that the plugin does not support Datadog header in the gateway version 3.5.
I was just going by what the documentation for the plugin version 3.5 stated:
I was also referencing the kong gateway changelog. Which stated that in version 3.5.0.0 the datadog header_type was added.
Is the version of gateway:3.5. Not the same version that is referenced in the documentation I have linked? I was a little confused when the plugin documentation for 3.5 and kong gateway changelog for version 3.5 both said the header_type was released in 3.5, but when I installed gateway version 3.5 it was not present.
I can try updating to a version of the chart that has kong3.6. Which looks like versions > 2.37.0 will install kong 3.6.
from kubernetes-ingress-controller.
You can also change the values in your file referred in your values
section if you have one, or add a set
section like this
esource "helm_release" "kong" {
name = var.kong_gateway_name
repository = "https://charts.konghq.com"
chart = "kong"
namespace = var.kong_gateway_namespace
version = "2.36.0"
values = [
<<EOF
....... ]
set {
name = image.tag
value = 3.6
}
As I checked with the gateway team, the datadog
in config.header_type
is only available with Kong enterprise edition. Please create an issue in the repo kong or docs to tell the mistake in the docs.
from kubernetes-ingress-controller.
As I checked with the gateway team, the datadog in config.header_type is only available with Kong enterprise edition.
Oh, this is new information. So your saying if I am using OSS I can't use the datadog in config.header_type regardless of what version of kong gateway I am on?
from kubernetes-ingress-controller.
As I checked with the gateway team, the datadog in config.header_type is only available with Kong enterprise edition.
Oh, this is new information. So your saying if I am using OSS I can't use the datadog in config.header_type regardless of what version of kong gateway I am on?
In Kong OSS 3.7 (will soon be released), we can use datadog
in config.header_type
. For Kong gateway 3.5 and 3.6, it is only available in Kong Enterprise but not OSS.
from kubernetes-ingress-controller.
@randmonkey Thank you for this information. I will try again when 3.7 is released. I will go ahead and close this issue out!
from kubernetes-ingress-controller.
Related Issues (20)
- konnect update failures after realm added to key-auth plugin HOT 2
- Istio e2e test cases fails when istio bumped to 1.22.0 HOT 1
- Improve changelog processing to prevent conflicts
- Feature request for BackendLBPolicy
- Test Request: Kong Gateway EE version 3.7.0.0-rc.5 HOT 2
- Support custom entities in last known good configuration HOT 1
- Upgrade guide about upgrade to GWAPI v1.1 and KIC v3.2
- HTTPRoute status is reconciled regardless of `Gateway`'s `AllowedRoutes` and/or `--gateway-to-reconcile` flag
- Adjust translator golden test to cover KongClient with fallback configuration propagation
- Implement an isolated integration test covering fallback configuration propagation
- Generate cache snapshot before building current config only if cache changed
- Emit k8s events for fallback configuration
- Expose fallback configuration metrics HOT 1
- Admission webhook observability
- KIC + Konnect with sanitizer enabled continues to update consumer resources HOT 2
- Fallback configuration exploratory testing HOT 4
- Do not send config to Kong Gateway when no changes occurred
- Implement backfilling broken objects from last valid cache state
- Hot reload of mtls cert is broken. KIC can't fetch secret.
- Run Gateway API conformance with admission webhook HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-ingress-controller.