siddhi-io / siddhi-operator

Operator allows you to run stream processing logic directly on a Kubernetes cluster
Apache License 2.0
17 stars 12 forks source link

Resolve the failure of the stateful app when PVC not specified #93

Closed BuddhiWathsala closed 5 years ago

BuddhiWathsala commented 5 years ago

Purpose

Resolve #92

Goals

Prevent from Siddhi app deployment failure that occurs when the user does not specify the PVC spec for stateful Siddhi apps.

Approach

Update the EqualsPVCSpec function that can compare the PVC spec provided by the k8s.io/api/core/v1 library.

User stories

Now users can deploy stateful Siddhi apps without specifying PVC spec. In other words, users can deploy stateful Siddhi apps in a stateless mode according to their requirements.

Release note

Resolve the failure of the stateful app when PVC spec does not specify in the SiddhiProcess YAML.

Test environment