Skip to content

Commit

Permalink
Merge branch 'main' into chore/automate-nfr
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Jul 16, 2024
2 parents fb5e5a6 + e7e0e1a commit d049d8f
Show file tree
Hide file tree
Showing 20 changed files with 328 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ jobs:
- name: Install cloud-provider-kind
run: |
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.2.0/cloud-provider-kind_0.2.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.2.0_linux_amd64.tar.gz
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.3.0/cloud-provider-kind_0.3.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.3.0_linux_amd64.tar.gz
- name: Run cloud-provider-kind
run: ./cloud-provider-kind & > cloud-provider-kind.log 2>&1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
- name: Install cloud-provider-kind
run: |
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.2.0/cloud-provider-kind_0.2.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.2.0_linux_amd64.tar.gz
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.3.0/cloud-provider-kind_0.3.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.3.0_linux_amd64.tar.gz
- name: Run cloud-provider-kind
run: ./cloud-provider-kind & > cloud-provider-kind.log 2>&1
Expand Down Expand Up @@ -130,8 +130,8 @@ jobs:

- name: Install cloud-provider-kind
run: |
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.2.0/cloud-provider-kind_0.2.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.2.0_linux_amd64.tar.gz
curl -fsSL -O https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.3.0/cloud-provider-kind_0.3.0_linux_amd64.tar.gz
tar -xvf cloud-provider-kind_0.3.0_linux_amd64.tar.gz
- name: Run cloud-provider-kind
run: ./cloud-provider-kind & > cloud-provider-kind.log 2>&1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Lint Actions
uses: reviewdog/action-actionlint@d99f1ceaf59e7db022a790dc308ccccb68dda71a # v1.53.0
uses: reviewdog/action-actionlint@4f8f9963ca57a41e5fd5b538dd79dbfbd3e0b38a # v1.54.0
with:
actionlint_flags: -shellcheck ""

Expand Down Expand Up @@ -129,4 +129,4 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Lint YAML
uses: reviewdog/action-yamllint@c23c5d4cd45b5cc16fa3e6e34073068b228cabeb # v1.17.0
uses: reviewdog/action-yamllint@4e4ba96d03a0e12a0e71c29e5fef1db309d09201 # v1.18.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ channel.

## Community Meetings

Every other Tuesday at 9:30AM Pacific / 5:30PM GMT
Every Tuesday at 9:30AM Pacific / 5:30PM GMT

For the meeting link, updates, agenda, and meeting notes, check the calendar below:

Expand Down
80 changes: 80 additions & 0 deletions tests/results/dp-perf/edge/edge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Results

## Test environment

NGINX Plus: false

GKE Cluster:

- Node count: 12
- k8s version: v1.29.4-gke.1043004
- vCPUs per node: 16
- RAM per node: 65855012Ki
- Max pods per node: 110
- Zone: us-east1-b
- Instance Type: n2d-standard-16

## Test1: Running latte path based routing

```text
Requests [total, rate, throughput] 30000, 1000.01, 999.98
Duration [total, attack, wait] 30.001s, 30s, 986.95µs
Latencies [min, mean, 50, 90, 95, 99, max] 562.91µs, 940.576µs, 912.579µs, 1.141ms, 1.212ms, 1.375ms, 12.402ms
Bytes In [total, mean] 4770000, 159.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:30000
Error Set:
```

## Test2: Running coffee header based routing

```text
Requests [total, rate, throughput] 29999, 1000.00, 999.97
Duration [total, attack, wait] 30s, 29.999s, 947.18µs
Latencies [min, mean, 50, 90, 95, 99, max] 602.01µs, 984.263µs, 961.474µs, 1.162ms, 1.221ms, 1.367ms, 16.033ms
Bytes In [total, mean] 4799840, 160.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:29999
Error Set:
```

## Test3: Running coffee query based routing

```text
Requests [total, rate, throughput] 29999, 1000.03, 1000.00
Duration [total, attack, wait] 29.999s, 29.998s, 875.67µs
Latencies [min, mean, 50, 90, 95, 99, max] 596.74µs, 998.15µs, 983.222µs, 1.188ms, 1.249ms, 1.386ms, 11.616ms
Bytes In [total, mean] 5039832, 168.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:29999
Error Set:
```

## Test4: Running tea GET method based routing

```text
Requests [total, rate, throughput] 30000, 1000.01, 999.97
Duration [total, attack, wait] 30.001s, 30s, 1.139ms
Latencies [min, mean, 50, 90, 95, 99, max] 611.07µs, 1.005ms, 983.916µs, 1.193ms, 1.257ms, 1.41ms, 19.537ms
Bytes In [total, mean] 4710000, 157.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:30000
Error Set:
```

## Test5: Running tea POST method based routing

```text
Requests [total, rate, throughput] 30000, 1000.04, 1000.00
Duration [total, attack, wait] 30s, 29.999s, 967.36µs
Latencies [min, mean, 50, 90, 95, 99, max] 595.57µs, 999.204µs, 982.831µs, 1.192ms, 1.255ms, 1.392ms, 14.948ms
Bytes In [total, mean] 4710000, 157.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:30000
Error Set:
```
45 changes: 45 additions & 0 deletions tests/results/ngf-upgrade/edge/edge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Results

## Test environment

NGINX Plus: false

GKE Cluster:

- Node count: 12
- k8s version: v1.29.4-gke.1043004
- vCPUs per node: 16
- RAM per node: 65855012Ki
- Max pods per node: 110
- Zone: us-east1-b
- Instance Type: n2d-standard-16

## Test: Send http /coffee traffic

```text
Requests [total, rate, throughput] 6000, 100.02, 100.01
Duration [total, attack, wait] 59.991s, 59.991s, 878.01µs
Latencies [min, mean, 50, 90, 95, 99, max] 687.75µs, 1.202ms, 1.174ms, 1.401ms, 1.463ms, 1.613ms, 12.928ms
Bytes In [total, mean] 960000, 160.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:6000
Error Set:
```

![http.png](http.png)

## Test: Send https /tea traffic

```text
Requests [total, rate, throughput] 6000, 100.02, 100.01
Duration [total, attack, wait] 59.991s, 59.99s, 966.11µs
Latencies [min, mean, 50, 90, 95, 99, max] 603.69µs, 1.182ms, 1.153ms, 1.384ms, 1.449ms, 1.623ms, 12.779ms
Bytes In [total, mean] 920039, 153.34
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:6000
Error Set:
```

![https.png](https.png)
Binary file added tests/results/ngf-upgrade/edge/http.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/results/ngf-upgrade/edge/https.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
194 changes: 194 additions & 0 deletions tests/results/scale/edge/edge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
# Results

## Test environment

NGINX Plus: false

GKE Cluster:

- Node count: 12
- k8s version: v1.29.4-gke.1043004
- vCPUs per node: 16
- RAM per node: 65855012Ki
- Max pods per node: 110
- Zone: us-east1-b
- Instance Type: n2d-standard-16

## Test TestScale_Listeners

### Reloads

- Total: 127
- Total Errors: 0
- Average Time: 148ms
- Reload distribution:
- 500ms: 127
- 1000ms: 127
- 5000ms: 127
- 10000ms: 127
- 30000ms: 127
- +Infms: 127

### Event Batch Processing

- Total: 386
- Average Time: 131ms
- Event Batch Processing distribution:
- 500ms: 349
- 1000ms: 386
- 5000ms: 386
- 10000ms: 386
- 30000ms: 386
- +Infms: 386

### Errors

- NGF errors: 0
- NGF container restarts: 0
- NGINX errors: 0
- NGINX container restarts: 0

### Graphs and Logs

See [output directory](./TestScale_Listeners) for more details.
The logs are attached only if there are errors.

## Test TestScale_HTTPSListeners

### Reloads

- Total: 128
- Total Errors: 0
- Average Time: 179ms
- Reload distribution:
- 500ms: 128
- 1000ms: 128
- 5000ms: 128
- 10000ms: 128
- 30000ms: 128
- +Infms: 128

### Event Batch Processing

- Total: 451
- Average Time: 128ms
- Event Batch Processing distribution:
- 500ms: 404
- 1000ms: 448
- 5000ms: 451
- 10000ms: 451
- 30000ms: 451
- +Infms: 451

### Errors

- NGF errors: 0
- NGF container restarts: 0
- NGINX errors: 0
- NGINX container restarts: 0

### Graphs and Logs

See [output directory](./TestScale_HTTPSListeners) for more details.
The logs are attached only if there are errors.

## Test TestScale_HTTPRoutes

### Reloads

- Total: 1001
- Total Errors: 0
- Average Time: 397ms
- Reload distribution:
- 500ms: 693
- 1000ms: 1001
- 5000ms: 1001
- 10000ms: 1001
- 30000ms: 1001
- +Infms: 1001

### Event Batch Processing

- Total: 1008
- Average Time: 450ms
- Event Batch Processing distribution:
- 500ms: 599
- 1000ms: 1008
- 5000ms: 1008
- 10000ms: 1008
- 30000ms: 1008
- +Infms: 1008

### Errors

- NGF errors: 0
- NGF container restarts: 0
- NGINX errors: 0
- NGINX container restarts: 0

### Graphs and Logs

See [output directory](./TestScale_HTTPRoutes) for more details.
The logs are attached only if there are errors.

## Test TestScale_UpstreamServers

### Reloads

- Total: 98
- Total Errors: 0
- Average Time: 127ms
- Reload distribution:
- 500ms: 98
- 1000ms: 98
- 5000ms: 98
- 10000ms: 98
- 30000ms: 98
- +Infms: 98

### Event Batch Processing

- Total: 101
- Average Time: 275ms
- Event Batch Processing distribution:
- 500ms: 99
- 1000ms: 100
- 5000ms: 101
- 10000ms: 101
- 30000ms: 101
- +Infms: 101

### Errors

- NGF errors: 0
- NGF container restarts: 0
- NGINX errors: 0
- NGINX container restarts: 0

### Graphs and Logs

See [output directory](./TestScale_UpstreamServers) for more details.
The logs are attached only if there are errors.

## Test TestScale_HTTPMatches

```text
Requests [total, rate, throughput] 30000, 1000.02, 999.99
Duration [total, attack, wait] 30s, 29.999s, 997.73µs
Latencies [min, mean, 50, 90, 95, 99, max] 562.3µs, 982.897µs, 935.099µs, 1.154ms, 1.224ms, 1.418ms, 21.942ms
Bytes In [total, mean] 4800000, 160.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:30000
Error Set:
```
```text
Requests [total, rate, throughput] 30000, 1000.03, 999.99
Duration [total, attack, wait] 30s, 29.999s, 1.259ms
Latencies [min, mean, 50, 90, 95, 99, max] 674.09µs, 1.061ms, 1.035ms, 1.258ms, 1.322ms, 1.488ms, 16.879ms
Bytes In [total, mean] 4800000, 160.00
Bytes Out [total, mean] 0, 0.00
Success [ratio] 100.00%
Status Codes [code:count] 200:30000
Error Set:
```

0 comments on commit d049d8f

Please sign in to comment.