Skip to content

Commit b167eed

Browse files
authored
Add gateway class label to generated objects (#3955)
This proposes adding an optional new label to generated objects. This is useful for general querying, such as "find the total CPU usage of all pods created by <implementation>".
1 parent fb75360 commit b167eed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

geps/gep-1762/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ With this configuration, an implementation:
5959
6060
* MUST mark the Gateway as `Programmed` and provide an address in `Status.Addresses` where the Gateway can be reached on each configured port.
6161
* MUST label all generated resources (Service, Deployment, etc) with `gateway.networking.k8s.io/gateway-name: my-gateway` (where `my-gateway` is the name of the Gateway resource).
62+
* SHOULD label all generated resources (Service, Deployment, etc) with `gateway.networking.k8s.io/gateway-class-name: my-gateway-class` (where `my-gateway-class` is the name of the GatewayClass resource).
6263
* MUST provision generated resources in the same namespace as the Gateway if they are namespace scoped resources.
6364
* Cluster scoped resources are not recommended.
6465
* SHOULD name all generated resources `my-gateway-example` (`<NAME>-<GATEWAY CLASS>`).

0 commit comments

Comments
 (0)