apiVersion: asdb.aerospike.com/v1beta1 kind: AerospikeCluster metadata: name: aerocluster namespace: aerospike spec: size: 2 image: aerospike/aerospike-server-enterprise:6.1.0.1 storage: filesystemVolumePolicy: initMethod: deleteFiles cascadeDelete: true blockVolumePolicy: cascadeDelete: true volumes: - name: workdir aerospike: path: /opt/aerospike source: persistentVolume: storageClass: ssd volumeMode: Filesystem size: 1Gi - name: ns aerospike: path: /test/dev/xvdf source: persistentVolume: storageClass: fast-ssd volumeMode: Block size: 5Gi - name: ns-index aerospike: path: /test/dev/xvdf-index source: persistentVolume: storageClass: fs-ssd volumeMode: Filesystem size: 5Gi - name: aerospike-config-secret source: secret: secretName: aerospike-secret aerospike: path: /etc/aerospike/secret podSpec: multiPodPerHost: true aerospikeContainer: securityContext: privileged: true tolerations: - key: storageType operator: "Equal" value: filesystem effect: NoSchedule aerospikeAccessControl: users: - name: admin secretName: auth-secret roles: - sys-admin - user-admin - data-admin - read - write aerospikeConfig: service: feature-key-file: /etc/aerospike/secret/features.conf security: {} network: service: port: 3000 fabric: port: 3001 heartbeat: port: 3002 namespaces: - name: test memory-size: 3000000000 replication-factor: 2 index-type: type: flash mounts: - /test/dev/xvdf-index mounts-size-limit: 4294967296 storage-engine: type: device devices: - /test/dev/xvdf