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

32 lines
1.0 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
:_content-type: PROCEDURE
[id="{FeatureResourceName}-deploying_{context}"]
= Deploying the {FeatureName}
To deploy the {FeatureName}, you create an instance of the `{FeatureResourceName}` resource.
.Procedure
. Create a YAML file for the `{FeatureResourceName}` resource that contains the customized resource definition.
. Create the resource in the cluster:
+
[source,terminal]
----
$ oc create -f <filename>.yaml <1>
----
<1> `<filename>` is the name of the resource file that you customized.
// Undefine attributes, so that any mistakes are easily spotted
:!FeatureName:
:!FeatureResourceName: