1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/deploying-resource.adoc
2020-08-28 11:48:44 -04:00

33 lines
966 B
Plaintext

// Be sure to set the :FeatureName: value in each assembly on the line before
// the include statement for this module. For example, to set the FeatureName
// value to "ClusterAutoscaler", add the following line to the assembly:
// :FeatureName: ClusterAutoscaler
// Module included in the following assemblies:
//
// * machine_management/applying-autoscaling.adoc
// * post_installation_configuration/cluster-tasks.adoc
[id="{FeatureName}-deploying_{context}"]
= Deploying the {FeatureName}
To deploy the {FeatureName}, you create an instance of the `{FeatureName}`
resource.
.Procedure
. Create a YAML file for the `{FeatureName}` 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 {FeatureName} attribute, so that any mistakes are easily spotted
:!FeatureName: