k8s cloud profile - unmet dependencies
I followed the guide on adding Kubernetes as a Cloud Profile, however, it says that there are no compatible configurations. It lists unmet requirements:
Incompatible runner:
Docker
Unmet requirements:
- docker.server.version exists
- docker.server.osType contains linux
What am I missing?
Please sign in to leave a comment.
Hi Jude,
This error message means that TeamCity was unable to gather the information about the docker daemon running on those agents, and thus docker builds are unavailable. The most common scenario for this is that, by default, the docker daemon is installed under root, and only users with the right privileges can run docker commands. The TeamCity agent's process does not have such permissions under those scenarios, leading exactly to this issue. This has little to do with teamcity itself, and is described under the docker documentation: https://docs.docker.com/install/linux/linux-postinstall/
Another possible scenario is that the teamcity process starts up earlier than the docker daemon, but this is very rare.
Could you check whether this is the issue you are facing?