// Module included in the following assemblies:
//
// * operators/operator_sdk/java/osdk-java-tutorial.adoc

:_content-type: PROCEDURE
[id="osdk-java-create-cr_{context}"]
= Creating a Custom Resource

After generating the CRD manifests, you can create the Custom Resource (CR).

.Procedure
* Create a Memcached CR called `memcached-sample.yaml`:
+
[source,yaml]
----
apiVersion: cache.example.com/v1
kind: Memcached
metadata:
  name: memcached-sample
spec:
  # Add spec fields here
  size: 1
----