jiayihu / fedra-thesis

Next-generation system for Computing Continuum via WebAssembly (WASM)
7 stars 2 forks source link

Try helm on k3s with krustlet #32

Closed jiayihu closed 3 years ago

jiayihu commented 3 years ago

Epic #12

jiayihu commented 3 years ago

Helm is basically a repository of YAML templates which allow configurable k8s resources. One could just use a Docker registry but configuration would be more troublesome, e.g. via env variable. Helm uses YAML config files instead.

A service could be seen as a Helm chart and Helm config files could also be used to store information about the service, like dependencies. The original idea was to use image annotations but Helm config looks more promising. It also allows to define Custom Resources Definitions, which could be handy to declare the need for IoT devices?

jiayihu commented 3 years ago

Since the k3s cluster is already working with a WASM Pod, also Helm charts with WASM pods are fine since it's just templating on top of YAML.

With Helm 3 there's also experimental support of distributing charts with OCI registries. Tested with both Google Container Registry and the new experimental Artifact Registry #38