Check the MicroShift version using the API
To begin troubleshooting, you must know your MicroShift version. One way to get this information is by using the API.
Procedure
-
To get the version number using the OpenShift CLI (
oc), view thekube-public/microshift-versionconfig map by running the following command:$ oc get configmap -n kube-public microshift-version -o yamlExample outputapiVersion: v1 data: major: "4" minor: "20" version: 4.20.0-0.microshift-fa441af87431 kind: ConfigMap metadata: creationTimestamp: "2025-11-03T21:06:11Z" name: microshift-version namespace: kube-public