An open API service indexing awesome lists of open source software.

https://github.com/mudler/luet-k8s

Luet extension to build packages on kubernetes
https://github.com/mudler/luet-k8s

Last synced: 4 months ago
JSON representation

Luet extension to build packages on kubernetes

Awesome Lists containing this project

README

        

# (experimental) Luet Kubernetes CRD controller

Simple CRD that uses [luet](https://github.com/mudler/luet) and [img](https://github.com/genuinetools/img) to build packages on Kubernetes. It doesn't require `privileged` permissions, and builds the image as user `1000` in the workload pod.

If you need to build docker images only, have a look at [img-controller](https://github.com/mudler/img-controller/)

## Install

To install it in your k8s cluster:

```bash
$ kubectl apply -f https://raw.githubusercontent.com/mudler/luet-k8s/master/hack/kube.yaml
```

## Build packages

The controller expose a new `PackageBuild` Kubernetes resource type, which can be used to build docker images with `img` and packages with `luet`.

To build a package, for example:

```bash

$ cat <