Skip to content

Commit c3b0699

Browse files
committed
🌱 use v2 for make tilt-up and provide Docker socket
This PR changes the kind cluster, so that the docker socket of the host is available in the mgt-cluster. Otherwise you get: > Reconciler error" err="failed to create helper for managing the > externalLoadBalancer: failed to list containers: failed to list containers: > failed to list containers: Cannot connect to the Docker daemon > at unix:///var/run/docker.sock. Is the docker daemon running? Signed-off-by: Thomas Guettler <[email protected]>
1 parent 7c5bfa7 commit c3b0699

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

config/cso/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
cidrBlocks: ["192.168.0.0/16"]
1212
serviceDomain: "cluster.local"
1313
topology:
14-
class: docker-ferrol-1-27-v1
14+
class: docker-ferrol-1-27-v2
1515
controlPlane:
1616
metadata: {}
1717
replicas: 1

config/cso/clusterstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
autoSubscribe: false
1212
noProvider: true
1313
versions:
14-
- v1
14+
- v2

docs/develop/develop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Operator development requires a lot of iteration, and the “build, tag, push, u
1818
```shell
1919
make tilt-up
2020
```
21-
> To access the Tilt UI please go to: `http://localhost:10350`
21+
> To access the Tilt UI please go to: `http://localhost:10351`
2222
2323

2424
You should make sure that everything in the UI looks green. If not, e.g. if the clusterstack has not been synced, you can trigger the Tilt workflow again. In case of the clusterstack button this might be necessary, as it cannot be applied right after startup of the cluster and fails. Tilt unfortunately does not include a waiting period.

hack/kind-dev.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ kindV1Alpha4Cluster:
4444
nodes:
4545
- role: control-plane
4646
image: kindest/node:${CLUSTER_VERSION}
47+
extraMounts:
48+
- hostPath: /var/run/docker.sock
49+
containerPath: /var/run/docker.sock
4750
networking:
4851
podSubnet: "10.244.0.0/16"
4952
serviceSubnet: "10.96.0.0/12"

0 commit comments

Comments
 (0)