Wasm Autoscaler: Example#4260
Conversation
|
Build Succeeded 🥳 Build Id: bf5332ee-8799-4650-900b-baeca6fcad72 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
examples/wasmfleetautoscaler.yaml
Outdated
| function: 'scale' | ||
| # Config values to pass to the wasm program on startup | ||
| config: | ||
| scale_buffer: 10 |
There was a problem hiding this comment.
It might be buffer_size instead, following your main.go 🙂
| scale_buffer: 10 | |
| buffer_size: 10 |
There was a problem hiding this comment.
Also good catch.
lacroixthomas
left a comment
There was a problem hiding this comment.
Minor changes, otherwise LGTM !
Can't wait to see it all implemented, I was thinking, maybe we could add another example (later on, in another PR), about building another wasm but from another language ? Just to show that extism will be able to run the wasm build coming from any supported languages ? It's just an idea for later, might help for the doc as well 😄
Added a new WASM-based FleetAutoscaler example with supporting Go/Extism plugin code, build/test tooling, and a sample manifest. To run the unit and e2e tests, this compiled plugin is needed, so submitting it first. Work on agones-dev#4080
ba1dfe1 to
8ee6406
Compare
markmandel
left a comment
There was a problem hiding this comment.
Good catches! All fixed.
examples/wasmfleetautoscaler.yaml
Outdated
| function: 'scale' | ||
| # Config values to pass to the wasm program on startup | ||
| config: | ||
| scale_buffer: 10 |
There was a problem hiding this comment.
Also good catch.
|
Build Failed 😭 Build Id: 76cd1f50-5c5f-4c1f-9261-184d478aac40 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
Interesting flake: |
It's not related to your changes, but it's strange, from a unit test as well 🤔 |
|
Build Succeeded 🥳 Build Id: 364239fe-8ac7-44db-8643-f31dfd8dcc7f The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
What type of PR is this?
/kind feature
What this PR does / Why we need it:
Added a new WASM-based FleetAutoscaler example with supporting Go/Extism plugin code, build/test tooling, and a sample manifest.
Which issue(s) this PR fixes:
Work on #4080
Special notes for your reviewer:
To run the unit and e2e tests, this compiled plugin is needed, so submitting it first.