Minimal local install for development #414
-
The following minimal local install seems to work for me on a Macbook Pro M1 to get the nephio-operators running in vscode talking to a local kind cluster running in Docker.
Now you can run the Nephio controllers in vscode using the following configuration in your
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @liamfallon , I think the steps 3-8 can be scripted as follows: cat <<EOF | kind create cluster --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
image: kindest/node:v1.28.0
extraPortMappings:
- containerPort: 3000
hostPort: 3000
EOF
pushd "$(mktemp -d -t "kpt-pkg-XXX")" >/dev/null
for pkg in gitea porch-dev configsync resource-backend; do
kpt pkg get "https://github.com/nephio-project/nephio-example-packages.git/${pkg}@main" "$pkg"
kpt live init "$pkg"
kpt live apply "$pkg"
done
popd >/dev/null BTW, the gitea service type has been recently changed to KUBE_EDITOR='sed -i "s| type\: .*| type\: ClusterIP|g"' kubectl edit service -n gitea gitea |
Beta Was this translation helpful? Give feedback.
-
I have added this to the Nephio documentation in this PR |
Beta Was this translation helpful? Give feedback.
I have added this to the Nephio documentation in this PR
nephio-project/docs#69