Skip to content

Development Environment: Kubernetes

Jennings Zhang edited this page Apr 28, 2023 · 1 revision

There are many ways to achieve a development environment for pman. This topic is not well documented, please reach out on Matrix for assistance.

https://matrix.to/#/#chris-general:fedora.im

Using Kind

KinD (Kubernetes in Docker) is fast and easy if you already have Docker installed.

1. Create K8s Cluster

Use the script here to create a cluster and registry: https://kind.sigs.k8s.io/docs/user/local-registry/

2. Build pman

Build and push pman to your local registry:

docker buildx build -t localhost:5001/fnndsc/pman:subPath --push .

4. Deploy pman

Create pman (and pfcon) Kubernetes deployments. First, read and customize the file kubernetes/pman_dev.yaml and then run

 kubectl apply -f pman_dev.yaml