Overview: Replace deprecated DeploymentConfigs with Deployments
As Red Hat OpenShift matures, changes are inevitable. One such change is the deprecation of DeploymentConfig
objects. This aligns with the common Kubernetes method of creating an application by using a Deployment
.
While the DeploymentConfig
is deprecated, it is still supported. But for how long? It might be in your best interest to convert existing DeploymentConfig
objects into Deployments
to stay ahead of any breaking changes in the future.
To execute this learning path, you will need:
- Familiarity with
Deployments
in OpenShift - Access to an OpenShift cluster.
- Access to the command line.
In this learning path, you will learn how to:
- Create an application using a
DeploymentConfig
. - Generate a YAML file on your local PC using the
DeploymentConfig
that you created. - Reference an
ImageStream
object in your Deployment. - Alter a
DeploymentConfig
into aDeployment
. - Redeploy the application using the newly created deployment YAML file.