Skip to content

Commit 5a78504

Browse files
committed
Use -v=3 on KubeFlex hosting cluster kube-apiserver
To help debug Issue 2717, and any other deep mystery that may arise.
1 parent 93926dd commit 5a78504

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

docs/content/direct/release.md

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Making a new kubestellar release requires a contributor to do the following thin
5151

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

54+
- 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.
55+
5456
- 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.
5557

5658
- 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.

scripts/create-kind-cluster-with-SSL-passthrough.sh

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ nodes:
104104
nodeRegistration:
105105
kubeletExtraArgs:
106106
node-labels: "ingress-ready=true"
107+
- |
108+
kind: ClusterConfiguration
109+
apiServer:
110+
extraArgs: { v: "3" }
107111
extraPortMappings:
108112
- containerPort: 443
109113
hostPort: ${port}

scripts/create-kubestellar-demo-env.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ done
172172

173173
echo -e "Creating KubeFlex cluster with SSL Passthrough"
174174
if [ "$k8s_platform" == "kind" ]; then
175-
curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/v${kubestellar_version}/scripts/create-kind-cluster-with-SSL-passthrough.sh | bash -s -- --name kubeflex --nosetcontext
175+
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
176+
# TODO after PR 2719 merges: restore to https://raw.githubusercontent.com/kubestellar/kubestellar/main/scripts/create-kind-cluster-with-SSL-passthrough.sh
177+
# TODO when making next release: restore to https://raw.githubusercontent.com/kubestellar/kubestellar/v${kubestellar_version}/scripts/create-kind-cluster-with-SSL-passthrough.sh
176178
else
177179
k3d cluster create -p "9443:443@loadbalancer" --k3s-arg "--disable=traefik@server:*" kubeflex
178180
sleep 15

0 commit comments

Comments
 (0)