https://github.com/arangogutierrez/k-foundry
https://github.com/arangogutierrez/k-foundry
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/arangogutierrez/k-foundry
- Owner: supercontainers
- License: apache-2.0
- Created: 2024-04-28T11:11:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T09:14:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T05:31:55.752Z (over 1 year ago)
- Language: Go
- Size: 11.4 MB
- Stars: 0
- Watchers: 3
- 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.