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 |
Answered by
liamfallon
Oct 26, 2023
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/nullBTW, the gitea service type has been recently changed to KUBE_EDITOR='sed -i "s| type\: .*| type\: ClusterIP|g"' kubectl edit service -n gitea gitea |
1 reply
|
I have added this to the Nephio documentation in this PR |
0 replies
Answer selected by
liamfallon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have added this to the Nephio documentation in this PR
nephio-project/docs#69