![]() Unlike a Deployment which ensures the group of Pods within the Deployment stay bound to a PersistentVolumeClaim. StatefulSets will ensure the same PersistentVolumeClaim stays bound to the same Pod throughout its lifetime. Since Elasticsearch maintains state, we need to use StatefulSet which is a deployment that can maintain state. Helm init -service-account tiller -upgrade -wait Deploy Elasticsearchĭeployments in k8s do not keep state in their Pods by assuming the application is stateless. Also, you can put the resource definitions in a manifest file (for example helm-rbac.yml) and perform kubectl apply command like in the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |