Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arangogutierrez/k-foundry
https://github.com/arangogutierrez/k-foundry
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arangogutierrez/k-foundry
- Owner: ArangoGutierrez
- License: apache-2.0
- Created: 2024-04-28T11:11:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T09:14:04.000Z (7 months ago)
- Last Synced: 2024-12-17T05:24:06.107Z (about 1 month ago)
- Language: Go
- Size: 11.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# K-Foundry
## Getting Started
### Running on kcp
1. Run KCP with the following command:
```sh
make kcp-server
```From this point onwards you can inspect kcp configuration using kubeconfig:
```sh
export KUBECONFIG=.test/kcp.kubeconfig
```1. Bootstrap the KCP server with the following command:
```sh
export KUBECONFIG=./.test/kcp.kubeconfig
make kcp-bootstrap
```1. Run controller:
```sh
export KUBECONFIG=./.test/kcp.kubeconfig
make run-local
```1. In separate shell you can run tests to exercise the controller:
```sh
export KUBECONFIG=./.test/kcp.kubeconfig
make test
```### Uninstall resources
To delete the resources from kcp:```sh
make test-clean
```### How it works
This project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/)It uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/)
which provides a reconcile function responsible for synchronizing resources until the desired state is reached.