-
Notifications
You must be signed in to change notification settings - Fork 16
Add KraftKit configuration file for KraftCloud #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @razvand,
please check out the requested changes and also fix the commit title.
We probably also need to switch to posix-mmap
due to lib-ukp-bin
only one comment from my side: You can use maps instead of lists if you fancy those
|
969be2a
to
31d5d85
Compare
@razvand running the commands you mentioned, I get this error at runtime: Everything build fine, the application image is there. Any idea? |
You need the latest |
31d5d85
to
fc2865b
Compare
Add `kraft.cloud.yaml` configuration file to build and run for KraftCloud. Build with: ``` kraft build --kraftfile kraft.cloud.yaml -j $(nproc) ``` Run with: ``` sudo kraft net create -n 172.44.0.1/24 kraft0 sudo kraft run --kraftfile kraft.cloud.yaml --network bridge:kraft0 --plat firecracker --initrd ./fs0 -a netdev.ipv4_addr=172.44.0.2 -a netdev.ipv4_gw_addr=172.44.0.1 -a netdev.ipv4_subnet_mask=255.255.255.0 -- -c /nginx/conf/nginx.conf ``` Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
fc2865b
to
ccb9545
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks.
Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good here. Thanks!
Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved-by: Marc Rittinghaus marc.rittinghaus@unikraft.io
Add
kraft.cloud.yaml
configuration file to build and run for KraftCloud.Build with:
kraft build --kraftfile kraft.cloud.yaml -j $(nproc)
Run with: