Release notes OpenShift Container Platform 4.7 Highlights of what is new and what has changed with this OpenShift Container Platform release Red Hat OpenShift Documentation Team

Commands:
oc adm catalog mirror <source_registry>/<repository>/<index_image>:<tag> file:///local/index
oc adm catalog mirror file:///v2/local/index <disconnected_registry>/<repository>
Using non-groupfied API resources is deprecated and will be removed in a future release, update apiVersion to "apps.openshift.io/v1" for your resource
registry.redhat.io/ubi8/go-toolset:1.13.4 registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.1 registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.0 registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.1 registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.0 registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.1 registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.0 registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.0 registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.1 registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.0 registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.1 registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.0
az ad app list --filter "displayname eq '<app_registration_name>'" --query '[].objectId'
038c2538-7c40-49f5-abe5-f59c59c29244
az ad app delete --id 038c2538-7c40-49f5-abe5-f59c59c29244
securityContext: fsGroup: 65534 1 runAsNonRoot: true runAsUser: 65534 2
oc get event -n default
LAST SEEN TYPE REASON OBJECT MESSAGE 6m22s Warning ResolutionFailed namespace/my-namespace constraints not satisfiable: my-operator is mandatory, my-operator has a dependency without any candidates to satisfy it
## Snippet to remove unauthenticated group from all the cluster role bindings for clusterrolebinding in cluster-status-binding discovery system:basic-user system:discovery system:openshift:discovery ; do ### Find the index of unauthenticated group in list of subjects index=USD(oc get clusterrolebinding USD{clusterrolebinding} -o json | jq 'select(.subjects!=null) | .subjects | map(.name=="system:unauthenticated") | index(true)'); ### Remove the element at index from subjects array patch clusterrolebinding USD{clusterrolebinding} --type=json --patch "[{'op': 'remove','path': '/subjects/USDindex'}]"; done
[Invalid memory setting: memory reservation (sched.mem.min) should be equal to memsize(8192). ]
oc delete --force -n <project_name> <pod_name>
"Warning TooManyOperatorGroups 11m operator-lifecycle-manager csv created in namespace with multiple operatorgroups, can't pick one automatically"
INFO Waiting up to 20m0s for the Kubernetes API at https://api.ostest.shiftstack.com:6443 INFO API v1.20.0+ba45583 up INFO Waiting up to 30m0s for bootstrapping to complete ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get "https://api.ostest.shiftstack.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 10.46.44.166:6443: connect: connection refused INFO Use the following commands to gather logs from the cluster INFO openshift-install gather bootstrap --help FATAL failed to wait for bootstrapping to complete: timed out waiting for the condition
rm -f openshift/99_openshift-cluster-api_master-machines-*.yaml openshift/99_openshift-cluster-api_worker-machineset-*.yaml
rm -f openshift/99_openshift-cluster-api_worker-machineset-*.yaml
oc patch route/canary -n openshift-ingress-canary -p '{"spec":{"tls":{"termination":"edge","insecureEdgeTerminationPolicy":"Redirect"}}}'
oc project openshift-cluster-csi-drivers
oc status
oc get pods
oc adm release info 4.7.0 --pullspecs
oc adm release info 4.7.1 --pullspecs
oc adm release info 4.7.2 --pullspecs
oc adm release info 4.7.3 --pullspecs
oc adm release info 4.7.4 --pullspecs
oc adm release info 4.7.5 --pullspecs
oc logs deploy/license-management-l4rvh
Found 2 pods, using pod/license-management-l4rvh-74595f8c9b-flgz9 + iptables -D PREROUTING -t nat -j VSYSTEM-AGENT-PREROUTING + true + iptables -F VSYSTEM-AGENT-PREROUTING -t nat + true + iptables -X VSYSTEM-AGENT-PREROUTING -t nat + true + iptables -N VSYSTEM-AGENT-PREROUTING -t nat iptables v1.6.2: can't initialize iptables table `nat': Permission denied
oc adm release info 4.7.6 --pullspecs
oc adm release info 4.7.7 --pullspecs
oc adm release info 4.7.8 --pullspecs
oc adm release info 4.7.9 --pullspecs
oc adm release info 4.7.11 --pullspecs
oc adm release info 4.7.12 --pullspecs
oc adm release info 4.7.13 --pullspecs
oc adm release info 4.7.16 --pullspecs
oc adm release info 4.7.18 --pullspecs
oc adm release info 4.7.19 --pullspecs
oc adm release info 4.7.21 --pullspecs
oc adm release info 4.7.22 --pullspecs
oc adm release info 4.7.23 --pullspecs
oc adm release info 4.7.24 --pullspecs
oc adm release info 4.7.28 --pullspecs
oc adm release info 4.7.29 --pullspecs
oc adm release info 4.7.30 --pullspecs
oc adm release info 4.7.31 --pullspecs
oc adm release info 4.7.32 --pullspecs
oc adm release info 4.7.33 --pullspecs
oc adm release info 4.7.34 --pullspecs
oc adm release info 4.7.36 --pullspecs
oc adm release info 4.7.37 --pullspecs
oc adm release info 4.7.38 --pullspecs
oc adm release info 4.7.39 --pullspecs
oc adm release info 4.7.40 --pullspecs
oc adm release info 4.7.41 --pullspecs
oc adm release info 4.7.42 --pullspecs
oc adm release info 4.7.43 --pullspecs
oc adm release info 4.7.44 --pullspecs
oc adm release info 4.7.45 --pullspecs
oc adm release info 4.7.46 --pullspecs
oc adm release info 4.7.47 --pullspecs
oc adm release info 4.7.48 --pullspecs
oc adm release info 4.7.49 --pullspecs
oc adm release info 4.7.50 --pullspecs
oc adm release info 4.7.51 --pullspecs
oc adm release info 4.7.52 --pullspecs
oc adm release info 4.7.54 --pullspecs
oc adm release info 4.7.55 --pullspecs
oc adm release info 4.7.56 --pullspecs
oc adm release info 4.7.59 --pullspecs