<@U04S8PLJWMT> do I need to install `kind` before ...
# ask-ai
l
@kapa.ai do I need to install
kind
before I install abctl? or use abctl to install airbyte using
abctl local install
?
k
Short answer: No, you don’t need to install kind yourself before using abctl. - abctl is designed to create a local Kubernetes cluster using kind inside Docker for you. When you run abctl local install, it will use kind and Helm under the hood to set up Airbyte, so you can just run the abctl command. [[abctl overview](https://docs.airbyte.com/platform/deploying-airbyte/abctl); [abctl overview (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl)] - The docs also show abctl local install as the primary way to install/update a local Airbyte instance; you can run it directly without a separate kind setup. [[Install/manage local](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances); [Install/manage local (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances)] - If you want to manually interact with the cluster later (e.g., kubectl logs, load custom images), you may optionally install the kind and kubectl CLIs to inspect or tweak the cluster, but they’re not required just to install Airbyte with abctl. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq); [Developing locally](https://docs.airbyte.com/platform/contributing-to-airbyte/developing-locally)]
l
@kapa.ai if i have tried all these steps and still cannot get a kind cluster to create, what could be the cause? " • EC2 size has had no impact on kind cluster creation • EC2 reboot has had no impact on kind cluster creation • using --insecure-cookies has had no impact on kind cluster creation • upgrading to latest (ie. not stipulating --chart-version) has had no impact on kind cluster creation • running `docker run hello-world has had no impact on kind cluster creation • running abctl local uninstall has had no impact on kind cluster creation • running abctl local uninstall --persisted has had no impact on kind cluster creation • running sudo rm -rf ~/.airbyte/abctl has had no impact on kind cluster creation • running sudo chmod 755 /usr/local/bin/abctl after abctl local uninstall as per these docs has had no impact on kind cluster creation "
k
A message from kapa.ai
Based on the docs and the related GitHub issues, “kind cluster could not be created … failed to init node with kubeadm” tends to come from one of a few root causes. Since you’ve already tried instance resize, reboot, uninstall, and pruning, here are the most likely remaining causes to investigate: - Docker can run, but the kind control-plane container never starts or immediately exits - The error often appears as a failed docker exec into airbyte-abctl-control-plane because that container was never created or is gone. Running the docker run command manually (copied from the abctl error output) can surface the actual failure (permissions, cgroups, security options, storage). [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Troubleshooting abctl (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] - kubeadm init failing inside the control-plane - If the control-plane does start but kubeadm init fails, abctl will show the “failed to init node with kubeadm” message. Again, running the exact docker exec command manually can reveal the precise kubeadm error. Exit code 137 is commonly OOM-kill (out-of-memory), even when host free memory looks OK—Docker memory limits or WSL2 constraints can still bite. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-init-node-with-kubeadm); [Issue comment on 137/No such container](https://github.com/airbytehq/airbyte/issues/44914)] - Permissions or ownership problems on the abctl data directory - Several users reported that permission issues on ~/.airbyte/abctl prevented proper reuse or creation of state and were fixed by correcting permissions. While one workaround mentioned was chmod -R 777, the key point is to ensure abctl can read/write its data path. [[Issue 64508](https://github.com/airbytehq/airbyte/issues/64508); [Issue 41992](https://github.com/airbytehq/airbyte/issues/41992)] - Docker context/environment mismatches - Contributors noted improvements in abctl around detecting the right Docker context. If abctl points to a context where the engine isn’t actually running the containers, you’ll see “No such container: airbyte-abctl-control-plane.” Verifying the context and trying the docker commands directly can confirm. [[Issue 44914](https://github.com/airbytehq/airbyte/issues/44914)] - Resource or runtime constraints from containerized/virtualized environments - LXC/CT, WSL2, or constrained cgroup settings can prevent the privileged kind control-plane from starting (seccomp/apparmor/cgroup options are required). The troubleshooting guide explicitly suggests running the docker run printed by abctl to expose such failures. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Issue 44914 comments](https://github.com/airbytehq/airbyte/issues/44914)] What to try next, with evidence-based steps: - Re-run abctl with -v, copy the full “docker run … kindest/node” line it prints, and execute it manually to see the exact daemon error. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] - If abctl shows the docker exec kubeadm init line instead, copy and run that to see kubeadm’s detailed failure. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-init-node-with-kubeadm)] - Ensure ~/.airbyte/abctl exists and is writable by the user running abctl; fix ownership/permissions if needed. [[Issue 64508](https://github.com/airbytehq/airbyte/issues/64508); [Issue 41992](https://github.com/airbytehq/airbyte/issues/41992)] - Confirm your Docker context and that containers started by abctl appear in docker ps; if not, you may be targeting the wrong context/engine. [[Issue 44914](https://github.com/airbytehq/airbyte/issues/44914)] - If you’re on WSL2/LXC/CT, check cgroups, seccomp/apparmor allowances, and available memory inside the Docker VM; exit 125/137 logs from the manual docker run are the quickest way to pinpoint the constraint. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Issue 44914](https://github.com/airbytehq/airbyte/issues/44914)] If you can share the exact message you get when running the docker run or docker exec command manually, we can narrow it down further. The knowledge sources don’t document a single universal fix; they emphasize using the manual docker command to reveal the specific failure mode. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy)]
l
@kapa.ai give me commands to debug and I will share with you
k
A message from kapa.ai
Great—here’s a minimal set of commands to collect the most useful diagnostics. Please run them in order and paste the full outputs. 1) Run abctl with verbose logs - This shows the exact docker command abctl is trying to run.
Copy code
abctl local install -v
If it fails, copy the full “docker run … kindest/node” or “docker exec … kubeadm init …” line shown in the error. 2) If you see a docker run … kindest/node line, run it manually - This often reveals permission, cgroup, seccomp/apparmor, or network errors hidden by abctl. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Next troubleshoot](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)]
Copy code
# Paste and run exactly the docker run ... kindest/node... line from step 1
3) If you see a docker exec … kubeadm init line, run it manually - This exposes kubeadm’s actual failure (including OOM/exit 137, permissions, etc.). [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-init-node-with-kubeadm); [Next troubleshoot](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#failed-to-init-node-with-kubeadm)]
Copy code
# Paste and run exactly the docker exec --privileged airbyte-abctl-control-plane kubeadm init ... line from step 1
4) Check whether the control-plane container exists/runs - “No such container” indicates the kind control-plane never started.
Copy code
docker ps -a | grep airbyte-abctl-control-plane || echo "no control-plane container" docker logs airbyte-abctl-control-plane || echo "no logs"
If it exists but exited, share the logs. If it doesn’t exist, step 2’s error is key. [[44931](https://github.com/airbytehq/airbyte/issues/44931)] 5) Verify Docker is working and see basic info
Copy code
docker run --rm hello-world docker info docker context ls docker context show
Context mismatches can cause “No such container” when abctl targets a different engine. [[44914](https://github.com/airbytehq/airbyte/issues/44914); [Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] 6) Inspect abctl data directory permissions - Permission issues on this path have blocked installs on some hosts.
Copy code
echo $HOME ls -ld ~/.airbyte ~/.airbyte/abctl ~/.airbyte/abctl/data || true id -u; id -g
If paths exist but are not writable by your user, note it. [[41992](https://github.com/airbytehq/airbyte/issues/41992)] 7) If you’re on a VM/containerized environment (EC2/WSL2/LXC/CT), capture resource and kernel constraints - Exit 125/137 often points to resource/cgroup or security policy limits; the manual docker run output will show this, but sharing these helps:
Copy code
uname -a cat /etc/os-release || true free -h || true df -h /
If you’re on WSL2 or LXC/CT, please also note that environment explicitly. [[44914](https://github.com/airbytehq/airbyte/issues/44914); [53691](https://github.com/airbytehq/airbyte/issues/53691)] 8) After a failure, export kubeconfig (if any) and list pods - If the cluster partially came up, this gives us pod statuses/logs to inspect. [[Developing locally](https://docs.airbyte.com/platform/next/contributing-to-airbyte/developing-locally#using-abctl-for-airbyte-development)]
Copy code
kind export kubeconfig -n airbyte-abctl || true kubectl get pods -n airbyte-abctl || true
Share the outputs (especially from steps 1–3 and any error text from steps 4–5). From there, we can pinpoint the exact cause and next steps.
l
@kapa.ai i get this " sh-4.2$ docker exec --privileged airbyte-abctl-control-plane kubeadm init --con-v=6/kind/kubeadm.conf --skip-token-print - Error response from daemon: No such container: airbyte-abctl-control-plane "
k
A message from kapa.ai
Thanks—that “No such container: airbyte-abctl-control-plane” means the kind control‑plane container never got created, so abctl’s next step (kubeadm init via docker exec) can’t run. The docs recommend running the exact docker run … kindest/node… command that abctl prints to expose why the control‑plane container fails to start. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Failed to init node](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#failed-to-init-node-with-kubeadm)] Please run these and share the output: 1) Re-run abctl to capture the docker run line
Copy code
abctl local install -v
- In the error output, look for a long line starting with: docker run --name airbyte-abctl-control-plane … kindest/node:… - Copy that entire line and run it manually:
Copy code
# paste the exact docker run ... kindest/node... line from the abctl output and execute it
This usually reveals the root cause (permissions, cgroups, seccomp/apparmor, storage, or networking). [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] 2) Confirm whether the container appears at all
Copy code
docker ps -a | grep airbyte-abctl-control-plane || echo "no control-plane container" docker logs airbyte-abctl-control-plane || echo "no logs"
If it still doesn’t exist, the docker run output from step 1 is key. If it exists but exited, the logs will help. Similar “missing container” reports are tracked in the linked issues. [[44931](https://github.com/airbytehq/airbyte/issues/44931); [44914](https://github.com/airbytehq/airbyte/issues/44914)] 3) Double-check Docker context and basic health
Copy code
docker context ls docker context show docker run --rm hello-world docker info
A context mismatch can also lead to “No such container” when abctl is pointing at a different Docker engine. [[44914](https://github.com/airbytehq/airbyte/issues/44914)] Once you share the exact error from the manual docker run … kindest/node… command, we can pinpoint the fix. The official guidance specifically calls out running that command manually to surface meaningful errors. [[Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#error-running-docker-command); [Next troubleshoot](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)]
l
@kapa.ai do you see any issues with this aws ec2 instance environment info for running v1.7.0+? " sh-4.2$ mount | grep cgroup tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,net_cls,net_prio) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpu,cpuacct) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,devices) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,memory) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpuset) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,blkio) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,pids) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,hugetlb) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,perf_event) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,freezer) sh-4.2$ ls /sys/fs/cgroup blkio cpu,cpuacct cpuset freezer memory net_cls,net_prio perf_event systemd cpu cpuacct devices hugetlb net_cls net_prio pids sh-4.2$ uname -r 5.10.213-201.855.amzn2.x86_64 sh-4.2$ "
k
A message from kapa.ai
Short answer: nothing here jumps out as an obvious blocker for abctl/kind on v1.7.0+, but the data is incomplete to be fully confident. What your snippet shows - Kernel: Amazon Linux 2, kernel 5.10.213. No known abctl/kind incompatibility is called out in the docs for this kernel. [[EC2 guide](https://docs.airbyte.com/platform/1.7/deploying-airbyte/abctl-ec2)] - cgroups: classic cgroup v1 controllers mounted (cpu, memory, cpuset, etc.). kind can run on Docker with cgroup v1; the troubleshooting docs don’t flag cgroup v1 on AL2 as a known issue for creating the cluster. [[Troubleshooting abctl](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy)] - This does not look like the newer RHEL/Ubuntu kernels (6.12+), which trigger a separate Java heap detection issue during replication jobs, not during cluster creation. That issue affects running syncs, not kind creation. [[OOM on newer kernels](https://github.com/airbytehq/airbyte/issues/61698)] What’s still unknown (and commonly causes the “control-plane missing” symptom) - The exact docker run ... kindest/node... error. The docs explicitly advise running that command manually to reveal the underlying failure (permissions, storage, seccomp/apparmor, cgroups). [[Troubleshooting abctl](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] - Docker context/engine state. A mismatched Docker context can lead to “No such container: airbyte-abctl-control-plane.” [[No such container](https://github.com/airbytehq/airbyte/issues/44931); [kubeadm/init failing](https://github.com/airbytehq/airbyte/issues/44914)] - Filesystem/permissions of ~/.airbyte/abctl. Several users fixed install issues by correcting permissions or, in some cases, by rebooting. [[abctl uninstall/install fixes](https://github.com/airbytehq/airbyte/issues/52031); [reboot/perm notes](https://github.com/airbytehq/airbyte/issues/41992)] Given your environment: - Your kernel and cgroup layout are typical for Amazon Linux 2 and are not, by themselves, a documented blocker for kind creation with abctl 1.7.x. [[EC2 guide](https://docs.airbyte.com/platform/1.7/deploying-airbyte/abctl-ec2)] - Since the control-plane container is not present, the next step is to capture the output of the exact docker run ... kindest/node... line that abctl prints and run it manually; that is the primary method recommended in the docs to pinpoint the cause. [[Troubleshooting abctl](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy#error-running-docker-command)] If you share: - The full docker run ... kindest/node... error output, - docker context ls and docker info, - ls -ld ~/.airbyte ~/.airbyte/abctl ~/.airbyte/abctl/data, we can map it to the known failure modes documented in the troubleshooting guide and related issues. [[Troubleshooting abctl](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy); [44931](https://github.com/airbytehq/airbyte/issues/44931); [44914](https://github.com/airbytehq/airbyte/issues/44914)]