mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
:_mod-docs-content-type: ASSEMBLY
|
|
[id="installing-kubefed"]
|
|
= Installing OpenShift KubeFed
|
|
include::_attributes/common-attributes.adoc[]
|
|
include::modules/kubefed-document-attributes.adoc[]
|
|
:context: installing-kubefed
|
|
|
|
To get started with {KubeFedProductName}, you must create the `openshift-federation-system` namespace, install the Operator in this namespace, and then create the required custom resources (CRs) for your deployment.
|
|
|
|
NOTE: {KubeFedProductName} can be deployed as either a namespace-scoped or a cluster-scoped deployment, but not both, as this causes conflicts when both deployments attempt to manage the same set of resources.
|
|
|
|
[id="creating-federation-namespace_{context}"]
|
|
== Creating the namespace
|
|
|
|
You must create the `openshift-federation-system` namespace before installing any other {KubeFedProductName} components.
|
|
|
|
.Procedure
|
|
|
|
* Use the following command to create the namespace.
|
|
+
|
|
----
|
|
$ oc create ns openshift-federation-system
|
|
----
|
|
|
|
[id="installing-kubefed-operator_{context}"]
|
|
== Installing the {KubeFedProductName} Operator
|
|
|
|
You can install the {KubeFedProductName} Operator in the host cluster by following the {product-title} instructions on installing an Operator.
|
|
|
|
For details, see the {product-title} documentation on xref:../applications/operators/olm-adding-operators-to-cluster.adoc[adding Operators to a cluster].
|
|
|
|
include::modules/creating-kubefed-CRs.adoc[leveloffset=+1]
|
|
|
|
[id="deleting-kubefed-operator_{context}"]
|
|
== Deleting the {KubeFedProductName} Operator
|
|
|
|
You can remove the {KubeFedProductName} Operator from the host cluster by following the {product-title} instructions on deleting an Operator.
|
|
|
|
For details, see the {product-title} documentation on xref:../applications/operators/olm-deleting-operators-from-cluster.adoc[deleting Operators from a cluster].
|