This repository contains a collections of guides, tutorial and demos related to kcp.
- How to create a deployment in kcp that is synced to a physical cluster.
- Demo showing multi-workspaces isolation guarantee
- Guide on how to export CRDs
- Various ways to expose Knative APIs:
There are many different ways to create a Kubernetes cluster locally. Here are some examples.
-
Make sure kind is installed on your machine.
-
Create a k8s 1.24 cluster with network policies enabled:
kind create cluster --config kind/config-calico.yaml
-
Then install Calico:
kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/release-v3.24/manifests/calico.yaml \ kubectl -n kube-system set env daemonset/calico-node FELIX_IGNORELOOSERPF=true
-
Make sure k3d is installed on your machine.
-
Create a cluster named
workload:k3d cluster create workload --image rancher/k3s:v1.24.10-k3s1