You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ingress points should implement the knative/networking dataplane contract. #3911
Problem
I would like to see the HTTP endpoints exposed by knative/eventing as Addressables start implementing the knative/networking dataplane contract.
Exit Criteria
The contract is relatively simple: When a request comes in with:
K-Network-Probe: probe
K-Network-Hash: {string}
Then we respond with 200 OK and K-Network-Hash: {string}
Time Estimate (optional):
I'd expect this to take roughly a few days, the challenge will be simply enumerating the places that need it.
Additional context (optional)
We actually expose a way to wrap an existing handler to implement the contract here, which should make this a handful of lines of code per component.
Ultimately the goal of this is to enable us to create new abstractions that take advantage of kingress to target addressables that adhere to this contract. A simple example: exposing addressables as vanity domains (e.g. www.knative.rocks). A more complex example would be to take advantage of the host/path/header-based routing to start to look at API-gateway-like functionality.
An interesting application of the latter "complex" case would be to implement what @beemarie and @duglin have been after, since kingress would be able to do something like:
if Headers["Prefer"] == "async" then
target broker/channel
else
target ksvc
I think it would be useful, as well as probably expanding the appropriate conformance to ensure folks adhere. I started a thread in the delivery channel, but haven't heard anything.
Having a probing contract has been super helpful for us in networking (allowing KIngress to have a meaningful Status even if the underlying networking framework / API does not provide one out-of-the-box). It may be even possible to try probing through different transport options (H2C or H1) to allow some sort of plain-text protocol selection logic (very useful given that H2C upgrades are more likely than not to be unsupported by most proxies).
This probing contract, coupled with composibility through header match would allow even more layering that support the same probing contract and we can use the same prober / probing facilities to work with them all.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
Activity
grantr commentedon Aug 24, 2020
This part is probably not a good first issue, but once that list is in hand, the rest of it is.
pierDipi commentedon Aug 27, 2020
Does it need to be documented into our
addressables(Broker, Channel, ...) specs?mattmoor commentedon Aug 27, 2020
cc @tcnghia @vaikas
I think it would be useful, as well as probably expanding the appropriate conformance to ensure folks adhere. I started a thread in the delivery channel, but haven't heard anything.
https://knative.slack.com/archives/CR2141CGY/p1598117546001800
tcnghia commentedon Aug 27, 2020
I am +1 on this.
Having a probing contract has been super helpful for us in networking (allowing KIngress to have a meaningful Status even if the underlying networking framework / API does not provide one out-of-the-box). It may be even possible to try probing through different transport options (H2C or H1) to allow some sort of plain-text protocol selection logic (very useful given that H2C upgrades are more likely than not to be unsupported by most proxies).
This probing contract, coupled with composibility through header match would allow even more layering that support the same probing contract and we can use the same prober / probing facilities to work with them all.
runzexia commentedon Nov 12, 2020
I found that almost all HTTP endpoint are wrapped with drainer, and maybe we just need to modify the drainer in pkg and update deps to support it
github-actions commentedon Feb 11, 2021
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with
/reopen. Mark the issue asfresh by adding the comment
/remove-lifecycle stale.slinkydeveloper commentedon Feb 11, 2021
@runzexia from my understanding this issue is solved and we can close it, right?
pierDipi commentedon Feb 11, 2021
No, we should add this to the spec and create a conformance test.
slinkydeveloper commentedon Feb 11, 2021
/kind good-first-issue
For whoever wants to add a conformance test, you can get in touch with me and i can guide you through
github-actions commentedon May 14, 2021
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with
/reopen. Mark the issue asfresh by adding the comment
/remove-lifecycle stale.pierDipi commentedon May 17, 2021
/remove-lifecycle stale
github-actions commentedon Aug 28, 2021
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with
/reopen. Mark the issue asfresh by adding the comment
/remove-lifecycle stale.Receiver handles ingress probes
Receiver handles ingress probes
Receiver handles ingress probes
Receiver handles ingress probes (#1431)