From the command line, use microshift version to check the version
information.
$ microshift version
MicroShift Version: 4.10.0-0.microshift-e6980e25
Base OCP Version: 4.10.18Through the API, access the kube-public/microshift-version ConfigMap
to retrieve the same information.
$ oc get configmap -n kube-public microshift-version -o yaml
apiVersion: v1
data:
major: "4"
minor: "10"
version: 4.10.0-0.microshift-e6980e25
kind: ConfigMap
metadata:
creationTimestamp: "2022-08-08T21:06:11Z"
name: microshift-version
namespace: kube-publicThe MicroShift RPMs have an explicit dependency on the sos utility allowing to collect
configuration, diagnostic, and troubleshooting data to be provided to Red Hat Technical Support.
See Generating sos reports for technical support for more information on the
sosutility usage.
Log into the host running MicroShift and execute the following command to generate an obfuscated report that should not contain sensitive information.
sudo sos report --batch --cleanThe report archives can be found in the /var/tmp/sosreport-* files.
$ sudo ls -tr /var/tmp/sosreport-* | tail -2
/var/tmp/sosreport-host0-2022-11-24-pvbcaji-obfuscated.tar.xz
/var/tmp/sosreport-host0-2022-11-24-pvbcaji-obfuscated.tar.xz.sha256Upload the archives to Red Hat Technical Support as described in this section
The sos archives may consume significant disk space. Make sure to delete the report files after uploading them.
sudo rm -f /var/tmp/sosreport-*