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

Add step to get k3s latest version #2206

Merged
merged 8 commits into from
Oct 11, 2023
Merged

Add step to get k3s latest version #2206

merged 8 commits into from
Oct 11, 2023

Conversation

hlts2
Copy link
Contributor

@hlts2 hlts2 commented Oct 10, 2023

Description:

An error occurred when deploying the chaos mesh.
This is due to the kubernetes client minor version and server minor version differing by more than +-1.
https://github.com/vdaas/vald/actions/runs/6463480427/job/17546710210

check Kubernetes failed, error: WARNING: version difference between client (1.28) and server (1.25) exceeds the supported minor version skew of +/-1

When creating the cluster in k3d, the latest version was not deployed, although the latest version was specified.
So I added the actions job step to get the latest k3s version from docker registry.

Related Issue:

Versions:

  • Go Version: 1.21.1
  • Docker Version: 20.10.8
  • Kubernetes Version: v1.28.2
  • NGT Version: 2.1.3

Checklist:

Special notes for your reviewer:

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@cloudflare-pages
Copy link

cloudflare-pages bot commented Oct 10, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4c8f5b2
Status: ✅  Deploy successful!
Preview URL: https://d72e2bcc.vald.pages.dev
Branch Preview URL: https://bugfix-ci-k3s-version.vald.pages.dev

View logs

@vdaas-ci
Copy link
Collaborator

Profile Report

typevald-agent-ngtvald-lb-gatewayvald-discoverervald-manager-index
cpu
heap
other images

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@hlts2 hlts2 changed the title Add k3s version Add step to get k3s latest version Oct 10, 2023
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@hlts2 hlts2 requested review from kevindiu, datelier, a team and kpango and removed request for kevindiu and a team October 10, 2023 10:38
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@hlts2 hlts2 merged commit 3af9773 into main Oct 11, 2023
82 of 83 checks passed
@hlts2 hlts2 deleted the bugfix/ci/k3s-version branch October 11, 2023 05:54
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
@vankichi vankichi mentioned this pull request Dec 4, 2023
kmrmt pushed a commit that referenced this pull request Dec 12, 2023
* feat: add k3s version

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: deleted unnecessary option and fix image name

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: fixed k3s version

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* feat: add step to get latest tag

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: get tag from docker hub

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: bugfix syntax

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* feat: add make command to update k3s version

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

---------

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants