//Module included in the following assemblies
//
//post_installation_configuration/multiarch-tuning-operator.adoc

:_mod-docs-content-type: PROCEDURE
[id="multi-architecture-creating-podplacement-config-using-cli_{context}"]
= Creating the ClusterPodPlacementConfig object by using the CLI

[role="_abstract"]
To deploy the pod placement operand that enables architecture-aware workload scheduling, you can create the `ClusterPodPlacementConfig` object by using the {oc-first}.

.Prerequisites

* You have installed the {oc-first}.
* You have logged in to `oc` as a user with `cluster-admin` privileges.
* You have installed the Multiarch Tuning Operator.

.Procedure

. Create a `ClusterPodPlacementConfig` object YAML file:
+
.Example `ClusterPodPlacementConfig` object configuration
[source,yaml]
----
apiVersion: multiarch.openshift.io/v1beta1
kind: ClusterPodPlacementConfig
metadata:
  name: cluster
spec:
  logVerbosityLevel: Normal
  namespaceSelector:
    matchExpressions:
      - key: multiarch.openshift.io/exclude-pod-placement 
        operator: DoesNotExist
  plugins:
    nodeAffinityScoring:
      enabled: true
      platforms:
        - architecture: amd64
          weight: 100
        - architecture: arm64
          weight: 50
----

. Create the `ClusterPodPlacementConfig` object by running the following command:
+
[source,terminal]
----
$ oc create -f <file_name>
----
+
Replace `<file_name>` with the name of the `ClusterPodPlacementConfig` object YAML file.

.Verification

* To check that the `ClusterPodPlacementConfig` object is created, run the following command:
+
[source,terminal]
----
$ oc get clusterpodplacementconfig
----
+
.Example output
[source,terminal]
----
NAME      AGE
cluster   29s
----
