Conversation
409d65f
to
4693d58
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.
I think, it makes sense to remove all targets that are not runnable on KraftCloud and also name the KraftCloud target accordingly. Also 9pfs is not supported on the plat. initrd is also the only option.
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 -- /redis.conf ``` Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
4693d58
to
8e2a37d
Compare
@marcrittinghaus, done. |
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.
There are some firecracker networking issues unrelated to this pr. This is fine.
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.
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: ``` 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 -- /redis.conf ``` Signed-off-by: Razvan Deaconescu <razvand@unikraft.io> Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com> Approved-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Closes: #19
This is to be used for KraftCloud deployments.