Closed TheAnachronism closed 1 year ago
The only thing that helped, was moving the teleport-cluster pod to a different node (or maybe even drain the node) and then installing it again. Still weird that teleport cannot recognize that the other process is the k8s pod running and not a teleport node instance.
To describe the setup, I have a bare-metal k8s cluster where the different nodes are VMs on multiple physical servers. I'd like to add these VMs to the teleport cluster, but the problem is, that the teleport cluster pod inside k8s is currently running on one of the worker nodes. The teleport installation script seems to be checking if anything teleport related is running, and somehow it thinks the teleport cluster pod is the process it would overwrite. I can't just kill the process it finds, as that is the cluster I want to add the node to. A solution would be to force teleport to go to a different node, but it seems more like a workaround than a direct solution.
Expected behavior: The installation script that gets provided by the cluster easily installs teleport, even with the cluster process running in the pod of the same node.
Current behavior: The installation script finds the cluster process and won't continue installing.
Bug details: