This is a cache of https://docs.openshift.com/container-platform/4.9/rest_api/understanding-api-support-tiers.html. It is a snapshot of the page at 2024-11-22T19:00:31.943+0000.
Understanding <strong>api</strong> tiers | <strong>api</strong> reference | OpenShift Container Platform 4.9
×

This guidance does not cover layered OpenShift Container Platform offerings.

api tiers for bare-metal configurations also apply to virtualized configurations except for any feature that directly interacts with hardware. Those features directly related to hardware have no application operating environment (AOE) compatibility level beyond that which is provided by the hardware vendor. For example, applications that rely on Graphics Processing Units (GPU) features are subject to the AOE compatibility provided by the GPU vendor driver.

api tiers in a cloud environment for cloud specific integration points have no api or AOE compatibility level beyond that which is provided by the hosting cloud vendor. For example, apis that exercise dynamic management of compute, ingress, or storage are dependent upon the underlying api capabilities exposed by the cloud platform. Where a cloud vendor modifies a prerequisite api, Red Hat will provide commercially reasonable efforts to maintain support for the api with the capability presently offered by the cloud infrastructure vendor.

Red Hat requests that application developers validate that any behavior they depend on is explicitly defined in the formal api documentation to prevent introducing dependencies on unspecified implementation-specific behavior or dependencies on bugs in a particular implementation of an api. For example, new releases of an ingress router may not be compatible with older releases if an application uses an undocumented api or relies on undefined behavior.

api tiers

All commercially supported apis, components, and features are associated under one of the following support levels:

api tier 1

apis and application operating environments (AOEs) are stable within a major release for a minimum of 12 months or 3 minor releases from the announcement of deprecation, whichever is longer. The release that introduces a new or revised api or AOE, and the two following minor releases (n, n+1, n+2).

api tier 2

apis and AOEs are stable within a major release for a minimum of 9 months or 3 minor releases from the announcement of deprecation, whichever is longer.

api tier 3

This level applies to languages, tools, applications, and optional Operators included with OpenShift Container Platform through Operator Hub. Each component will specify a lifetime during which the api and AOE will be supported. Newer versions of language runtime specific components will attempt to be as api and AOE compatible from minor version to minor version as possible. Minor version to minor version compatibility is not guaranteed, however.

Components and developer tools that receive continuous updates through the Operator Hub, referred to as Operators and operands, should be considered api tier 3. Developers should use caution and understand how these components may change with each minor release. Users are encouraged to consult the compatibility guidelines documented by the component.

api tier 4

No compatibility is provided. api and AOE can change at any point. These capabilities should not be used by applications needing long-term support.

It is common practice for Operators to use custom resource definitions (CRDs) internally to accomplish a task. These objects are not meant for use by actors external to the Operator and are intended to be hidden. If any CRD is not meant for use by actors external to the Operator, the operators.operatorframework.io/internal-objects annotation in the Operators ClusterServiceVersion (CSV) should be specified to signal that the corresponding resource is internal use only and the CRD may be explicitly labeled as tier 4.

Mapping api tiers to api groups

For each api tier defined by Red Hat, we provide a mapping table for specific api groups where the upstream communities are committed to maintain forward compatibility. Any api group that does not specify an explicit compatibility level and is not specifically discussed below is assigned api tier 3 by default except for v1alpha1 apis which are assigned tier 4 by default.

Support for Kubernetes api groups

api groups that end with the suffix *.k8s.io or have the form version.<name> with no suffix are governed by the Kubernetes deprecation policy and follow a general mapping between api version exposed and corresponding support tier unless otherwise specified.

api version example api tier

v1

Tier 1

v1beta1

Tier 2

v1alpha1

Tier 4

Support for OpenShift api groups

api groups that end with the suffix *.openshift.io are governed by the OpenShift Container Platform deprecation policy and follow a general mapping between api version exposed and corresponding compatibility level unless otherwise specified.

api version example api tier

apps.openshift.io/v1

Tier 1

authorization.openshift.io/v1

Tier 1, some tier 1 deprecated

build.openshift.io/v1

Tier 1, some tier 1 deprecated

config.openshift.io/v1

Tier 1

image.openshift.io/v1

Tier 1

network.openshift.io/v1

Tier 1

network.operator.openshift.io/v1

Tier 1

oauth.openshift.io/v1

Tier 1

imagecontentsourcepolicy.operator.openshift.io/v1alpha1

Tier 1

project.openshift.io/v1

Tier 1

quota.openshift.io/v1

Tier 1

route.openshift.io/v1

Tier 1

quota.openshift.io/v1

Tier 1

security.openshift.io/v1

Tier 1 except for RangeAllocation (tier 4) and *Reviews (tier 2)

template.openshift.io/v1

Tier 1

console.openshift.io/v1

Tier 2

Support for Monitoring api groups

api groups that end with the suffix monitoring.coreos.com have the following mapping:

api version example api tier

v1

Tier 1

api deprecation policy

OpenShift Container Platform is composed of many components sourced from many upstream communities. It is anticipated that the set of components, the associated api interfaces, and correlated features will evolve over time and might require formal deprecation in order to remove the capability.

Deprecating parts of the api

OpenShift Container Platform is a distributed system where multiple components interact with a shared state managed by the cluster control plane through a set of structured apis. Per Kubernetes conventions, each api presented by OpenShift Container Platform is associated with a group identifier and each api group is independently versioned. Each api group is managed in a distinct upstream community including Kubernetes, Metal3, Multus, Operator Framework, Open Cluster Management, OpenShift itself, and more.

While each upstream community might define their own unique deprecation policy for a given api group and version, Red Hat normalizes the community specific policy to one of the compatibility levels defined prior based on our integration in and awareness of each upstream community to simplify end-user consumption and support.

The deprecation policy and schedule for apis vary by compatibility level.

The deprecation policy covers all elements of the api including:

  • REST resources, also known as api objects

  • Fields of REST resources

  • Annotations on REST resources, excluding version-specific qualifiers

  • Enumerated or constant values

Other than the most recent api version in each group, older api versions must be supported after their announced deprecation for a duration of no less than:

api tier Duration

Tier 1

Stable within a major release. They may be deprecated within a major release, but they will not be removed until a subsequent major release.

Tier 2

9 months or 3 releases from the announcement of deprecation, whichever is longer.

Tier 3

See the component-specific schedule.

Tier 4

None. No compatibility is guaranteed.

The following rules apply to all tier 1 apis:

  • api elements can only be removed by incrementing the version of the group.

  • api objects must be able to round-trip between api versions without information loss, with the exception of whole REST resources that do not exist in some versions. In cases where equivalent fields do not exist between versions, data will be preserved in the form of annotations during conversion.

  • api versions in a given group can not deprecate until a new api version at least as stable is released, except in cases where the entire api object is being removed.

Deprecating CLI elements

Client-facing CLI commands are not versioned in the same way as the api, but are user-facing component systems. The two major ways a user interacts with a CLI are through a command or flag, which is referred to in this context as CLI elements.

All CLI elements default to api tier 1 unless otherwise noted or the CLI depends on a lower tier api.

Element api tier

Generally available (GA)

Flags and commands

Tier 1

Technology Preview

Flags and commands

Tier 3

Developer Preview

Flags and commands

Tier 4

Deprecating an entire component

The duration and schedule for deprecating an entire component maps directly to the duration associated with the highest api tier of an api exposed by that component. For example, a component that surfaced apis with tier 1 and 2 could not be removed until the tier 1 deprecation schedule was met.

api tier Duration

Tier 1

Stable within a major release. They may be deprecated within a major release, but they will not be removed until a subsequent major release.

Tier 2

9 months or 3 releases from the announcement of deprecation, whichever is longer.

Tier 3

See the component-specific schedule.

Tier 4

None. No compatibility is guaranteed.