Skip to content

Commit

Permalink
Add volumeClaimTemplate for elasticsearch to use CephFS
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg02 committed Feb 14, 2024
1 parent 8a4941f commit 3aa6d20
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kubernetes/open-vsx.org.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,22 @@ local newElasticSearchCluster(env) = {
nodeSets: [
{
name: "default",
volumeClaimTemplates: [
{
metadata: {
name: "elasticsearch-data"
},
spec: {
accessModes: [ "ReadWriteMany" ],
resources: {
requests: {
storage: "1Gi"
}
},
storageClassName: "cephfs-2repl"
}
}
],
config: {
"node.roles": [ "master", "data" ],
"node.store.allow_mmap": false
Expand Down

0 comments on commit 3aa6d20

Please sign in to comment.