Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Add KraftKit configuration file for KraftCloud #12

Closed

Conversation

razvand
Copy link
Contributor

@razvand razvand commented Aug 23, 2023

Add kraft.cloud.yaml configuration file to build and run for KraftCloud.

Build with:

kraft build --kraftfile kraft.cloud.yaml -j $(nproc)

Run with:

kraft run --kraftfile kraft.cloud.yaml --plat firecracker --initrd ./fs0 --log-type basic --log-level debug -- /script.sql

Copy link
Member

@craciunoiuc craciunoiuc left a 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

@StefanJum
Copy link
Member

This will fail at runtime with

Powered by
o.   .o       _ _               __ _
Oo   Oo  ___ (_) | __ __  __ _ ' _) :_
oO   oO ' _ `| | |/ /  _)' _` | |_|  _)
oOo oOO| | | | |   (| | | (_) |  _) :_
 OoOoO ._, ._:_:_,\_._,  .__,_:_, \___)
      Prometheus 0.14.0~08bd4e5e-custom
-- warning: cannot find home directory; cannot read ~/.sqliterc
kraftcloud-x86_64_fc-x86_64: Error: unknown option: -
Use -help for a list of options.

I don't know if it is related to this pr, the build works fine, so we could merge it and leave it as an open issue.

Copy link
Member

@marcrittinghaus marcrittinghaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@marcrittinghaus marcrittinghaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has LIBUKMMAP which conflicts with requirements from lib-ukp-bin

Add `kraft.cloud.yaml` configuration file to build and run for
KraftCloud.

Build with:

```
kraft build --kraftfile kraft.cloud.yaml -j $(nproc)
```

Run with:

```
kraft run --kraftfile kraft.cloud.yaml --plat firecracker --initrd ./fs0 --log-type basic --log-level debug -- /script.sql
```

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
@razvand
Copy link
Contributor Author

razvand commented Aug 25, 2023

This has LIBUKMMAP which conflicts with requirements from lib-ukp-bin

@marcrittinghaus , fixed.

Copy link
Member

@marcrittinghaus marcrittinghaus left a 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ci/merged enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants