Group, version, kind, meta
This is the initial section of your YAML file that you need to specify in all cases.
You need to add the following section to the top of each NiFi CR you write. It
defines the group
“cfm.cloudera.com”, the version
“v1alpha1”,
the kind
“Nifi”, and the name
of your cluster and the NiFi
nodes. It can also specify the namespace
in which resources will be deployed. It
is expected that a single NiFi cluster is deployed in a given namespace. You can also specify
namespace
during deployment, if that is what you want, omit namespace
from the CR
apiVersion: cfm.cloudera.com/v1alpha
kind: Nifi
metadata:
name:[***NIFI CLUSTER NAME***]
namespace: [***NIFI CLUSTER NAMESPACE***]
Replace [***NIFI CLUSTER NAME***] and [***NIFI CLUSTER NAMESPACE***] with the desired cluster name and cluster namespace respectively.