1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/modules/deploying-resource.adoc
2019-05-13 13:57:48 +10:00

31 lines
892 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
[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:
+
----
$ 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: