{"id":50165280,"url":"https://github.com/datum-cloud/unikraft-provider","last_synced_at":"2026-05-24T20:12:23.055Z","repository":{"id":350532284,"uuid":"1191778552","full_name":"datum-cloud/unikraft-provider","owner":"datum-cloud","description":"Unikraft 🤜🤛 Datum Cloud","archived":false,"fork":false,"pushed_at":"2026-05-16T11:01:29.000Z","size":223,"stargazers_count":2,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-16T13:08:27.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datum-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-25T15:21:37.000Z","updated_at":"2026-05-01T17:53:54.000Z","dependencies_parsed_at":"2026-05-16T13:04:26.236Z","dependency_job_id":null,"html_url":"https://github.com/datum-cloud/unikraft-provider","commit_stats":null,"previous_names":["datum-cloud/unikraft-provider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datum-cloud/unikraft-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datum-cloud%2Funikraft-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datum-cloud%2Funikraft-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datum-cloud%2Funikraft-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datum-cloud%2Funikraft-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datum-cloud","download_url":"https://codeload.github.com/datum-cloud/unikraft-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datum-cloud%2Funikraft-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33448775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T19:21:36.376Z","status":"ssl_error","status_checked_at":"2026-05-24T19:21:10.562Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-24T20:12:22.293Z","updated_at":"2026-05-24T20:12:23.046Z","avatar_url":"https://github.com/datum-cloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infra Provider Unikraft\n\nThis operator watches for Instance CRDs and creates corresponding Kubernetes Pods scheduled to a Kraftlet node.\n\n## Kraftlet\n\nUnikraft Cloud integrates seamlessly with any Kubernetes cluster through a virtual kubelet known as Kraftlet. More information in [Unikraft docs](https://unikraft.com/docs/integrations/kubernetes).\n\n### Prerequisites\n\n1. **Kubernetes cluster** - A running Kubernetes cluster for Kraftlet to join as node\n2. **Helm** - For installing Kraftlet\n3. **Go** - For running locally during development\n4. **kubectl** - For managing Kubernetes resources\n\n### 1. Install Kraftlet via Helm\n\n```bash\nhelm install kraftlet \\\n  --namespace kraftlet \\\n  --create-namespace \\\n  --set ukc.metro=$UKC_METRO \\\n  --set ukc.token=$UKC_TOKEN \\\n  --set image.tag=0.4.0 \\\n  --set kraftlet.podSyncWorkers=64 \\\n  --set kraftlet.podStatusUpdateInterval=\"5s\" \\\n  oci://ghcr.io/unikraft-cloud/helm-charts/kraftlet\n```\n\n#### 2. Install Datum CRDs\n\n```bash\nmake install\n```\n\nThis will install the Workload and Instance CRDs into your cluster.\n\n#### 3. Run the Operator Locally\n\n```bash\ngo run ./cmd/main.go --server-config=config/dev/example-same-cluster.yaml\n```\n\nThe operator is now running and will watch for CRD changes in your cluster.\n\n### 4. Apply Kubernetes resources\n\nYou can apply a Kubernetes Service and a Deployment to a cluster. Check the `examples/kraftlet` for resource configuration.\n\n```bash\nkubectl apply -f examples/instance.yaml\n```\n\nPods are scheduled to Kraftlet via nodeSelector. Kraftlet then deploys each container defined by a pod as an instance, and creates a UKC service based on the Kubernetes service configuration.\n\n\n### 5. Check live Datum Instance\n\nYou can apply a Kubernetes Service and a Deployment to a cluster. Check the `examples/kraftlet` for resource configuration.\n\n```bash\nkubectl get instances.compute.datumapis.com\n```\n\nShould return:\n\n```\nNAME                       AGE     READY   REASON     NETWORK IP   EXTERNAL IP\nexample-sandbox-instance   4m57s   True    PodReady   10.0.0.9 \n```\n\n## Testing\n\nEnd-to-end tests run against a hermetic kind cluster provisioned by\n[`datum-cloud/test-infra`](https://github.com/datum-cloud/test-infra) and\ndriven by [Task](https://taskfile.dev) + [Chainsaw](https://kyverno.github.io/chainsaw/).\n\n### Prerequisites\n\n- `docker`, `kind`\n- `task` (\u003e= 3.x), with `TASK_X_REMOTE_TASKFILES=1` exported\n- `chainsaw`\n- Downstream CRDs for `github.com/unikraft-cloud/k8s-operator` dropped into\n  `config/dependencies/unikraft-k8s-operator-crds/` (the upstream repo is\n  private so the CRDs cannot be fetched automatically)\n\n### Local flow\n\n```bash\nexport TASK_X_REMOTE_TASKFILES=1\ntask test:setup    # kind up, install CRDs, build + load image, deploy provider\ntask e2e           # run chainsaw tests\ntask test:teardown # delete kind cluster\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatum-cloud%2Funikraft-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatum-cloud%2Funikraft-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatum-cloud%2Funikraft-provider/lists"}