Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.08 KB

UPDATE.md

File metadata and controls

50 lines (29 loc) · 1.08 KB

Update dependencies procedure

  1. Update go language toolchain runtime (go directive will be based on that)
wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
go version

Warning: gardener project doesn't work under 1.22+, please install 1.21.8 for E2E tests

wget https://go.dev/dl/go1.21.8.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.8.linux-amd64.tar.gz
go version
  1. Recreate go modules

rm go.mod go.sum

go mod init github.com/intel/gardener-extension-cri-resmgr go mod tidy

  1. Update base images in Dockerfile
  • builder image:

FROM golang:1.22.1-alpine3.19 AS builder

based on golang images.

  • installation image:

FROM debian:12.5 as gardener-extension-cri-resmgr-installation-and-agent

based on debian images.

  1. Update cri-resource-manager version in:
  • Dockerfile:

`COPY --from=intel/cri-resmgr-agent:v0.9.0 /bin/* /bin/'

  • Makefile:

CRI_RM_VERSION=0.9.0