Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update the minimum required version of k3d #1016

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

Charlie17Li
Copy link
Contributor

Signed-off-by: charlie [email protected]

According to my test, I found that the minimum required version of k3d is v5.3.0

[root@master k8gb]# k3d cluster create -c k3d/edge-dns.yaml  # version: v5.1.0
FATA[0000] Cannot validate config file k3d/edge-dns.yaml: unsupported apiVersion 'k3d.io/v1alpha4' 
[root@master k8gb]# rm /usr/local/bin/k3d 
rm: remove regular file ‘/usr/local/bin/k3d’? y


[root@master k8gb]# curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.2.0 bash
Preparing to install k3d into /usr/local/bin
k3d installed into /usr/local/bin/k3d
Run 'k3d --help' to see what you can do with it.
[root@master k8gb]# k3d cluster create -c k3d/edge-dns.yaml
FATA[0000] Cannot validate config file k3d/edge-dns.yaml: unsupported apiVersion 'k3d.io/v1alpha4' 
[root@master k8gb]# rm /usr/local/bin/k3d 
rm: remove regular file ‘/usr/local/bin/k3d’? y


[root@master k8gb]# curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.2.1 bash
Preparing to install k3d into /usr/local/bin
k3d installed into /usr/local/bin/k3d
Run 'k3d --help' to see what you can do with it.
[root@master k8gb]# k3d cluster create -c k3d/edge-dns.yaml
FATA[0000] Cannot validate config file k3d/edge-dns.yaml: unsupported apiVersion 'k3d.io/v1alpha4' 
[root@master k8gb]# rm /usr/local/bin/k3d 
rm: remove regular file ‘/usr/local/bin/k3d’? y


[root@master k8gb]# curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.2.2 bash
Preparing to install k3d into /usr/local/bin
k3d installed into /usr/local/bin/k3d
Run 'k3d --help' to see what you can do with it.
[root@master k8gb]# k3d cluster create -c k3d/edge-dns.yaml
FATA[0000] Cannot validate config file k3d/edge-dns.yaml: unsupported apiVersion 'k3d.io/v1alpha4' 
[root@master k8gb]# rm /usr/local/bin/k3d 
rm: remove regular file ‘/usr/local/bin/k3d’? y


[root@master k8gb]# curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.3.0 bash
Preparing to install k3d into /usr/local/bin
k3d installed into /usr/local/bin/k3d
Run 'k3d --help' to see what you can do with it.
[root@master k8gb]# k3d cluster create -c k3d/edge-dns.yaml
INFO[0000] Using config file k3d/edge-dns.yaml (k3d.io/v1alpha4#simple) 
INFO[0000] Prep: Network                                
INFO[0000] Created network 'k3d-action-bridge-network'  
INFO[0000] Created image volume k3d-edgedns-images      
INFO[0000] Starting new tools node...                   
INFO[0001] Creating node 'k3d-edgedns-server-0'         
INFO[0008] Pulling image 'docker.io/rancher/k3d-tools:5.3.0' 

@netlify
Copy link

netlify bot commented Oct 27, 2022

Deploy Preview for k8gb-preview ready!

Name Link
🔨 Latest commit f029af5
🔍 Latest deploy log https://app.netlify.com/sites/k8gb-preview/deploys/6359fc2e8ff44500090bd20a
😎 Deploy Preview https://deploy-preview-1016--k8gb-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@jkremser jkremser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks a lot for the fix!

@ytsarev ytsarev merged commit 9eee9db into k8gb-io:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants