apiVersion: v1
kind: Pod
metadata:
name: static-ip
annotations:
k8s.v1.cni.cncf.io/networks: '[
{
"name": "<name>",
"ips": [ "192.0.2.205/24","2001:333:333::333/64" ],
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| """ | |
| Usage: python3 pp-rps-mc.py 1,2,52-53 > ran-rps-netqueues-fix.yaml ; oc apply -f ran-rps-netqueues-fix.yaml | |
| Updated April 2 2021 -- patch to address issue cnf1360 | |
| This script generates a MachineConfiguration OCP object that | |
| can be applied to a 4.6 cluster and adds additional tuning | |
| fixes related to networking. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: machineconfiguration.openshift.io/v1 | |
| kind: MachineConfig | |
| metadata: | |
| name: 50-master-blacklist-ipi | |
| labels: | |
| machineconfiguration.openshift.io/role: master | |
| spec: | |
| config: | |
| ignition: | |
| version: 3.1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -e | |
| source set-environment | |
| # Variables to set, suit to your installation | |
| export AIRGAP_REGISTRY_INDEX_TAG=olm-index/redhat-operator-index:v$OCP_RELEASE_MAIN | |
| export AIRGAP_REGISTRY_IMAGE_TAG=olm | |
| # Set these values to true for the catalog and miror to be created | |
| export RH_OP='true' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #version=RHEL8 | |
| ignoredisk --only-use=vda | |
| # System bootloader configuration | |
| bootloader --disabled | |
| autopart --type=plain --fstype=ext4 --nohome --noboot --noswap | |
| # Clear the Master Boot Record | |
| zerombr | |
| # Partition clearing information | |
| clearpart --all | |
| # Reboot after installation |
- Identify the pull image for the release. For example, for the latest OCP 4.4.x the
release.txtfor the corresponding release. For example here: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.4/release.txt
In this example, the latest 4.4.x it is 4.4.3 and it has this entry:
Pull From: quay.io/openshift-release-dev/ocp-release@sha256:039a4ef7c128a049ccf916a1d68ce93e8f5494b44d5a75df60c85e9e7191dacc
Validate your current version is in the list of upgrade path for the desired release. For 4.4.3 these are the possible upgrade paths:
-
Identify the
ovs-nodeof the Node hosting the Pods to monitor# oc get pods --selector="app=ovs-node" -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ovs-node-4hldj 1/1 Running 0 47h 198.18.100.16 worker-1 <none> <none>
ovs-node-bd9ln 1/1 Running 0 47h 198.18.100.12 master-1