Skip to content

Commit 0f1b314

Browse files
committed
make generate-crd-docs
1 parent 7c195b5 commit 0f1b314

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

config/crd/bases/apisix.apache.org_apisixroutes.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ spec:
175175
required:
176176
- serviceName
177177
- servicePort
178-
- weight
179178
type: object
180179
type: array
181180
match:

config/crd/bases/apisix.apache.org_apisixupstreams.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,8 @@ spec:
258258
should process this ApisixUpstream resource.
259259
type: string
260260
loadbalancer:
261-
description: |-
262-
LoadBalancer specifies the load balancing algorithms to route traffic to the backend.
263-
Default is `roundrobin`.
264-
Can be `roundrobin`, `chash`, `ewma`, or `least_conn`.
265-
enum:
266-
- roundrobin
267-
- chash
268-
- ewma
269-
- least_conn
261+
description: LoadBalancer specifies the load balancer configuration
262+
for Kubernetes Service.
270263
properties:
271264
hashOn:
272265
default: vars
@@ -510,15 +503,8 @@ spec:
510503
- active
511504
type: object
512505
loadbalancer:
513-
description: |-
514-
LoadBalancer specifies the load balancing algorithms to route traffic to the backend.
515-
Default is `roundrobin`.
516-
Can be `roundrobin`, `chash`, `ewma`, or `least_conn`.
517-
enum:
518-
- roundrobin
519-
- chash
520-
- ewma
521-
- least_conn
506+
description: LoadBalancer specifies the load balancer configuration
507+
for Kubernetes Service.
522508
properties:
523509
hashOn:
524510
default: vars

docs/crd/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ ApisixUpstreamConfig defines configuration for upstream services.
13151315

13161316
| Field | Description |
13171317
| --- | --- |
1318-
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancing algorithms to route traffic to the backend. Default is `roundrobin`. Can be `roundrobin`, `chash`, `ewma`, or `least_conn`. |
1318+
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancer configuration for Kubernetes Service. |
13191319
| `scheme` _string_ | Scheme is the protocol used to communicate with the upstream. Default is `http`. Can be `http`, `https`, `grpc`, or `grpcs`. |
13201320
| `retries` _integer_ | Retries defines the number of retry attempts APISIX should make when a failure occurs. Failures include timeouts, network errors, or 5xx status codes. |
13211321
| `timeout` _[UpstreamTimeout](#upstreamtimeout)_ | Timeout specifies the connection, send, and read timeouts for upstream requests. |
@@ -1375,7 +1375,7 @@ definitions and custom configuration.
13751375
| --- | --- |
13761376
| `ingressClassName` _string_ | IngressClassName is the name of an IngressClass cluster resource. Controller implementations use this field to determine whether they should process this ApisixUpstream resource. |
13771377
| `externalNodes` _[ApisixUpstreamExternalNode](#apisixupstreamexternalnode) array_ | ExternalNodes defines a static list of backend nodes located outside the cluster. When this field is set, the upstream will route traffic directly to these nodes without DNS resolution or service discovery. |
1378-
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancing algorithms to route traffic to the backend. Default is `roundrobin`. Can be `roundrobin`, `chash`, `ewma`, or `least_conn`. |
1378+
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancer configuration for Kubernetes Service. |
13791379
| `scheme` _string_ | Scheme is the protocol used to communicate with the upstream. Default is `http`. Can be `http`, `https`, `grpc`, or `grpcs`. |
13801380
| `retries` _integer_ | Retries defines the number of retry attempts APISIX should make when a failure occurs. Failures include timeouts, network errors, or 5xx status codes. |
13811381
| `timeout` _[UpstreamTimeout](#upstreamtimeout)_ | Timeout specifies the connection, send, and read timeouts for upstream requests. |
@@ -1545,7 +1545,7 @@ them if they are set on the port level.
15451545

15461546
| Field | Description |
15471547
| --- | --- |
1548-
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancing algorithms to route traffic to the backend. Default is `roundrobin`. Can be `roundrobin`, `chash`, `ewma`, or `least_conn`. |
1548+
| `loadbalancer` _[LoadBalancer](#loadbalancer)_ | LoadBalancer specifies the load balancer configuration for Kubernetes Service. |
15491549
| `scheme` _string_ | Scheme is the protocol used to communicate with the upstream. Default is `http`. Can be `http`, `https`, `grpc`, or `grpcs`. |
15501550
| `retries` _integer_ | Retries defines the number of retry attempts APISIX should make when a failure occurs. Failures include timeouts, network errors, or 5xx status codes. |
15511551
| `timeout` _[UpstreamTimeout](#upstreamtimeout)_ | Timeout specifies the connection, send, and read timeouts for upstream requests. |

0 commit comments

Comments
 (0)