> For the complete documentation index, see [llms.txt](https://docs.cennso.com/cennso/cdm/1.3/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/cennso/cdm/1.3/technical-reference/crds/mesh.md).

# Mesh Custom Resource Definition

`Mesh` Custom Resource (CR) is used to define and configure Cennso Data Mesh (CDM) Signaling on a Core Cluster.

## Configuration example

This is a sample `Mesh` CR that you can use to configure an APN called `my-mesh` on a Core Cluster named `my-core-cluster`, in a namespace called `mesh-system`, with a SINGLE mode, resource requests of 100m CPU and 128Mi memory, and persistence settings:

```yaml
apiVersion: cdm.cennso.com/v1alpha1
kind: Mesh
metadata:
  name: my-mesh
spec:
  forProvider:
    connectionSecretRef:
      name: my-core-cluster
      namespace: cennso-infra
      key: kubeconfig
    clusterName: my-core-cluster
    mode: SINGLE
    namespace: mesh-system
    resources:
      cpu: "100m"
      memory: "128Mi"
    persistence:
      size: "1Gi"
      memoryStoreSize: "128Mi"
      storageClassName: "standard"
      accessModes:
        - ReadWriteOnce
      pvcRetentionPolicy:
        whenDeleted: "Delete"
        whenScaled: "Retain"
```

## Configuration parameters

These are all parameters that you can use to configure the `Mesh` CR:

**CRD specification:** [cdm.cennso.com_meshes.yaml](https://docs.cennso.com/api/spec/cennso/cdm/1.3/assets/crds/cdm.cennso.com_meshes.yaml?form=bundled&kind=crd)
