Git Product home page Git Product logo

okd4-image-mirror-fix's Introduction

okd4-image-mirror-fix

THIS FIX IS NOT SUPPOSED TO BE USED ON OKD 4.7+ !!!

Prerequisite

  • install the oc client
  • install skopeo

Nothing special about that.

Call scripts and fix the broken OKD4 release images

Setup your repositories, OKD4 versions and tags in 0-variables.sh

Start fixing your images and create a new release image with fixed images, mirror it afterwards.

I'm not sure if it is really necessary to mirror the images after we created a completely new release image.

source ./0-variables.sh
source ./1-get-original-image-shas.sh
source ./2-fix-images.sh
source ./3-get-fixed-shas.sh
source ./4-get-sha-of-base-image.sh
source ./5-create-new-release-image.sh
source ./6-mirror-release-image-to-local-registry.sh

OKD 4.5 to 4.6 upgrade

If you want to upgrade from version: 2020-10-15 to version 2021-01-23 you must do this on all (!) nodes of your OKD 4.5 cluster:

ssh core@<node>
sudo su -

# Disable all repos before upgrading the cluster from 4.5 to 4.6.
grep enabled=1 /etc/yum.repos.d/*
find /etc/yum.repos.d/ -type f -exec sudo sed -i 's/enabled=1/enabled=0/g' {} +
grep enabled=1 /etc/yum.repos.d/*

reboot

Afterwards you should be able to upgrade.

Add new node to 4.6 cluster if you previously were on 4.5-2020-10-15

Adding a new node to a cluster that you previously upgraded from 4.5-2020-10-15 must be done this way:

  • create a self signed cert with your api-int.. in the SAN field
  • add this certificate and its key to this secret: openshift-machine-config-operator/machine-config-server-tls
  • and more ... TODO ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.