Dynamic Facts

While Project Syn doesn’t have mandatory dynamic facts, at VSHN we report a few. This page provides a reference for all dynamic facts collected at VSHN.

kubernetesVersion

The kubernetesVersion fact holds the following information about the cluster’s Kubernetes version.

major

The Kubernetes major version (generally just 1).

minor

The Kubernetes minor version.

gitVersion

The complete Kubernetes version as reported by Git.

The fact holds further build specific information, such as build date and compiler details.

Example
"kubernetesVersion": {
  "buildDate": "2021-10-15T20:13:58Z",
  "compiler": "gc",
  "gitCommit": "6438632813d72669a22c860cd6c218fd4fe4ec24",
  "gitTreeState": "clean",
  "gitVersion": "v1.21.1+6438632",
  "goVersion": "go1.16.6",
  "major": "1",
  "minor": "21",
  "platform": "linux/amd64"
}

openshiftVersion

The openshiftVersion fact holds information about the cluster’s OpenShift version. If the cluster is not running OpenShift, this fact is not present.

major

The OpenShift major version.

minor

The OpenShift minor version.

patch

The OpenShift patch version.

Example
"openshiftVersion": {
  "Major": "4",
  "Minor": "8",
  "Patch": "17"
}