diff --git a/website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx b/website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx index 525003c66773..e6344a5b1ed1 100644 --- a/website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx +++ b/website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx @@ -40,11 +40,6 @@ The following outline shows how to format the configurations in the `GatewayClas * [`logLevel`](#loglevel): string | optional * [`nodeSelector`](#nodeselector): string | optional * [`serviceType`](#servicetype): string | optional -* [`tolerations`](#tolerations): array of objects | optional - * [`key`](#tolerations): string | required - * [`operator`](#tolerations): string | required - * [`value`](#tolerations): string | optional - * [`effect`](#tolerations): string | optional * [`useHostPorts`](#usehostports): boolean | optional ## Specification @@ -175,42 +170,6 @@ You can specify the following strings: For more on Kubernetes services, see [Publishing Services](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types). -### tolerations -When operating Kubernetes, you can apply a _taint_ to a node. Kubernetes taints are properties that allow a node to repel pods. You can apply `tolerations` to your `GatewayClassConfig`, which allows pods to tolerate a taint and run on the nodes that would normally repel pods. - -* Type: Array of Objects -* Required: optional - -When a pod matches the taint configuration `key`, it processes the `operation` configuration to determine how to apply the `effect`. The `value` is a secondary property that allows you to refine the match. Refer to the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for additional information. - -The `tolerations` block has the following array of objects: - -| Parameter | Description | Type | Required | -| --- | --- | --- | --- | -| `key` | Specifies the `key` property for matching the node's taint configuration. Kubernetes taints are identified by their `key` properties. | String | Required | -| `operator` | Specifies an operation to apply for matching the taint to the toleration. You can specify the following strings:
  • `Equal`: Performs the action specified in the `effect` configuration if the `value` of the `key` in the taint configuration matches the `value` of the pod's `key` configuration.
  • `Exists`: Performs the action specified in the `effect` configuration if the `key` specified in the `tolerations` configuration exists in the taint configuration.
  • Default is `Equal`.| String | Required | -| `value` | Specifies a matching value in the taint node configuration when the `operator` is set to `Equal`. If a match is found, Consul API Gateway performs the action specified in the `effect` configuration. | String | Required if operator is set to `Equal`. | -| `effect` | Specifies the action that should occur when pod attempts to run on a tainted node. You can specify the following strings:
  • `NoExecute`: The node does not run the pod.
  • `NoSchedule`: The node may run the pod, but does not schedule it.
  • `PreferNoSchedule`: The node may run and schedule the pod, but the prod has a lower precedence than other pods being scheduled.
  • Default is `NoSchedule`. | String | Optional | - -In the following example, TBD - - - - ```yaml - apiVersion: api-gateway.consul.hashicorp.com/v1alpha1 - kind: GatewayClassConfig - metadata: - name: example-gateway-class-config - spec: - tolerations: - key: key1 - operator: Equal - value: value1 - effect: NoSchedule - -``` - - ### useHostPorts If set to `true`, then the Envoy container ports are mapped to host ports. * Type: boolean