Skip to content

Add instance resource allocation example#424

Draft
Roxanacmaria wants to merge 2 commits into
unikraft-cloud:mainfrom
Roxanacmaria:instance-resource-allocation
Draft

Add instance resource allocation example#424
Roxanacmaria wants to merge 2 commits into
unikraft-cloud:mainfrom
Roxanacmaria:instance-resource-allocation

Conversation

@Roxanacmaria

@Roxanacmaria Roxanacmaria commented Jul 8, 2026

Copy link
Copy Markdown

Summary

This PR adds a new Unikraft Cloud example for Instance Resource Allocation.

The example documents how to configure memory and virtual CPU allocation for instances running on Unikraft Cloud, both through the kraft CLI and through the Unikraft Cloud Platform API.

Current contents

  • README for the new instance-resource-allocation example
  • create files (Dockerfile, Kraftfile,server.py,test_resources.py, ukc.config.template)
  • validate and refine the example implementation
  • functional testing on Unikraft Cloud
  • final cleanup and review

Scope of the example

The example is intended to cover:

  • configuring instance memory with -M / --memory
  • configuring virtual CPUs with -V / --vcpus
  • deploying an instance with custom resource allocation
  • retrieving instance information to verify the configured resources
  • using equivalent API-based operations

Status

Draft / work in progress.

@Roxanacmaria Roxanacmaria marked this pull request as draft July 8, 2026 11:25
@Roxanacmaria Roxanacmaria changed the title Adding the README.md file Add instance resource allocation example Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant