-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Issue
I'm trying to setup Semaphore UI in a kubernetes cluster, but the first test run I take runs into an error:
8:56:06 PM Task 7 added to queue 8:56:07 PM Started: 7 8:56:07 PM Run TaskRunner with template: ping-test 8:56:07 PM Preparing: 7 8:56:07 PM Cloning Repository ssh://[email protected]:ansible/ansible.git 8:56:07 PM Cloning into 'repository_3_template_3'... 8:56:07 PM ssh: Could not resolve hostname gitlab-ssh.domain.tld:ansible: Name does not resolve 8:56:07 PM fatal: Could not read from remote repository.
But when running:
kubectl exec -n semaphore deployment/semaphore -- nslookup gitlab-ssh.domain.tld Server: 10.96.0.10 Address: 10.96.0.10:53
It resolves the server just fine:
Name: gitlab-ssh.domain.tld
Address: 10.10.10.10
Impact
Ansible (task execution)
Installation method
Package
Database
Postgres
Browser
No response
Semaphore Version
v2.16.18-80549f7-17557
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response