Aiven Project
The Project CRD allows you to create Aiven Projects, where your resources can be located.
Deprecated
Project is deprecated in favor of OrganizationProject.
See the migration guide for moving an
existing project to the new resource.
Prerequisites¶
- A Kubernetes cluster with Aiven Kubernetes Operator installed using helm or kubectl.
- A Kubernetes Secret with an Aiven authentication token.
Create a project¶
To create a fully working Aiven Project with the Aiven Operator you need a source Aiven Project already created with a working billing configuration, like a credit card.
Create a file named project-sample.yaml with the following content:
apiVersion: aiven.io/v1alpha1
kind: Project
metadata:
name: project-sample
spec:
# the source Project to copy the billing information from
copyFromProject: SOURCE_PROJECT
authSecretRef:
name: aiven-token
key: token
connInfoSecretTarget:
name: project-sample
Apply the resource with:
Verify the newly created Project:
The output is similar to the following: