Skip to content

Commit

Permalink
Update and standardise admonitions (kubernetes-sigs#3066)
Browse files Browse the repository at this point in the history
* Update and standardise admonitions

* how you like that, search and replace?
  • Loading branch information
craigbox authored and BobyMCbobs committed Jul 10, 2024
1 parent 6098b13 commit 2199b26
Show file tree
Hide file tree
Showing 16 changed files with 87 additions and 64 deletions.
6 changes: 4 additions & 2 deletions site-src/api-types/backendtlspolicy.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# BackendTLSPolicy

??? example "Experimental Channel in v1.0.0+"
??? example "Experimental Channel since v1.0.0"

The `BackendTLSPolicy` resource is Alpha and part of the Experimental Channel in `v1.0.0+`.
The `BackendTLSPolicy` resource is Alpha and has been part of
the Experimental Channel since `v1.0.0`. For more information on release
channels, refer to our [versioning guide](/concepts/versioning).

[BackendTLSPolicy][backendtlspolicy] is a Gateway API type for specifying the TLS configuration
of the connection from the Gateway to a backend pod/s via the Service API object.
Expand Down
6 changes: 4 additions & 2 deletions site-src/api-types/gateway.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Gateway

??? success "Standard Channel in v0.5.0+"
??? success "Standard Channel since v0.5.0"

The `Gateway` resource is Beta and part of the Standard Channel in `v0.5.0+`.
The `Gateway` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

A `Gateway` is 1:1 with the lifecycle of the configuration of infrastructure.
When a user creates a `Gateway`, some load balancing infrastructure is
Expand Down
8 changes: 5 additions & 3 deletions site-src/api-types/gatewayclass.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# GatewayClass

??? success "Standard Channel in v0.5.0+"

The `GatewayClass` resource is Beta and part of the Standard Channel in `v0.5.0+`.
??? success "Standard Channel since v0.5.0"

The `GatewayClass` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

[GatewayClass][gatewayclass] is cluster-scoped resource defined by the
infrastructure provider. This resource represents a class of Gateways that can
Expand Down
8 changes: 4 additions & 4 deletions site-src/api-types/grpcroute.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# GRPCRoute

??? example "Experimental Channel in v0.6.0+"
??? success "Standard Channel since v1.1.0"

The `GRPCRoute` resource is Alpha and part of the Experimental Channel in
`v0.6.0+`. For more information on release channels, refer to the [related
documentation](/concepts/versioning).
The `GRPCRoute` resource is GA and has been part of the Standard Channel since
`v1.1.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

[GRPCRoute][grpcroute] is a Gateway API type for specifying routing behavior
of gRPC requests from a Gateway listener to an API object, i.e. Service.
Expand Down
19 changes: 12 additions & 7 deletions site-src/api-types/httproute.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# HTTPRoute

??? success "Standard Channel in v0.5.0+"
??? success "Standard Channel since v0.5.0"

The `HTTPRoute` resource is Beta and part of the Standard Channel in `v0.5.0+`.
The `HTTPRoute` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

[HTTPRoute][httproute] is a Gateway API type for specifying routing behavior
of HTTP requests from a Gateway listener to an API object, i.e. Service.
Expand Down Expand Up @@ -225,9 +227,11 @@ on `weight` and other fields.

#### Timeouts (optional)

??? example "Experimental Channel in v1.0.0+"
??? example "Experimental Channel since v1.0.0"

HTTPRoute timeouts are part of the Experimental Channel in `v1.0.0+`.
HTTPRoute timeouts have been part of the Experimental Channel since `v1.0.0`.
For more information on release channels, refer to our
[versioning guide](/concepts/versioning).

HTTPRoute Rules include a `Timeouts` field. If unspecified, timeout behavior is implementation-specific.

Expand All @@ -250,10 +254,11 @@ Reference the [timeouts][timeouts] API documentation for additional details.

##### Backend Protocol

??? example "Experimental Channel in v1.0.0+"

This concept is part of the Experimental Channel in `v1.0.0+`.
??? example "Experimental Channel since v1.0.0"

This concept has been part of the Experimental Channel since `v1.0.0`.
For more information on release channels, refer to our
[versioning guide](/concepts/versioning).

Some implementations may require the [backendRef][backendRef] to be labeled
explicitly in order to route traffic using a certain protocol. For Kubernetes
Expand Down
6 changes: 4 additions & 2 deletions site-src/api-types/referencegrant.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# ReferenceGrant

??? success "Standard Channel in v0.6.0+"
??? success "Standard Channel since v0.6.0"

The `ReferenceGrant` resource is Beta and part of the Standard Channel in `v0.6.0+`.
The `ReferenceGrant` resource is Beta and part of the
Standard Channel since `v0.6.0`. For more information on release
channels, refer to our [versioning guide](/concepts/versioning).

!!! note
This resource was originally named "ReferencePolicy". It was renamed
Expand Down
2 changes: 1 addition & 1 deletion site-src/blog/2021/introducing-v1alpha2.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ This is covered in more detail in [GEP 724](/geps/gep-709/).
The `ReferenceGrant` resource described below is currently only included in the
"Experimental" channel of Gateway API. For more information on release
channels, refer to the [related documentation](/concepts/versioning).
channels, refer to our [versioning guide](/concepts/versioning).

It is quite challenging to cross namespace boundaries in a safe manner. With
Gateway API, we had several key feature requests that required this capability.
Expand Down
44 changes: 24 additions & 20 deletions site-src/concepts/api-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ the cluster.

### GatewayClass

??? success "Standard Channel in v0.5.0+"
The `GatewayClass` resource is GA and has been part of the Standard Channel in
`v0.5.0+`. For more information on release channels, refer to the [related
documentation](/concepts/versioning).
??? success "Standard Channel since v0.5.0"

The `GatewayClass` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

GatewayClass defines a set of Gateways that share a common configuration and
behaviour. Each GatewayClass will be handled by a single controller, although
Expand All @@ -55,10 +56,11 @@ IngressClass object.

### Gateway

??? success "Standard Channel in v0.5.0+"
??? success "Standard Channel since v0.5.0"

The `Gateway` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to the [related
documentation](/concepts/versioning).
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

A Gateway describes how traffic can be translated to Services within the
cluster. That is, it defines a request for a way to translate traffic from
Expand Down Expand Up @@ -94,10 +96,11 @@ types may be added to the API in future.

#### HTTPRoute

??? success "Standard Channel in v0.5.0+"
The `HTTPRoute` resource is GA and has been part of the Standard Channel in
`v0.5.0+`. For more information on release channels, refer to the [related
documentation](/concepts/versioning).
??? success "Standard Channel since v0.5.0"

The `HTTPRoute` resource is GA and has been part of the Standard Channel since
`v0.5.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

HTTPRoute is for multiplexing HTTP or terminated HTTPS connections. It's intended
for use in cases where you want to inspect the HTTP stream and use HTTP request data
Expand All @@ -106,11 +109,11 @@ modifying them in-flight.

#### TLSRoute

??? example "Experimental Channel in v0.3.0+"
??? example "Experimental Channel since v0.3.0"

The `TLSRoute` resource is Alpha and has been part of the Experimental
Channel since `v0.3.0+`. For more information on release channels, refer to
the [related documentation](/concepts/versioning).
Channel since `v0.3.0`. For more information on release channels, refer to
our [versioning guide](/concepts/versioning).

TLSRoute is for multiplexing TLS connections, discriminated via SNI. It's intended
for where you want to use the SNI as the main routing method, and are not interested
Expand All @@ -119,11 +122,11 @@ connection is proxied without any inspection to the backend.

#### TCPRoute and UDPRoute

??? example "Experimental Channel in v0.3.0+"
??? example "Experimental Channel since v0.3.0"

The `TCPRoute` and `UDPRoute` resources are Alpha and have been part of the
Experimental Channel since `v0.3.0`. For more information on release
channels, refer to the [related documentation](/concepts/versioning).
channels, refer to our [versioning guide](/concepts/versioning).

TCPRoute (and UDPRoute) are intended for use for mapping one or more ports
to a single backend. In this case, there is no discriminator you can
Expand All @@ -135,11 +138,11 @@ is passed through to the backend.

#### GRPCRoute

??? example "Experimental Channel in v0.6.0+"
??? success "Standard Channel since v1.1.0"

The `GRPCRoute` resource is Alpha and has been part of the Experimental
Channel since `v0.6.0`. For more information on release channels, refer to
the [related documentation](/concepts/versioning).
The `GRPCRoute` resource is GA and has been part of the Standard Channel since
`v1.1.0`. For more information on release channels, refer to our [versioning
guide](/concepts/versioning).

GRPCRoute is for idiomatically routing gRPC traffic. Gateways supporting
GRPCRoute are required to support HTTP/2 without an initial upgrade from HTTP/1,
Expand Down Expand Up @@ -213,6 +216,7 @@ The following is required for a Route to be attached to a Gateway:
#### Referencing Gateways

??? example "Experimental Channel"

The `Port` field described below is currently only included in the
"Experimental" channel of Gateway API. For more information on release
channels, refer to the [related documentation](/concepts/versioning/#adding-experimental-fields).
Expand Down
10 changes: 6 additions & 4 deletions site-src/concepts/use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ separately.)

## Basic [north/south] use case

??? success "Standard Channel in v0.8.0+"
??? success "Standard Channel since v0.8.0"

The [north/south] use case is fully supported by the Standard Channel
in `v0.8.0+`.
since `v0.8.0`. For more information on release
channels, refer to our [versioning guide](/concepts/versioning).

Ana has created a microservice application which she wants to run in
Kubernetes. Her application will be used by clients outside the cluster, and
Expand Down Expand Up @@ -88,10 +89,11 @@ rollouts](/guides/traffic-splitting)).

## Multiple applications behind a single Gateway

??? success "Standard Channel in v0.8.0+"
??? success "Standard Channel since v0.8.0"

The [north/south] use case is fully supported by the Standard Channel
in `v0.8.0+`.
since `v0.8.0`. For more information on release
channels, refer to our [versioning guide](/concepts/versioning).

This is remarkably similar to the [basic north/south use
case](#basic-northsouth-use-case), but there are multiple application teams:
Expand Down
16 changes: 9 additions & 7 deletions site-src/contributing/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ Wherever possible, we try to clearly state which release channel a resource or
feature is currently included in, and which version it was introduced to that
channel. To accomplish that, we use admonitions that look like this:

??? success "Standard Channel in v0.5.0+"
??? success "Standard Channel since v0.5.0"

The `HTTPRoute` resource is GA and has been part of the Standard Channel
since `v0.5.0`. For more information on release channels, refer to the
[related documentation](/concepts/versioning).
since `v0.5.0`. For more information on release channels, refer to our
[versioning guide](/concepts/versioning).

??? example "Experimental Channel since v0.3.0"

??? example "Experimental Channel in v0.6.0+"
The `GRPCRoute` resource is Alpha and has been part of the Experimental
Channel since `v0.6.0`. For more information on release channels, refer to
the [related documentation](/concepts/versioning).
The `TLSRoute` resource is Alpha and has been part of the Experimental
Channel since `v0.3.0`. For more information on release channels, refer to
our [versioning guide](/concepts/versioning).

## Diagrams
In many cases, diagrams are the best way to explain a concept. Unfortunately
Expand Down
6 changes: 4 additions & 2 deletions site-src/guides/backend-protocol.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Backend Protocol

??? example "Experimental Channel in v1.0.0+"
??? example "Experimental Channel since v1.0.0"

This concept is part of the Experimental Channel in `v1.0.0+`.
This concept has been part of the Experimental Channel since `v1.0.0`.
For more information on release channels, refer to our
[versioning guide](/concepts/versioning).

Not all implementations of Gateway API support automatic protocol selection. In some cases protocols are disabled without an explicit opt-in.

Expand Down
2 changes: 1 addition & 1 deletion site-src/guides/grpc-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The `GRPCRoute` resource described below is currently only included in the
"Experimental" channel of Gateway API. For more information on release
channels, refer to the [related documentation](/concepts/versioning).
channels, refer to our [versioning guide](/concepts/versioning).

The [GRPCRoute resource](/api-types/grpcroute) allows you to match on gRPC traffic and
direct it to Kubernetes backends. This guide shows how the GRPCRoute matches
Expand Down
2 changes: 1 addition & 1 deletion site-src/guides/tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The `TCPRoute` resource described below is currently only included in the
"Experimental" channel of Gateway API. For more information on release
channels, refer to the [related documentation](/concepts/versioning).
channels, refer to our [versioning guide](/concepts/versioning).

Gateway API is designed to work with multiple protocols and [TCPRoute][tcproute]
is one such route which allows for managing [TCP][tcp] traffic.
Expand Down
2 changes: 1 addition & 1 deletion site-src/guides/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ implementation(s) you're using with Gateway API.

The `TLSRoute` and `BackendTLSPolicy` resources described below are currently only included in the
"Experimental" channel of Gateway API. For more information on release
channels, refer to the [related documentation](/concepts/versioning).
channels, refer to our [versioning guide](/concepts/versioning).

## Client/Server and TLS

Expand Down
6 changes: 3 additions & 3 deletions site-src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ same configuration.

## Gateway API for Ingress <a name="for-ingress"></a>

??? success "Standard in v0.5.0+"
??? success "Standard Channel since v0.5.0"

Gateway, GatewayClass, and HTTPRoute have been part of the Standard Channel
of Gateway API since v0.5.0 and are considered stable APIs. For more
Expand Down Expand Up @@ -54,10 +54,10 @@ resources), in the same cluster.

## Gateway API for Service Mesh (the [GAMMA initiative](/mesh/gamma)) <a name="for-service-mesh"></a>

??? example "Standard in v1.2.0+"
??? success "Standard Channel since v1.2.0"

The [GAMMA initiative](/mesh/gamma) work for supporting service mesh use cases
is part of the Standard Channel of Gateway API since v1.2.0 and are considered stable APIs. For more
has been part of the Standard Channel since v1.2.0 and are considered stable APIs. For more
information refer to our [versioning guide](/concepts/versioning).

Things are a bit different when using Gateway API to manage a [service
Expand Down
8 changes: 4 additions & 4 deletions site-src/mesh/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

# Gateway API for Service Mesh

??? example "Experimental in v0.8.0+"
??? success "Standard Channel since v1.2.0"

Gateway API support for service mesh use cases is _experimental_ in `v0.8.0+`.
It is possible that it will change; we do not recommend it in production
at this point.
The [GAMMA initiative](/mesh/gamma) work for supporting service mesh use cases
has been part of the Standard Channel since v1.2.0 and are considered stable APIs. For more
information refer to our [versioning guide](/concepts/versioning).

The "[GAMMA initiative](/mesh/gamma)" refers to the group that is defining how
Gateway API can be used for Service Mesh. To date, this group has been able to
Expand Down

0 comments on commit 2199b26

Please sign in to comment.