Kubernetes K3s Installation error with dial tcp: no such host

Hello together,
i try to install drone via mainfest on a k3s cluster inside k3d.
But unfortunatly i get the Error Message Post “http://gitea.home.test:9090/login/oauth/access_token”: dial tcp: lookup gitea.home.test on no such host

  • I run on the kubernetes cluster a gitea server which is reachable from the labtop via http://gitea.home.test:9090
  • I added a OAuth2 Application in Gitea to get the Client-ID and the Client-Secret.
  • I created the following deployment.yaml file:apiVersion: apps/v1 kind: Deployment metadata: name: drone namespace: drone labels: app: drone spec: replicas: 1 selector: matchLabels: app: drone template: metadata: labels: app: drone spec: volumes: - name: drone persistentVolumeClaim: claimName: drone containers: - name: drone image: drone/drone:2 imagePullPolicy: Always env: - name: "DRONE_GITEA_SERVER" value: http://gitea.home.test:9090 - name: "DRONE_GITEA_CLIENT_ID" value: <client_id> - name: "DRONE_GITEA_CLIENT_SECRET" value: <client-secret> - name: "DRONE_RPC_SECRET" value: <super-duper-secret> - name: "DRONE_SERVER_HOST" value: drone.home.test:9090 - name: "DRONE_SERVER_PORT" value: :80 - name: "DRONE_SERVER_PROTO" value: http - name: "DRONE_GIT_ALWAYS_AUTH" value: "true" - name: "DRONE_LOGS_DEBUG" value: "true" - name: "DRONE_LOGS_TEXT" value: "true" - name: "DRONE_LOGS_PRETTY" value: "true" - name: "DRONE_LOGS_COLOR" value: "true" ports: - containerPort: 80 volumeMounts: - mountPath: /var/lib/drone name: drone subPath: server
  • I open the drone web page xxx://drone.home.test:9090 click on continue and received the error message i described above.

What do i have to do to get drone running with gitea on my k3s cluster?

Thanks a lot for your support