This StackPack is used to create a near real-time synchronization of topology and their internal services from a Openshift cluster to StackState.
The StackState Openshift StackPack provides the following functionality:
Reporting the different type of workloads.
Reporting nodes, pods, containers and services.
To install the Openshift Stackpack, please go through the below steps.
The following prerequisites are required for manual installation:
A Openshift Cluster must be up and running.
Kubectl(1.14+)
binary
Cluster KubeConfig must be properly set in the path.
To gather your kube-state metrics:
Download Kube-State v.1.8.0 manifests zip file from the Kubernetes StackPack configuration page in your StackState instance
Apply:
kubectl apply -f <NAME_OF_THE_KUBE_STATE_MANIFESTS_FOLDER>
kube-state-metrics | 1.13 | 1.14 | 1.15 | 1.16 | 1.17 |
v1.6.0 | ✅ | ❌ | ❌ | ❌ | ❌ |
v1.7.2 | ✅ | ✅ | ❌ | ❌ | ❌ |
v1.8.0 | ✅ | ✅ | ✅ | ❌ | ❌ |
v1.9.5 | ❌ | ❌ | ❌ | ✅ | ❌ |
master | ❌ | ❌ | ❌ | ✅ | ✅ |
✅ Fully supported version range.
❌ The Openshift cluster has features the client-go library can't use (additional API objects, etc).
To execute the manual installation follow these steps:
Download the manual installation zip file from the Kubernetes StackPack configuration page in your StackState instance and extract it (if not done already).
Make sure the kubectl
binary version 1.14+ is installed.
From the command line run:
./install.sh {{config.baseUrl}}/stsAgent {{config.apiKey}}
Enter same cluster-name
value as used in the input box previously when asked after running this script.