This PR changes the deployment strategy from a Deployment + PVC to a StatefulfulSet. Using a StatefulSet is a more appropriate way to manage a service that needs to maintain some sort of state.
This PR also allows a user to provide a different StorageClassName if they have a cluster where multiple types are used. If not provided, the cluster default will be used.
This PR changes the deployment strategy from a Deployment + PVC to a StatefulfulSet. Using a StatefulSet is a more appropriate way to manage a service that needs to maintain some sort of state.
This PR also allows a user to provide a different StorageClassName if they have a cluster where multiple types are used. If not provided, the cluster default will be used.