This document is auto-generated by make docs
, and details what
data Insights Operator (IO) gathers from a cluster, the location
where it is stored in the IO archive, and the applicable version(s) of OpenShift.
Data stored in the conditional/
directory is only
gathered when certain conditions are met.
The IO pod operates in the openshift-insights
namespace and the
archives are packaged as .tar.gz
files in /var/lib/insights-operator
.
Collects API requests counts for the resources mentioned in the alert provided as a string parameter.
None
conditional/alerts/{alert_name}/api_request_counts.json
conditional/api_request_counts_of_resource_from_alert
- 4.10.0
- 4.9.6+
None
Collects active alerts from the Alertmanager
API V2 in the JSON format. Alert data is also
still included in the GatherMostRecentMetrics gatherer.
This adds new gatherer for gathering firing/active Prometheus alerts in JSON format as well. The original recent metrics gatherer still continues to gather the alerts (not in JSON) as well, but this can be removed in the future, and we will keep the data only in JSON.
None
config/alerts.json
clusterconfig/active_alerts
- 4.12.0
None
None
Collects the specified Custom Resource Definitions.
The following CRDs are gathered:
volumesnapshots.snapshot.storage.k8s.io
(10745 bytes)volumesnapshotcontents.snapshot.storage.k8s.io
(13149 bytes)
None
config/crd/{name}.json
clusterconfig/crds
- 4.6.0
None
None
Collects statuses of thecephclusters.ceph.rook.io
resources
from Openshift Data Foundation Stack.
Version | Path |
---|---|
< 4.13.0 | config/storage/{namespace}/{name}.json |
>= 4.13.0 | config/storage/{namespace}/cephclusters/{name}.json |
clusterconfig/ceph_cluster
- 4.12.0
- 4.8.49+
- 4.9.48+
- 4.10.31+
- 4.11.2+
In OCP 4.11 and OCP 4.12, the location of gathered data collides with data gathered by the StorageCluster gatherer. It is practically impossible to tell the two resources apart. Use with caution.
Collects anonymized CertificateSigningRequests
which weren't Verified, or
when Now < ValidBefore
or Now > ValidAfter
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/certificates/v1beta1/certificatesigningrequest.go#L78
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#certificatesigningrequestlist-v1beta1certificates
None
config/certificatesigningrequests
clusterconfig/certificate_signing_requests
- 4.5.0
- 4.3.25+
- 4.4.12+
None
Collects APIServer.config.openshift.io resource
https://github.com/openshift/api/blob/master/config/v1/types_apiserver.go
config/apiserver.json
cluster_apiserver
- 4.15.0
- 4.14.0+
- 4.13.19+
- 4.12.42+
- 4.11.54+
None
Collects the cluster Authentication
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/authentication.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#authentication-v1operator-openshift-io
config/authentication.json
clusterconfig/authentication
- 4.2.0
None
None
Collects the cluster FeatureGate
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/featuregate.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#featuregate-v1-config-openshift-io
config/featuregate.json
clusterconfig/feature_gates
- 4.2.0
None
None
Collects cluster images.config.openshift.io
resource definition.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/config_client.go#L72
- https://docs.openshift.com/container-platform/latest/rest_api/config_apis/image-config-openshift-io-v1.html#image-config-openshift-io-v1
config/image.json
clusterconfig/image
- 4.11.0
- 4.10.8+
None
Collects the image pruner configuration.
None
Version | Path |
---|---|
< 4.6.0 | config/imagepruner.json |
>= 4.6.0 | config/clusteroperator/{group}/{kind}/{name}.json |
clusterconfig/image_pruners
- 4.5.0
None
None
Collects the cluster Image Registry configuration
None
Version | Path |
---|---|
< 4.7.0 | config/imageregistry.json |
>= 4.7.0 | config/clusteroperator/imageregistry.operator.openshift.io/config/cluster.json |
>= 4.6.20 | config/persistentvolumes/{name}.json |
clusterconfig/image_registries
- 4.5.0
- 4.3.40+
- 4.4.12+
PersistentVolumes
were introduced in version 4.7.0 and backported to 4.6.20+.- If the Image Registry configuration uses any
PersistentVolumeClaim
for the storage, the correspondingPersistentVolume
definition is gathered.
Collects the cluster Infrastructure
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/infrastructure.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#infrastructure-v1-config-openshift-io
config/infrastructure.json
clusterconfig/infrastructures
- 4.2.0
None
None
Collects the cluster Ingress
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/ingress.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#ingress-v1-config-openshift-io
config/ingress.json
clusterconfig/ingress
- 4.2.0
None
None
Collects the cluster Network with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/network.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#network-v1-config-openshift-io
config/network.json
clusterconfig/networks
- 4.2.0
None
None
Collects the cluster OAuth with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/oauth.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#oauth-v1-config-openshift-io
config/oauth.json
clusterconfig/oauths
- 4.2.0
None
None
Collects information about pods and events from namespaces of degraded cluster operators. The collected information includes:
- Definitions for non-running (terminated, pending) Pods
- Previous (if container was terminated) and current logs of all related pod containers
- Namespace events
None
config/pod/{namespace}/{pod}.json
events/{namespace}.json
config/pod/{namespace}/logs/{pod}/{container}_{current|previous}.log
clusterconfig/operators_pods_and_events
- 4.8.2
- 4.6.35+
- 4.7.11+
- The data gathered by
ClusterOperatorPodsAndEvents
were originally gathered byClusterOperators
. TheClusterOperators
gather was split at 4.8.2 and the change was backported to 4.7.11 and 4.6.35. - The collected data was previously included as specifications for
ClusterOperators
, and it was initially introduced in version4.3.0
and later backported to version4.2.10+
.
Collects all the ClusterOperators
definitions and their related resources
from the operator.openshift.io
group.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/clusteroperator.go#L62
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#clusteroperatorlist-v1config-openshift-io
Version | Path |
---|---|
< 4.6.16 | config/clusteroperator/{kind}-{name}.json |
>= 4.6.16 | config/clusteroperator/{group}/{kind}/{name}.json |
< 4.8.2 | config/pod/{namespace}/{pod}.json |
< 4.8.2 | events/{namespace}.json |
clusterconfig/operators
- 4.2.0
None
config/pod/{namespace}/{pod}.json
andevents/
were moved to ClusterOperatorPodsAndEvents since4.8.2
, both were introduced at4.3.0
as part of this gatherer and backported to4.2.10+
.
Collects the cluster Proxy
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/proxy.go#L30
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#proxy-v1-config-openshift-io
config/proxy.json
clusterconfig/proxies
- 4.3.0
None
None
Collects the ClusterVersion
(including the cluster ID) with the name
'version' and its resources.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/clusterversion.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#clusterversion-v1config-openshift-io
- docs/insights-archive-sample/config/version.json
- docs/insights-archive-sample/config/pod
- docs/insights-archive-sample/events/
- docs/insights-archive-sample/config/id
Version | Path |
---|---|
>= 4.2.0 | config/version.json |
>= 4.2.0 | config/id |
>= 4.8.2 | config/pod/openshift-cluster-version/version.json |
>= 4.8.2 | events/openshift-cluster-version.json |
clusterconfig/version
- 4.2.0
None
None
Collects all ConfigMaps
from the openshift-config
namespace and specific ConfigMaps
from other namespaces (see Changes
for details).
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/configmap.go#L80
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#configmaplist-v1core
Version | Path |
---|---|
< 4.7.0 | config/configmaps/{configmap} |
>= 4.7.0 | config/configmaps/{namespace}/{name}/{configmap} |
clusterconfig/config_maps
- 4.5.0
- 4.3.25+
- 4.4.6+
cluster-monitoring-config
config map fromopenshift-monitoring
namespace since versions 4.6.22+ and 4.7.0+install-config
key from thecluster-config-v1
config map in thekube-system
namespace since versions 4.9.0+; originally stored asconfig/configmaps/kube-system/cluster-config-v1.json
, changed toconfig/configmaps/kube-system/cluster-config-v1/install-config
since 4.13.0+gateway-mode-config
config map fromopenshift-network-operator
namespace since 4.14.0+insights-config
config map fromopenshift-insights
namespace since 4.15.0+
If the content of a ConfigMap
contains a parseable PEM structure (like a certificate), it removes the inside of
PEM blocks. For ConfigMap
of type BinaryData
, it is encoded as standard base64. In the archive under configmaps,
we store the name of the namespace, the name of the ConfigMap
, and then each key.
For example: config/configmaps/NAMESPACENAME/CONFIGMAPNAME/CONFIGMAPKEY1
Collects essential information about running containers. Specifically, the age of pods, the set of running images and the container names are collected.
None
config/running_containers.json
clusterconfig/container_images
- 4.7.0
- 4.5.33+
- 4.6.1+
None
Collects ContainerRuntimeConfig
information.
- https://github.com/openshift/machine-config-operator/blob/master/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L402
- https://docs.okd.io/latest/rest_api/machine_apis/containerruntimeconfig-machineconfiguration-openshift-io-v1.html
config/containerruntimeconfigs/{name}.json
clusterconfig/container_runtime_configs
- 4.7.0
- 4.6.18+
None
Collects either current or previous containers logs for pods firing one of the alerts from the conditions fetched from insights conditions service.
None
conditional/namespaces/{namespace}/pods/{pod}/containers/{container}/{logs|logs-previous}/last-{tail-length}-lines.log
conditional/containers_logs
- 4.10.0
None
None
Collects CostManagementMetricsConfigs
definitions.
None
config/cost_management_metrics_configs/{name}.json
clusterconfig/cost_management_metrics_configs
- 4.10.0
- 4.8.27+
- 4.9.13+
None
Collects metrics from the Deployment Validation Operator's
metrics service. The metrics are fetched via the /metrics endpoint and
filtered to only include those with a deployment_validation_operator_
prefix.
If the DVO service is deployed in a namespace other than `openshift-deployment-validation-operator',
then the names of the workloads (e.g., namespace, deployment) are collected.
Otherwise, only the UIDs of those resources are collected.
None
config/dvo_metrics
clusterconfig/dvo_metrics
- 4.10.0
None
None
Collects statistics about resources deployed via HelmChart, counting only the resources
with app.kubernetes.io/managed-by=Helm
and helm.sh/chart
labels. The data is then summarized
and grouped by hashed namespace.
Resource types included:
- ReplicaSets
- DaemonSets
- StatefulSets
- Services
- Deployments
None
config/helmchart_info.json
workloads/helmchart_info
- 4.15.0
None
Collects HostSubnet
information.
- https://github.com/openshift/client-go/blob/master/network/clientset/versioned/typed/network/v1/hostsubnet.go
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#hostsubnet-v1-network-openshift-io
config/hostsubnet/{name}.json
clusterconfig/host_subnets
- 4.6.0
- 4.4.29+
- 4.5.15+
None
Closure which collects image streams from the provided namespace
Version | Path |
---|---|
>= 4.9.0 | conditional/namespaces/{namespace}/imagestreams/{name}.json |
conditional/image_streams_of_namespace
- 4.9.0
None
None
Collects top 100 InstallPlans
from openshift-*
namespaces. Because InstallPlans
have
unique generated names, it groups them by namespace and the "template" for name generation from field generateName
.
It also collects total number of all InstallPlans
and all non-unique InstallPlans
.
config/instalplans.json
clusterconfig/install_plans
- 4.7.0
- 4.5.33+
- 4.6.16+
None
Collects maximum of 5 jaegers.jaegertracing.io
custom resources installed in the cluster.
None
config/jaegers.jaegertracing.io/{name}.json
clusterconfig/jaegers
- 4.10.0
None
None
Collects logs from kube-controller-manager
pods in the
openshift-kube-controller-manager
namespace with following substrings:
- "Internal error occurred: error resolving resource",
- "syncing garbage collector with updated resources from discovery",
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.10/rest_api/workloads_apis/pod-v1.html#apiv1namespacesnamespacepodsnamelog
config/pod/openshift-kube-controller-manager/logs/{pod-name}/errors.log
clusterconfig/kube_controller_manager_logs
- 4.11.0
- 4.10.6+
- 4.9.27+
None
Collects logs from pods in the provided namespace.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
conditional/namespaces/{namespace}/pods/{pod_name}/containers/{container_name}/logs/last-{n}-lines.log
conditional/logs_of_namespace
- 4.9.0
None
None
Collects Machine
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machine.go
- https://docs.openshift.com/container-platform/4.12/rest_api/machine_apis/machine-machine-openshift-io-v1beta1.html
config/machines/
clusterconfig/machines
- 4.13.0
- 4.11.29+
- 4.12.5+
None
Collects MachineAutoscalers
definition.
- https://github.com/openshift/cluster-autoscaler-operator/blob/master/pkg/apis/autoscaling/v1beta1/machineautoscaler_types.go
- https://docs.openshift.com/container-platform/4.7/rest_api/autoscale_apis/machineautoscaler-autoscaling-openshift-io-v1beta1.html#machineautoscaler-autoscaling-openshift-io-v1beta1
config/machineautoscalers/{namespace}/{name}.json
clusterconfig/machine_autoscalers
- 4.8.2
None
None
Collects MachineConfigPool
information.
- https://github.com/openshift/machine-config-operator/blob/master/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L197
- https://docs.okd.io/latest/rest_api/machine_apis/machineconfigpool-machineconfiguration-openshift-io-v1.html
config/machineconfigpools
clusterconfig/machine_config_pools
- 4.7.0
- 4.5.33+
- 4.6.16+
None
Collects MachineConfigs
definitions. Following data is intentionally removed from the definitions:
spec.config.storage.files
spec.config.passwd.users
config/machineconfigs/{resource}.json
clusterconfig/machine_configs
- 4.9.0
- 4.8.5
None
Collects MachineHealthCheck
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machinehealthcheck.go
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#machinehealthcheck-v1beta1-machine-openshift-io
config/machinehealthchecks/{namespace}/{resource}.json
clusterconfig/machine_healthchecks
- 4.8.0
None
None
Collects MachineSet
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machineset.go
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#machineset-v1beta1-machine-openshift-io
config//machinesets/{resource}
clusterconfig/machine_sets
- 4.6.0
- 4.4.29+
- 4.5.15+
None
Collects Persistent Volumes from openshift-monitoring namespace which matches with ConfigMap configuration yaml
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/configmap.go
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/persistentvolume.go
config/persistentvolumes/{persistent_volume_name}.json
clusterconfig/monitoring_persistent_volumes
- 4.14
- 4.13.0
- 4.12.17
- 4.11.41
None
Collects cluster Federated Monitoring metrics.
The GET REST query to URL /federate Gathered metrics:
virt_platform
cluster_installer
vsphere_node_hw_version_total
- namespace CPU and memory usage
console_helm_installs_total
console_helm_upgrades_total
console_helm_uninstalls_total
etcd_server_slow_apply_total
etcd_server_slow_read_indexes_total
- followed by at most 1000 lines of
ALERTS
metric
None
config/metrics
clusterconfig/metrics
- 4.3.0
None
etcd_object_counts
introduced in version 4.3+ and removed in 4.12.0cluster_installer
introduced in version 4.3+ALERTS
introduced in version 4.3+namespace:container_cpu_usage_seconds_total:sum_rate
introduced in version 4.5+namespace:container_memory_usage_bytes:sum
introduced in version 4.5+virt_platform metric
introduced in version 4.8+ and backported to 4.6.34+, 4.7.16+ versionsvsphere_node_hw_version_total
introduced in version 4.8+ and backported to 4.7.11+ versionconsole_helm_installs_total
introduced in version 4.11+console_helm_upgrades_total
introduced in version 4.12+console_helm_uninstalls_total
introduced in version 4.12+openshift_apps_deploymentconfigs_strategy_total
introduced in version 4.13+ and backported to 4.12.5+ versionetcd_server_slow_apply_total
introduced in version 4.16+etcd_server_slow_read_indexes_total
introduced in version 4.16+
Collects MutatingWebhookConfiguration
resources.
config/mutatingwebhookconfigurations/{resource}.json
clusterconfig/mutating_webhook_configurations
- 4.10.3
- 4.7.40+
- 4.8.24+
- 4.9.11+
None
Collects namespaces with overlapping UID ranges.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/namespace.go
- Response is an array of arrays of namespaces with overlapping UIDs. Each namespace is represented by its name
and the UID range value from the
openshift.io/sa.scc.uid-range
annotation
config/namespaces_with_overlapping_uids.json
clusterconfig/overlapping_namespace_uids
- 4.11.0
- 4.8.41+
- 4.9.31+
- 4.10.12+
None
Collects NetNamespaces
networking information.
config/netnamespaces.json
clusterconfig/netnamespaces
- 4.7.0
- 4.6.20+
None
Collects control plane node logs from journal unit with following substrings:
- E\d{4} [0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}
- connect: connection refused
- failed (failure): command timed out
- Failed to make webhook authenticator request: Post
- raise JSONDecodeError("Expecting value", s, err.value) from None
- ContainerStateWaiting{Reason:ContainerCreating
- ContainersNotReady Message:containers with unready status
- MountVolume.MountDevice failed for volume
- kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient
- Unable to attach or mount volumes: unmounted volumes
- timed out waiting for the condition
- CreateContainerError: context deadline exceeded
- rpc error: code = ResourceExhausted desc = grpc: received message larger than max
config/nodes/logs/{hostname}.log
clusterconfig/node_logs
- 4.10.0
None
None
Collects all node resources.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/node.go#L78
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#nodelist-v1core
config/node/{node}.json
clusterconfig/nodes
- 4.2.0
None
None
- Removes any annotation that does not match specific namespaces (
openshift.io/
,k8s.io/
,kubernetes.io/
). - Replaces the values of any label that matches the previously listed namespaces and not a region label
(
failure-domain.beta.kubernetes.io/region
,topology.kubernetes.io/region
) with 'x' strings while preserving its length. - Replaces the values of the node's status object fields such as
BootID
,SystemUUID
, andMachineID
with 'x' strings preserving the same length. - Clears the
Images
field of the node's status object, removing any information about the container images running on the node.
Collects the list of installed OLM operators. Each OLM operator (in the list) contains following data:
- OLM operator name
- OLM operator version
- related
ClusterServiceVersion
conditions
None
config/olm_operators
clusterconfig/olm_operators
- 4.7.0
- 4.6.26+
None
Collects logs from openshift-apiserver-operator
with following substrings:
- "the server has received too many requests and has asked us"
- "because serving request timed out and response had been started"
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
config/pod/openshift-apiserver-operator/logs/{pod-name}/errors.log
clusterconfig/openshift_apiserver_operator_logs
- 4.7.0
None
None
Collects logs from pods in openshift-authentication
namespace with following
substring:
- "AuthenticationError: invalid resource name"
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
config/pod/openshift-authentication/logs/{pod-name}/errors.log
clusterconfig/openshift_authentication_logs
- 4.7.0
None
None
Collects clusterlogging.logging.openshift.io
resources.
config/logging/{namespace}/{name}.json
clusterconfig/openshift_logging
- 4.9.0
None
None
Collects warning ("abnormal") events
from openshift-machine-api
namespace
None
events/openshift-machine-api.json
clusterconfig/openshift_machine_api_events
- 4.12.0
None
None
Collects logs from sdn-controller
pod in openshift-sdn
namespace with
following substrings:
- "Node %s is not Ready": A node has been set offline for egress IPs because it is reported not ready at API
- "Node %s may be offline... retrying": An egress node has failed the egress IP health check once, so it has big chances to be marked as offline soon or, at the very least, there has been a connectivity glitch.
- "Node %s is offline": An egress node has failed enough probes to have been marked offline for egress IPs. If it has egress CIDRs assigned, its egress IPs have been moved to other nodes. Indicate issues at either the node or the network between the master and the node.
- "Node %s is back online": This indicates that a node has recovered from the condition described at the previous message, by starting succeeding the egress IP health checks. Useful just in case that previous “Node %s is offline” messages are lost, so that we have a clue that there was failure previously.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
- docs/insights-archive-sample/config/pod/openshift-sdn/logs/sdn-f2694/errors.log
- docs/insights-archive-sample/config/pod/openshift-sdn/logs/sdn-controller-l8gq9/errors.log
config/pod/openshift-sdn/logs/{pod-name}/errors.log
clusterconfig/openshift_sdn_controller_logs
- 4.7.0
- 4.6.21+
None
Collects logs from pods in openshift-sdn
namespace with following substrings:
- "Got OnEndpointsUpdate for unknown Endpoints",
- "Got OnEndpointsDelete for unknown Endpoints",
- "Unable to update proxy firewall for policy",
- "Failed to update proxy firewall for policy",
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
config/pod/openshift-sdn/logs/{name}/errors.log
clusterconfig/openshift_sdn_logs
- 4.7.0
- 4.6.19+
None
Collects pod definition from pods that are firing one of the configured alerts.
None
conditional/namespaces/{namespace}/pods/{name}/{name}.json
conditional/pod_definition
- 4.11.0
None
None
Collects the cluster's PodDisruptionBudgets
.
- https://github.com/kubernetes/client-go/blob/v11.0.0/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go#L80
- https://docs.okd.io/latest/rest_api/policy_apis/poddisruptionbudget-policy-v1beta1.html
config/pdbs/{namespace}/{name}.json
clusterconfig/pdbs
- 4.6.0
- 4.4.30+
- 4.5.15+
- The gatherer was changed to gather pdbs only from namespaces with "openshift" prefix and the limit of gathered records to 100 since 4.14.
Collects a summary of failed PodNetworkConnectivityChecks
from last 24 hours.
Time of the most recently failed check with each reason and message is recorded.
- podnetworkconnectivitychecks.controlplane.operator.openshift.io/v1alpha1
- https://pkg.go.dev/github.com/openshift/api/operatorcontrolplane/v1alpha1
config/podnetworkconnectivitychecks.json
clusterconfig/pod_network_connectivity_checks
- 4.8.2
None
None
Collects Prometheus TSDB status.
None
config/tsdb.json
clusterconfig/tsdb_status
- 4.10.0
None
None
Collects selected security context constraints and cluster role bindings from clusters running a SAP payload.
- https://pkg.go.dev/github.com/openshift/client-go/authorization/clientset/versioned/typed/authorization/v1
- https://pkg.go.dev/github.com/openshift/client-go/security/clientset/versioned/typed/security/v1
- docs/insights-archive-sample/config/securitycontextconstraint
- docs/insights-archive-sample/config/clusterrolebinding
config/clusterrolebinding/{name}.json
config/securitycontentconstraint/{name}.json
clusterconfig/sap_config
- 4.7.0
- 4.6.20+
None
Collects datahubs.installers.datahub.sap.com
resources from SAP/SDI clusters.
None
customresources/installers.datahub.sap.com/datahubs/{namespace}/{name}.json
clusterconfig/sap_datahubs
- 4.8.2
- 4.7.5+
- 4.6.26+
None
Collects information about pods running in SAP/SDI namespaces.
- Only pods with a failing status are collected.
- Failed pods belonging to a job that has later succeeded are ignored.
Note This data is collected only if the
installers.datahub.sap.com
resource is found in the cluster.
- https://pkg.go.dev/k8s.io/client-go/kubernetes/typed/core/v1
- https://pkg.go.dev/k8s.io/client-go/kubernetes/typed/batch/v1
- https://pkg.go.dev/k8s.io/client-go/dynamic
None
config/pod/{namespace}/{name}.json
clusterconfig/sap_pods
- 4.8.2
- 4.7.5+
- 4.6.25+
None
Collects logs from SAP vsystem-iptables
containers
including one from license management pods with the following substring:
- "can't initialize iptables table",
Note This data is collected only if the
installers.datahub.sap.com
resource is found in the cluster.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
config/pod/{namespace}/logs/{pod-name}/errors.log
clusterconfig/sap_license_management_logs
- 4.8.2
- 4.7.5+
- 4.6.25+
None
Collects logs from pods in openshift-kube-scheduler-namespace
from app
openshift-kube-scheduler
with following substring:
- "PodTopologySpread"
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
None
config/pod/openshift-kube-scheduler/logs/{pod-name}/messages.log
clusterconfig/scheduler_logs
- 4.10.0
None
None
Collects information about schedulers
config/schedulers/cluster.json
clusterconfig/schedulers
- 4.10.0
None
None
Collects ServiceAccount
stats
from kubernetes default and openshift-*
namespaces.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/serviceaccount.go#L83
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#serviceaccount-v1-core
config/serviceaccounts.json
clusterconfig/service_accounts
- 4.7.0
- 4.5.34+
- 4.6.20+
None
Collects the alerts that have been silenced.
None
config/silenced_alerts.json
config/silenced_alerts
- 4.10.0
None
None
Collects the cluster StorageClass
available in cluster.
config/storage/storageclasses/{name}.json
clusterconfig/storage_classes
- 4.15
None
None
Collects storageclusters.ocs.openshift.io
resources
- https://github.com/red-hat-storage/ocs-operator/blob/main/api/v1/storagecluster_types.go
Version | Path |
---|---|
< 4.12.0 | config/storage/{namespace}/{name}.json |
>= 4.12.0 | config/storage/{namespace}/storageclusters/{name}.json |
clusterconfig/storage_cluster
- 4.11.0
None
- Renamed from
OpenshiftStorage
toStorageCluster
in version4.12.0+
- Config ID changed from
clusterconfig/openshift_storage
toclusterconfig/storage_cluster
in version4.12.0+
- In OCP 4.11 and OCP 4.12, the location of gathered data collides with data gathered by the CephCluster](#CephCluster) gatherer. It is practically impossible to tell the two resources apart. Use with caution.
Collects anonymized support secret if there is any
None
config/secrets/openshift-config/support/data.json
clusterconfig/support_secret
- 4.11.0
None
None
Collects ValidatingWebhookConfiguration
resources
config/validatingwebhookconfigurations/{name}.json
clusterconfig/validating_webhook_configurations
- 4.10.3
- 4.7.40+
- 4.8.24+
- 4.9.11+
None
Collects summarized info about the workloads on a cluster in a generic fashion
None
config/workload_info.json
workloads/workload_info
- 4.8.0
None
- Image repository is now collected if it comes from outside the Red Hat domain