> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FlexDeploy - OpenShift Plugin Guide

> This plugin provides users with the means to manage resources (Deployments, DeploymentConfigs, Pods, Projects, Services, etc.) in a cluster by perform

This plugin provides users with the means to manage resources (Deployments, DeploymentConfigs, Pods, Projects, Services, etc.) in a cluster by performing various OpenShift CLI(oc) commands, including apply, label, delete, run, and exec.

# Supported Versions

* The plugin supports both Windows and UNIX operating systems.

* OpenShift v4.x

# Key Features

* push configuration changes to the cluster

* set labels on resources

* tag images

* create and delete resources

* run commands from containers

# Plugin Operations

* [apply (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/apply-openshift.md)
* [delete (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/delete-openshift.md)
* [exec (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/exec-openshift.md)
* [label (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/label-openshift.md)
* [run (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/run-openshift.md)
* [scale (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/scale-openshift.md)
* [tag (OpenShift)](https://docs.flexagon.com/flexdeploy-11-1-documentation/flexdeploy-plugin-guides/flexdeploy-openshift-plugin-guide/tag-openshift.md)

# OpenShift Cloud Account

Authentication and connection details to your OpenShift server are both handled in the OpenShift Cloud Account. To create a cloud account, head to **Topology→Integrations→Cloud** and hit the plus/create button.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590938406.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=5a579567e14c9d6b95ba48c269cf721d)

Be sure to select **OpenShift** as the provider

### OpenShift Authorization Token

There are two options for the Authorization Token

* Personal User Token

  * Navigate to [%your cluster%/oauth/token/request](https://oauth-openshift.apps.testcluster.bathurst.me/oauth/token/request) to get a user token

  * These need to be changed every 12 days

* **Create a Service Account Token (Recommended)**

  * See [https://docs.openshift.com/container-platform/3.5/rest\_api/index.html#rest-api-serviceaccount-tokens](https://docs.openshift.com/container-platform/3.5/rest_api/index.html#rest-api-serviceaccount-tokens)

  * This is long lived and does not need to be changed
