Skip to content

Teleport Kubernetes agent does not work / keeps crashing #34393

Answered by webvictim
LarsSven asked this question in Q&A
Discussion options

You must be logged in to vote

This is likely an issue to do with the pod not having valid instance credentials (which are used for sending version information to the control plane) and not being able to use its existing join method to generate new ones, or some kind of internal UUID mismatch.

The simplest way to fix this is to delete the pod's state secret which holds its credentials, then restart the pod so it joins the cluster as a fresh agent. This requires that you have a valid join method configured in the chart values, so you should update your values and run a helm upgrade first if needed.

The secret is in the same namespace as the agent pod and called <helm-release-name>-0-state.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webvictim
Comment options

You must be logged in to vote
1 reply
@mehdibenfeguir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants