# AISIX on OKD

AISIX deployment and upgrade guidance for OKD is organized by product so that each procedure contains one complete operator journey. Choose the product you run:

| Product          | Deploy                                                                                                                 | Upgrade                                                                                                                   |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| AISIX OSS        | [Deploy AISIX OSS on OpenShift or OKD](https://docs.api7.ai/ai-gateway/deployment/aisix-oss-on-openshift-okd.md)       | [Upgrade AISIX OSS on OpenShift or OKD](https://docs.api7.ai/ai-gateway/deployment/upgrade-aisix-oss-on-openshift-okd.md) |
| AISIX Enterprise | [Deploy AISIX Enterprise on OpenShift or OKD](https://docs.api7.ai/ai-gateway/on-premises/install-on-openshift-okd.md) | [Upgrade AISIX Enterprise on OpenShift or OKD](https://docs.api7.ai/ai-gateway/on-premises/upgrade-on-openshift-okd.md)   |

Existing bookmarks to the original OKD guide continue to work at this URL. The maintained product-specific procedures also apply to Red Hat OpenShift.

AISIX Cloud access is coordinated through API7 rather than public self-service. [Contact API7](https://api7.ai/contact) for the applicable gateway deployment and upgrade workflow.

## Understand the Security Context[​](#understand-the-security-context "Direct link to Understand the Security Context")

Each product procedure explains and verifies the `restricted-v2` SCC for the workloads it installs.

## Select an OKD Project[​](#select-an-okd-project "Direct link to Select an OKD Project")

Follow the project preparation in the deployment page for your product.

## Choose Route Host Names[​](#choose-route-host-names "Direct link to Choose Route Host Names")

Follow the Route preparation in the deployment page for your product.

## Deploy a Gateway[​](#deploy-a-gateway "Direct link to Deploy a Gateway")

Deploy [AISIX OSS](https://docs.api7.ai/ai-gateway/deployment/aisix-oss-on-openshift-okd.md). For AISIX Enterprise, the [complete deployment](https://docs.api7.ai/ai-gateway/on-premises/install-on-openshift-okd.md) deploys the control plane before its gateways.

## Deploy AISIX Enterprise[​](#deploy-aisix-enterprise "Direct link to Deploy AISIX Enterprise")

Follow [Deploy AISIX Enterprise on OpenShift or OKD](https://docs.api7.ai/ai-gateway/on-premises/install-on-openshift-okd.md) for the complete control-plane and gateway journey.

## Expose AISIX with Routes[​](#expose-aisix-with-routes "Direct link to Expose AISIX with Routes")

Each product deployment page creates and verifies only the Routes required by that product.

## Upgrade AISIX[​](#upgrade-aisix "Direct link to Upgrade AISIX")

Upgrade [AISIX OSS](https://docs.api7.ai/ai-gateway/deployment/upgrade-aisix-oss-on-openshift-okd.md) or the complete [AISIX Enterprise](https://docs.api7.ai/ai-gateway/on-premises/upgrade-on-openshift-okd.md) product.

## Troubleshoot a Web Console Upgrade[​](#troubleshoot-a-web-console-upgrade "Direct link to Troubleshoot a Web Console Upgrade")

The tested OKD web-console Helm dependency error is documented in [Upgrade AISIX Enterprise on OpenShift or OKD](https://docs.api7.ai/ai-gateway/on-premises/upgrade-on-openshift-okd.md#okd-web-console-upgrade-error).

## Troubleshoot SCC Admission[​](#troubleshoot-scc-admission "Direct link to Troubleshoot SCC Admission")

Use the SCC troubleshooting section in the upgrade page for your product.

## Troubleshoot a Container Start Failure[​](#troubleshoot-a-container-start-failure "Direct link to Troubleshoot a Container Start Failure")

Use the container and CRI-O troubleshooting section in the upgrade page for your product.
