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
- Host: GitHub
- URL: https://github.com/mudler/luet-k8s
- Owner: mudler
- License: gpl-3.0
- Created: 2020-12-08T17:13:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T18:12:13.000Z (over 2 years ago)
- Last Synced: 2024-12-26T19:10:28.544Z (6 months ago)
- Language: Go
- Size: 232 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 <