Closed BigBrather closed 6 months ago
@BigBrather I have similar error with rancher v2.7.9 and Driver Hetzner v5.0.1
Hi there. I have the same behavior with rancher v2.8.0 and v5.0.2 of Hetzner driver. Looking forward to an answer to @BigBrather's questions 🙂
Hi, I had the same issue. The problem was, that I had to add Cloud credentials firstly.
After installing Hetzner driver, I didn't see Hetzner option for adding Cloud credential. I just did hard refresh of page and the Hetzner option has appeard.
Rancher version v.2.7.9 and v5.0.2 of Hetzner driver.
In short:
Hi, I had the same issue. The problem was, that I had to add Cloud credentials firstly.
After installing Hetzner driver, I didn't see Hetzner option for adding Cloud credential. I just did hard refresh of page and the Hetzner option has appeard.
Rancher version v.2.7.9 and v5.0.2 of Hetzner driver.
In short:
- Install Hetzner driver.
- Go to the Cloud credentials -> Create -> Select Hetzner (If you can't see hetzner, try to hard refresh page)
- Go to Clusters -> Create -> Select Hetzner (RKE2) [There is something wrong with logo image]
- Click create cluster
It doesn't work for me, same versions as you Hetzen does not appear when updating.
Try to install Hetzner Node driver using Local cluster not UI.
Steps:
apiVersion: management.cattle.io/v3
kind: NodeDriver
metadata:
annotations:
lifecycle.cattle.io/create.node-driver-controller: "true"
privateCredentialFields: apiToken
generation: 13
name: hetzner
spec:
active: true
addCloudCredential: false
builtin: false
checksum: ""
description: ""
displayName: hetzner
externalId: ""
uiUrl: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
url: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/5.0.2/docker-machine-driver-hetzner_5.0.2_linux_amd64.tar.gz
whitelistDomains:
- storage.googleapis.com
Try to install Hetzner Node driver using Local cluster not UI.
Steps:
1. Uninstall existing Hetzner driver if it's already installed 2. Go to Local cluster using Rancher 3. Click import yaml in top right corner 4. Paste and click import:
apiVersion: management.cattle.io/v3 kind: NodeDriver metadata: annotations: lifecycle.cattle.io/create.node-driver-controller: "true" privateCredentialFields: apiToken generation: 13 name: hetzner spec: active: true addCloudCredential: false builtin: false checksum: "" description: "" displayName: hetzner externalId: "" uiUrl: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js url: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/5.0.2/docker-machine-driver-hetzner_5.0.2_linux_amd64.tar.gz whitelistDomains: - storage.googleapis.com
Works great, thanks for providing this solution!
Try to install Hetzner Node driver using Local cluster not UI.
Steps:
- Uninstall existing Hetzner driver if it's already installed
- Go to Local cluster using Rancher
- Click import yaml in top right corner
- Paste and click import:
apiVersion: management.cattle.io/v3 kind: NodeDriver metadata: annotations: lifecycle.cattle.io/create.node-driver-controller: "true" privateCredentialFields: apiToken generation: 13 name: hetzner spec: active: true addCloudCredential: false builtin: false checksum: "" description: "" displayName: hetzner externalId: "" uiUrl: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js url: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/5.0.2/docker-machine-driver-hetzner_5.0.2_linux_amd64.tar.gz whitelistDomains: - storage.googleapis.com
Your solution works for me, now I can create RKE1 and RKE2. Thank you!
I can't create a Kubernetes Cluster on Hetzner Cloud using RKE2/K3s.
Here's an example, when I have RKE1 selected, I can create a Kubernetes Cluster:
and
But when I select RKE2/K3s, the image on the Hetzner driver disappears:
After selecting Hetzner Cloud, I click continue, where I get to the next window, in which I save the values and click continue, and I get into a loop, I add a variable through the file and when continuing, it says to add credentials again:
I have a question for the GitHub audience:
And also have a question for the driver developers:
I am using Rancher v2.7.9 and Driver Hetzner v5.0.1.