1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/deploying-resource.adoc
2025-12-09 15:22:01 +00:00

35 lines
1.1 KiB
Plaintext

// Be sure to set the :FeatureName: and :FeatureResourceName: values in each assembly on the lines before
// the include statement for this module. For example, add the following lines to the assembly:
// :FeatureName: cluster autoscaler
// :FeatureResourceName: ClusterAutoscaler
//
// Module included in the following assemblies:
//
// * machine_management/applying-autoscaling.adoc
// * post_installation_configuration/cluster-tasks.adoc
:_mod-docs-content-type: PROCEDURE
[id="{FeatureResourceName}-deploying_{context}"]
= Deploying a {FeatureName}
[role="_abstract"]
To deploy a {FeatureName}, you create an instance of the `{FeatureResourceName}` resource.
.Procedure
. Create a YAML file for a `{FeatureResourceName}` resource that contains the custom resource definition.
. Create the custom resource in the cluster by running the following command:
+
[source,terminal]
----
$ oc create -f <filename>.yaml
----
where:
<filename>:: Specifies the name of the YAML file you created.
// Undefine attributes, so that any mistakes are easily spotted
:!FeatureName:
:!FeatureResourceName: