mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
32 lines
1.0 KiB
Plaintext
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
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="{FeatureResourceName}-deploying_{context}"]
|
|
= Deploying a {FeatureName}
|
|
|
|
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 <1>
|
|
----
|
|
<1> `<filename>` is the name of the custom resource file.
|
|
|
|
// Undefine attributes, so that any mistakes are easily spotted
|
|
:!FeatureName:
|
|
:!FeatureResourceName:
|