Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implements new wasm runtime based on vm pools #1669

Merged
merged 48 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
8f4265c
Add helm package
mathieuancelin Jul 4, 2023
1579d69
update helm index
mathieuancelin Jul 4, 2023
5357f0c
add new wasm pool
mathieuancelin Jul 4, 2023
3cbe3d0
working coraza
mathieuancelin Jul 5, 2023
f67736c
working coraza
mathieuancelin Jul 5, 2023
ee8cc3f
working coraza
mathieuancelin Jul 5, 2023
337b2d9
working on coraza
mathieuancelin Jul 5, 2023
f33956f
working on access validators
mathieuancelin Jul 5, 2023
a2ebb48
get rid of thread local
mathieuancelin Jul 6, 2023
ddae2a2
working on coraza
mathieuancelin Jul 6, 2023
b147cbc
fix concurrency issues
mathieuancelin Jul 6, 2023
80482d2
fix concurrency issues
mathieuancelin Jul 6, 2023
727cedd
fix #1642
mathieuancelin Jul 6, 2023
a8b92d7
fix #1644
mathieuancelin Jul 6, 2023
0bff93e
fix #1643
mathieuancelin Jul 6, 2023
36fcba0
rewrite OPA plugin to use wasm pool
Zwiterrion Jul 6, 2023
a1da193
fix #1646
Zwiterrion Jul 6, 2023
d82883e
Link issue, Closes #1646
Zwiterrion Jul 6, 2023
bd991eb
Update dev documentation websites
Jul 4, 2023
89c629b
chore: fix some tests
ptitFicus Jul 4, 2023
65f5a10
chore: fix some tests
ptitFicus Jul 4, 2023
3f09a57
chore: fix certificates api test
ptitFicus Jul 4, 2023
81dd1d1
chore: fix apikeys api tests
ptitFicus Jul 4, 2023
14a4ddd
chore: delete redundant test
ptitFicus Jul 4, 2023
2d6b09b
chore: attempt to fix flakky tests
ptitFicus Jul 4, 2023
0b31b63
chore: attempt to fix flakky tests
ptitFicus Jul 4, 2023
f718e5a
chore: attempt to fix flakky test
ptitFicus Jul 4, 2023
4e3abf4
chore: attempt to fix flakky test
ptitFicus Jul 4, 2023
5d46d00
chore: attempt to fix clakky tests
ptitFicus Jul 5, 2023
37746e6
fix #1652
mathieuancelin Jul 6, 2023
2bc66a9
first work on #1645
mathieuancelin Jul 6, 2023
7e2de98
fix #1645, fix #1647, fix #1653
mathieuancelin Jul 7, 2023
1230ed9
refactor wasm runtimes
mathieuancelin Jul 7, 2023
e58faf2
fix #1650
mathieuancelin Jul 7, 2023
6653b9e
fix #1649
mathieuancelin Jul 7, 2023
8092506
make unused duraiton configurable
mathieuancelin Jul 7, 2023
cdac69b
fix the killing routine
mathieuancelin Jul 8, 2023
197a720
Add new options for wasm vm lifecycle management
mathieuancelin Jul 10, 2023
bb7a1a8
rename internals
mathieuancelin Jul 10, 2023
8b00927
wasm runtime 4.0.0
Zwiterrion Jul 10, 2023
8ff2e5c
cleanup
mathieuancelin Jul 10, 2023
8925629
add test
mathieuancelin Jul 10, 2023
c8fc571
cleanup
mathieuancelin Jul 10, 2023
171c989
fix #1648
mathieuancelin Jul 10, 2023
1ee2290
fail on error
mathieuancelin Jul 10, 2023
dc792ef
more work on the new wasm runtime
mathieuancelin Jul 13, 2023
dbabe47
update lib extism bindings
mathieuancelin Jul 13, 2023
eb8ddc6
add more strategies for #1649
mathieuancelin Jul 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/devmanual/deploy/kubernetes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ <h3><a href="#deploy-an-otoroshi-cluster-on-a-cloud-provider-managed-kubernetes-
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:16.5.1-rc.1-dev
- image: maif/otoroshi:16.5.2-rc.1-dev
imagePullPolicy: IfNotPresent
name: otoroshi-worker
ports:
Expand Down Expand Up @@ -2561,7 +2561,7 @@ <h3><a href="#deploy-an-otoroshi-cluster-on-a-bare-metal-kubernetes-cluster" nam
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:16.5.1-rc.1-dev
- image: maif/otoroshi:16.5.2-rc.1-dev
imagePullPolicy: IfNotPresent
name: otoroshi-worker
ports:
Expand Down Expand Up @@ -3017,7 +3017,7 @@ <h3><a href="#deploy-an-otoroshi-cluster-on-a-bare-metal-kubernetes-cluster-usin
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:16.5.1-rc.1-dev
- image: maif/otoroshi:16.5.2-rc.1-dev
imagePullPolicy: IfNotPresent
name: otoroshi-worker
ports:
Expand Down
10 changes: 10 additions & 0 deletions docs/devmanual/install/setup-otoroshi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2073,14 +2073,19 @@ <h3><a href="#reference-configuration" name="reference-configuration" class="anc
location {
provider = ${?otoroshi.instance.provider}
provider = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_PROVIDER}
provider = ${?app.instance.provider}
zone = ${?otoroshi.instance.zone}
zone = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_ZONE}
zone = ${?app.instance.zone}
region = ${?otoroshi.instance.region}
region = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_REGION}
region = ${?app.instance.region}
datacenter = ${?otoroshi.instance.dc}
datacenter = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_DATACENTER}
datacenter = ${?app.instance.dc}
rack = ${?otoroshi.instance.rack}
rack = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_RACK}
rack = ${?app.instance.rack}
}
exposition {
url = ${?OTOROSHI_CLUSTER_RELAY_EXPOSITION_URL}
Expand Down Expand Up @@ -3298,14 +3303,19 @@ <h2><a href="#reference-configuration-for-env-variables" name="reference-configu
location {
provider = ${?otoroshi.instance.provider}
provider = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_PROVIDER}
provider = ${?app.instance.provider}
zone = ${?otoroshi.instance.zone}
zone = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_ZONE}
zone = ${?app.instance.zone}
region = ${?otoroshi.instance.region}
region = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_REGION}
region = ${?app.instance.region}
datacenter = ${?otoroshi.instance.dc}
datacenter = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_DATACENTER}
datacenter = ${?app.instance.dc}
rack = ${?otoroshi.instance.rack}
rack = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_RACK}
rack = ${?app.instance.rack}
}
exposition {
url = ${?OTOROSHI_CLUSTER_RELAY_EXPOSITION_URL}
Expand Down
5 changes: 5 additions & 0 deletions docs/devmanual/snippets/reference-env.conf
Original file line number Diff line number Diff line change
Expand Up @@ -717,14 +717,19 @@ otoroshi {
location {
provider = ${?otoroshi.instance.provider}
provider = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_PROVIDER}
provider = ${?app.instance.provider}
zone = ${?otoroshi.instance.zone}
zone = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_ZONE}
zone = ${?app.instance.zone}
region = ${?otoroshi.instance.region}
region = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_REGION}
region = ${?app.instance.region}
datacenter = ${?otoroshi.instance.dc}
datacenter = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_DATACENTER}
datacenter = ${?app.instance.dc}
rack = ${?otoroshi.instance.rack}
rack = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_RACK}
rack = ${?app.instance.rack}
}
exposition {
url = ${?OTOROSHI_CLUSTER_RELAY_EXPOSITION_URL}
Expand Down
5 changes: 5 additions & 0 deletions docs/devmanual/snippets/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1153,14 +1153,19 @@ otoroshi {
location {
provider = ${?otoroshi.instance.provider}
provider = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_PROVIDER}
provider = ${?app.instance.provider}
zone = ${?otoroshi.instance.zone}
zone = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_ZONE}
zone = ${?app.instance.zone}
region = ${?otoroshi.instance.region}
region = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_REGION}
region = ${?app.instance.region}
datacenter = ${?otoroshi.instance.dc}
datacenter = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_DATACENTER}
datacenter = ${?app.instance.dc}
rack = ${?otoroshi.instance.rack}
rack = ${?OTOROSHI_CLUSTER_RELAY_LOCATION_RACK}
rack = ${?app.instance.rack}
}
exposition {
url = ${?OTOROSHI_CLUSTER_RELAY_EXPOSITION_URL}
Expand Down
26 changes: 13 additions & 13 deletions docs/helm/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ entries:
otoroshi:
- apiVersion: v3
appVersion: 1.5.10
created: "2023-07-03T10:31:45.991746+02:00"
created: "2023-07-04T10:26:45.266757+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -28,7 +28,7 @@ entries:
version: 1.5.10
- apiVersion: v3
appVersion: 1.5.9
created: "2023-07-03T10:31:46.049403+02:00"
created: "2023-07-04T10:26:45.32062+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -53,7 +53,7 @@ entries:
version: 1.5.9
- apiVersion: v3
appVersion: 1.5.8
created: "2023-07-03T10:31:46.04201+02:00"
created: "2023-07-04T10:26:45.314246+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -78,7 +78,7 @@ entries:
version: 1.5.8
- apiVersion: v3
appVersion: 1.5.6
created: "2023-07-03T10:31:46.033635+02:00"
created: "2023-07-04T10:26:45.306758+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -103,7 +103,7 @@ entries:
version: 1.5.6
- apiVersion: v3
appVersion: 1.5.5
created: "2023-07-03T10:31:46.024933+02:00"
created: "2023-07-04T10:26:45.299734+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -128,7 +128,7 @@ entries:
version: 1.5.5
- apiVersion: v3
appVersion: 1.5.4
created: "2023-07-03T10:31:46.016958+02:00"
created: "2023-07-04T10:26:45.291826+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -153,7 +153,7 @@ entries:
version: 1.5.4
- apiVersion: v3
appVersion: 1.5.3
created: "2023-07-03T10:31:46.008019+02:00"
created: "2023-07-04T10:26:45.283041+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -178,7 +178,7 @@ entries:
version: 1.5.3
- apiVersion: v3
appVersion: 1.5.2
created: "2023-07-03T10:31:46.000254+02:00"
created: "2023-07-04T10:26:45.275542+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -203,7 +203,7 @@ entries:
version: 1.5.2
- apiVersion: v3
appVersion: 1.5.1
created: "2023-07-03T10:31:45.984541+02:00"
created: "2023-07-04T10:26:45.259334+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -228,7 +228,7 @@ entries:
version: 1.5.1
- apiVersion: v3
appVersion: 1.5.0
created: "2023-07-03T10:31:45.976782+02:00"
created: "2023-07-04T10:26:45.250997+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -253,7 +253,7 @@ entries:
version: 1.5.0
- apiVersion: v3
appVersion: 1.5.0-rc.4
created: "2023-07-03T10:31:45.969351+02:00"
created: "2023-07-04T10:26:45.242773+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -278,7 +278,7 @@ entries:
version: 1.5.0-rc.4
- apiVersion: v3
appVersion: 1.5.0-dev
created: "2023-07-03T10:31:45.961775+02:00"
created: "2023-07-04T10:26:45.235326+02:00"
dependencies:
- condition: global.prod
name: redis
Expand All @@ -301,4 +301,4 @@ entries:
urls:
- https://maif.github.io/otoroshi/helm/otoroshi-1.5.0-dev.tgz
version: 1.5.0-dev
generated: "2023-07-03T10:31:45.955046+02:00"
generated: "2023-07-04T10:26:45.226662+02:00"
18 changes: 9 additions & 9 deletions manual/src/main/paradox/content-pretty.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manual/src/main/paradox/content.json

Large diffs are not rendered by default.

Loading
Loading