Skip to content

Commit

Permalink
Use -v=3 on KubeFlex hosting cluster kube-apiserver
Browse files Browse the repository at this point in the history
To help debug Issue 2717, and any other deep mystery that may arise.
  • Loading branch information
MikeSpreitzer committed Jan 20, 2025
1 parent 41af491 commit 52c4ae6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/content/direct/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Making a new kubestellar release requires a contributor to do the following thin

- Update the version in the core chart defaults, `core-chart/values.yaml`.

- In `scripts/create-kubestellar-demo-env.sh` restore the use of `https://raw.githubusercontent.com/kubestellar/kubestellar/v${kubestellar_version}/scripts/create-kind-cluster-with-SSL-passthrough.sh`, and delete this step from here. Note: merging this change will cause the script to be broken until the release is made.

- Update the version in `scripts/create-kubestellar-demo-env.sh`. Note: merging this change will cause the script to be broken until the release is made.

- Until we have our first stable release, edit the old docs README(`oldocs/README.md`, section "latest-stable-release") where it wishes it could cite a stable release but instead cites the latest release, to refer to the coming release.
Expand Down
4 changes: 4 additions & 0 deletions scripts/create-kind-cluster-with-SSL-passthrough.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ nodes:
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
- |
kind: ClusterConfiguration
apiServer:
extraArgs: { v: "3" }
extraPortMappings:
- containerPort: 443
hostPort: ${port}
Expand Down
4 changes: 3 additions & 1 deletion scripts/create-kubestellar-demo-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ done

echo -e "Creating KubeFlex cluster with SSL Passthrough"
if [ "$k8s_platform" == "kind" ]; then
curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/v${kubestellar_version}/scripts/create-kind-cluster-with-SSL-passthrough.sh | bash -s -- --name kubeflex --nosetcontext
curl -s https://raw.githubusercontent.com/MikeSpreitzer/kcp-edge-mc/refs/heads/alt-create-demo/scripts/create-kind-cluster-with-SSL-passthrough.sh | bash -s -- --name kubeflex --nosetcontext
# TODO after PR 2719 merges: restore to https://raw.githubusercontent.com/kubestellar/kubestellar/main/scripts/create-kind-cluster-with-SSL-passthrough.sh
# TODO when making next release: restore to https://raw.githubusercontent.com/kubestellar/kubestellar/v${kubestellar_version}/scripts/create-kind-cluster-with-SSL-passthrough.sh
else
k3d cluster create -p "9443:443@loadbalancer" --k3s-arg "--disable=traefik@server:*" kubeflex
sleep 15
Expand Down

0 comments on commit 52c4ae6

Please sign in to comment.