The AtlasStreamWorkspace custom resource configures
Atlas Stream Processing workspaces.
Example
The following example adds a stream processing workspace. To learn more, see Manage Atlas Stream Processing.
apiVersion: atlas.mongodb.com/v1 kind: AtlasStreamWorkspace metadata:   name: my-stream-workspace spec:   name: my-stream-workspace   clusterConfig:     provider: AWS     region: VIRGINIA_USA     tier: SP30   projectRef:     name: my-project   connectionRegistry:     - name: ref-my-connection-1       namespace: my-namespace1     - name: ref-my-connection-2       namespace: my-namespace2     - name: ref-my-connection-3       namespace: my-namespace1 
Note
Currently, Atlas Kubernetes Operator supports only the AWS provider and the
VIRGINIA_USA region for this custom resource.
Parameters
This section describes the AtlasStreamWorkspace parameters.
- spec.name
- Type: string - Required - Name that identifies the stream processing workspace. 
- spec.clusterConfig
- Type: object - Required - Object that contains the configuration for the stream processing workspace. 
- spec.clusterConfig.provider
- Type: string - Required - String that indicates the cloud service provider for the stream processing workspace. - Note- Currently, Atlas Kubernetes Operator supports only the - AWSprovider and the- VIRGINIA_USAregion for this custom resource.
- spec.clusterConfig.region
- Type: string - Required - String that indicates the AWS, Azure, or Google Cloud region for the stream processing workspace. - Note- Currently, Atlas Kubernetes Operator supports only the - AWSprovider and the- VIRGINIA_USAregion for this custom resource.
- spec.clusterConfig.tier
- Type: string - Required - String that indicates the cluster tier for the stream processing workspace. Valid values include: - SP10
- SP30
 
- spec.connectionRegistry
- Type: object - Optional - Object that contains the configuration for the Connection Registry. The Connection Registry contains all the connections for the stream processing workspace. 
- spec.connectionRegistry.name
- Type: string - Conditional - Name of the opaque secret that contains your stream processing connection. You must include this parameter for each connection in the Connection Registry. 
- spec.connectionRegistry.namespace
- Type: string - Conditional - Namespace of the opaque secret that contains your stream processing connection. You must include this parameter for each connection in the Connection Registry. 
- spec.projectRef.name
- Type:* string - Required - Name of the project to which the stream processing workspace belongs. You must specify an existing - AtlasProjectCustom Resource.
- spec.projectRef.namespace
- Type:* string - Conditional - Namespace in which the - AtlasProjectCustom Resource specified in spec.projectRef.name exists. If the- AtlasProjectCustom Resource belongs to a different namespace than the stream processing workspace, you must specify this setting.