Citrix Blogs

Deploy Citrix API gateway using Red Hat OpenShift Operator

Red Hat’s OpenShift Operator is an open-source toolkit designed to package, deploy, and manage Kubernetes-native applications in a more effective, automated, and scalable way.

An API gateway acts as the single entry point for your APIs and ensures secure and reliable access to multiple APIs and microservices in your system. Citrix provides an enterprise grade API gateway for north-south API traffic into the OpenShift cluster. The API gateway integrates with the OpenShift cluster through the Citrix Ingress Controller and the Citrix ADC (MPX, VPX, or CPX) deployed as the ingress gateway for on-premises or cloud deployments.

In this blog post, I’ll look at how you can deploy the API gateway using OpenShift Operators.

The Citrix API gateway operator installs the custom resource definitions (CRDs) required for the API Gateway functionality. Because this operator leverages the Citrix Ingress Controller, you need to create an instance of the API gateway CRD, which is the Citrix Ingress Controller. If you already have a Citrix Ingress Controller instance in the cluster you need to install it again.

API gateway supports the following CRDs:

Deploy Citrix API Gateway Using OpenShift Operator

Perform the following steps to deploy API gateway using the OpenShift Operator.

  1. In the OperatorHub, search for Citrix API Gateway Operator.

    OpenShift Operator Install
  1. Select the Citrix API Gateway Operator, and click Install.
OpenShift Operator Install
  1. Choose the namespace where you want the operator to be installed and click Subscribe.
OpenShift Operator Install
  1. Once the Citrix API gateway operator is installed, you will see it listed under the Installed Operators section on the left panel. At this point, all CRDs are installed in the cluster.
  2. To create instances of each CRD, select the appropriate CRD and click Create Instance.
  3. Once you create the instance you can see all your instances by selecting the All instances

Update the CRD instance

To update any values of the created CRD instance, click on the instance, go to the YAML tab, edit the YAML file, and click Save.

OpenShift Operator Install

Delete the Instance and Operator

To delete an instance of the CRD, you have to delete the Citrix Ingress Controller instance from the user interface. Select the three vertical dots on the right side of the instance as shown in the following image and then click Delete CitrixIngressController.

OpenShift Operator Install

To delete the operator, click on the Actions drop-down list and then click Uninstall operator.

Please note, you should delete all instances manually before uninstalling the operator. The instances are not automatically deleted if you uninstall the operator.

OpenShift Operator Deletion

Conclusion

The Red Hat OpenShift Operator will ease the installation process of Citrix API gateway and enable all the required features to be configured on the go. Learn more about Citrix ADC and Citrix API gateway.

Exit mobile version