Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1 KB

README.md

File metadata and controls

57 lines (35 loc) · 1 KB

K-Foundry

Getting Started

Running on kcp

  1. Run KCP with the following command:
make kcp-server

From this point onwards you can inspect kcp configuration using kubeconfig:

export KUBECONFIG=.test/kcp.kubeconfig
  1. Bootstrap the KCP server with the following command:
export KUBECONFIG=./.test/kcp.kubeconfig
make kcp-bootstrap
  1. Run controller:
export KUBECONFIG=./.test/kcp.kubeconfig
make run-local
  1. In separate shell you can run tests to exercise the controller:
export KUBECONFIG=./.test/kcp.kubeconfig
make test

Uninstall resources

To delete the resources from kcp:

make test-clean

How it works

This project aims to follow the Kubernetes Operator pattern

It uses Controllers which provides a reconcile function responsible for synchronizing resources until the desired state is reached.