Skip to main content
Version: v3

SystemApi

system API which providers information about the current system

  • system Example

Usage example:

import { useShell } from '@shell/apis';

const shell = useShell();
const rancherVersion = shell.system.rancherVersion;
console.log('Rancher Version:', rancherVersion);

Properties​

gitCommit​

gitCommit: string;

Git Commit for Rancher system running


isDevBuild​

isDevBuild: boolean;

If Rancher system is a Dev build


isPrereleaseVersion​

isPrereleaseVersion: boolean;

If Rancher system is a Pre-Release build/version


isRancherPrime​

isRancherPrime: boolean;

If Rancher system running is Prime


kubernetesVersion​

kubernetesVersion: string;

Rancher Kubernetes version


rancherVersion​

rancherVersion: string;

Rancher version


uiVersion​

uiVersion: string;

Rancher UI version