Local Docker Talos with Cilium CNI #9849
-
Hello, I've been trying to run a local talos cluster with cilium and I am running into some issues getting it up and going.
The best I've gotten so far was running talosctl cluster create --with-kubespan --config-patch @patch.yml with patch (current path cluster:
network:
cni:
name: none
proxy:
disabled: true This times out with ◱ waiting for all k8s nodes to report ready: some nodes are not ready: [talos-default-controlplane-1 talos-default-worker-1]
context deadline exceeded When I try to install cilium with helm before that i get: helm install \
cilium \
cilium/cilium \
--version 1.15.6 \
--namespace kube-system \
--set ipam.mode=kubernetes \
--set kubeProxyReplacement=false \
--set securityContext.capabilities.ciliumAgent="{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}" \
--set securityContext.capabilities.cleanCiliumState="{NET_ADMIN,SYS_ADMIN,SYS_RESOURCE}" \
--set cgroup.autoMount.enabled=false \
--set cgroup.hostRoot=/sys/fs/cgroup
--set k8sServiceHost=localhost \
--set k8sServicePort=7445
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused That felt unintuitive to me, but I thought I'd give it a shot because the docs said that:
I feel like I'm missing something obvious and would really appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's right, the health check won't pass until the CNI is up. So you can skip the healthcheck. But you need to fetch cluster kubeconfig (it won't happen automatically as the health doesn't pass). Once the apid health passes, you can do |
Beta Was this translation helpful? Give feedback.
It's right, the health check won't pass until the CNI is up. So you can skip the healthcheck. But you need to fetch cluster kubeconfig (it won't happen automatically as the health doesn't pass).
Once the apid health passes, you can do
talosctl -n 10.5.0.2 khbeconfig
and proceed to helm install Cilium