--- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: creationTimestamp: "2026-02-17T12:42:33Z" generation: 1 labels: hypershift.openshift.io/managed: "true" managedFields: - apiVersion: monitoring.coreos.com/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: .: {} f:hypershift.openshift.io/managed: {} f:spec: .: {} f:groups: .: {} k:{"name":"pre-release-lifecycle"}: .: {} f:name: {} f:rules: {} manager: hosted-cluster-config-operator-manager operation: Update time: "2026-02-17T12:42:33Z" name: api-usage namespace: openshift-kube-apiserver resourceVersion: "1810" uid: bc3aed3c-5bbe-449d-a9a7-5f0339bcef53 spec: groups: - name: pre-release-lifecycle rules: - alert: APIRemovedInNextReleaseInUse annotations: description: Deprecated API that will be removed in the next version is being used. Removing the workload that is using the {{ $labels.group }}.{{ $labels.version }}/{{ $labels.resource }} API might be necessary for a successful upgrade to the next cluster version. Refer to `oc get apirequestcounts {{ $labels.resource }}.{{ $labels.version }}.{{ $labels.group }} -o yaml` to identify the workload. summary: Deprecated API that will be removed in the next version is being used. expr: | group(apiserver_requested_deprecated_apis{removed_release="1.24"}) by (group,version,resource) and (sum by(group,version,resource) (rate(apiserver_request_total{system_client!="kube-controller-manager",system_client!="cluster-policy-controller"}[4h]))) > 0 for: 1h labels: namespace: openshift-kube-apiserver severity: info - alert: APIRemovedInNextEUSReleaseInUse annotations: description: Deprecated API that will be removed in the next EUS version is being used. Removing the workload that is using the {{ $labels.group }}.{{ $labels.version }}/{{ $labels.resource }} API might be necessary for a successful upgrade to the next EUS cluster version. Refer to `oc get apirequestcounts {{ $labels.resource }}.{{ $labels.version }}.{{ $labels.group }} -o yaml` to identify the workload. summary: Deprecated API that will be removed in the next EUS version is being used. expr: | group(apiserver_requested_deprecated_apis{removed_release=~"1\\.2[45]"}) by (group,version,resource) and (sum by(group,version,resource) (rate(apiserver_request_total{system_client!="kube-controller-manager",system_client!="cluster-policy-controller"}[4h]))) > 0 for: 1h labels: namespace: openshift-kube-apiserver severity: info