Skip to content

Commit 7180e90

Browse files
committed
OCPBUGS-41989: Added a table to the nw-ingress-sharding.adoc
1 parent db76939 commit 7180e90

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

modules/nw-ingress-sharding.adoc

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,35 @@
66
[id="nw-ingress-sharding_{context}"]
77
= Ingress Controller sharding
88

9-
You can use Ingress sharding, also known as router sharding, to distribute a set of routes across multiple routers by adding labels to routes, namespaces, or both. The Ingress Controller uses a corresponding set of selectors to admit only the routes that have a specified label. Each Ingress shard comprises the routes that are filtered using a given selection expression.
9+
You can use Ingress sharding, also known as router sharding, to distribute a set of routes across multiple routers by adding labels to routes, namespaces, or both. The Ingress Controller uses a corresponding set of selectors to admit only the routes that have a specified label. Each Ingress shard comprises the routes that are filtered by using a given selection expression.
1010

1111
As the primary mechanism for traffic to enter the cluster, the demands on the Ingress Controller can be significant. As a cluster administrator, you can shard the routes to:
1212

13-
* Balance Ingress Controllers, or routers, with several routes to speed up responses to changes.
14-
* Allocate certain routes to have different reliability guarantees than other routes.
13+
* Balance Ingress Controllers, or routers, with several routes to accelerate responses to changes.
14+
* Assign certain routes to have different reliability guarantees than other routes.
1515
* Allow certain Ingress Controllers to have different policies defined.
1616
* Allow only specific routes to use additional features.
1717
* Expose different routes on different addresses so that internal and external users can see different routes, for example.
18-
* Transfer traffic from one version of an application to another during a blue green deployment.
18+
* Transfer traffic from one version of an application to another during a blue-green deployment.
1919
20-
When Ingress Controllers are sharded, a given route is admitted to zero or more Ingress Controllers in the group. A route's status describes whether an Ingress Controller has admitted it or not. An Ingress Controller will only admit a route if it is unique to its shard.
20+
When Ingress Controllers are sharded, a given route is admitted to zero or more Ingress Controllers in the group. The status of a route describes whether an Ingress Controller has admitted the route. An Ingress Controller only admits a route if the route is unique to a shard.
2121

22-
An Ingress Controller can use three sharding methods:
22+
With sharding, you can distribute subsets of routes over multiple Ingress Controllers. These subsets can be nonoverlapping, also called _traditional_ sharding, or overlapping, otherwise known as _overlapped_ sharding.
2323

24-
* Adding only a namespace selector to the Ingress Controller, so that all routes in a namespace with labels that match the namespace selector are in the Ingress shard.
24+
The following table outlines three sharding methods:
2525

26-
* Adding only a route selector to the Ingress Controller, so that all routes with labels that match the route selector are in the Ingress shard.
26+
[cols="1,3",options="header"]
27+
|===
28+
|Sharding method
29+
|Description
2730

28-
* Adding both a namespace selector and route selector to the Ingress Controller, so that routes with labels that match the route selector in a namespace with labels that match the namespace selector are in the Ingress shard.
31+
|Namespace selector
32+
|After you add a namespace selector to the Ingress Controller, all routes in a namespace that have matching labels for the namespace selector are included in the Ingress shard. Consider this method when an Ingress Controller serves all routes created in a namespace.
33+
34+
|Route selector
35+
|After you add a route selector to the Ingress Controller, all routes with labels that match the route selector are included in the Ingress shard. Consider this method when you want an Ingress Controller to serve only a subset of routes or a specific route in a namespace.
36+
37+
|Namespace and route selectors
38+
|Provides your Ingress Controller scope for both namespace selector and route selector methods. Consider this method when you want the flexibility of both the namespace selector and the route selector methods.
39+
|===
2940

30-
With sharding, you can distribute subsets of routes over multiple Ingress Controllers. These subsets can be non-overlapping, also called _traditional_ sharding, or overlapping, otherwise known as _overlapped_ sharding.

0 commit comments

Comments
 (0)