Skip to content

Local Development Setup

Requirements

  • go >= 1.20
  • git, make and kubectl
  • Kustomize
  • Access to a Kubernetes cluster (Minikube, kind or a real cluster)

Clone the Repository

To bring up and start locally the ironcore-net project for development purposes clone the repository.

git clone git@github.com:ironcore-dev/ironcore-net.git
cd ironcore-net

Install cert-manager

If there is no cert-manager present in the cluster it needs to be installed.

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.2/cert-manager.yaml

Setup ironcore

Reference: ironcore docs

Setup ironcore-net with kind cluster

For local development with kind, a make target that builds and loads the apiserver/controller images and then applies the manifests is available via

  1. Build and apply ironcore-net apiserver and controller manager to the cluster
make kind-deploy
  1. Build and apply apinetlet to the cluster
make kind-build-load-restart-apinetlet
make kind-apply-apinetlet
  1. Build and apply metalnetlet to the cluster
make kind-build-load-restart-metalnetlet
make kind-apply-metalnetlet

Cleanup from kind cluster

make kind-delete
make kind-delete-apinetlet
make kind-delete-metalnetlet