Skip to content

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

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:

kubectl apply -f project-sample.yaml

Verify the newly created Project:

kubectl get projects.aiven.io project-sample

The output is similar to the following:

NAME             AGE
project-sample   22s