Skip to content

Commit

Permalink
chore: update chart version to 0.8.1; reduce Aerospike node size and …
Browse files Browse the repository at this point in the history
…local SSD count
  • Loading branch information
arrowplum committed Feb 14, 2025
1 parent c36eb0f commit 049ed99
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 45 deletions.
6 changes: 3 additions & 3 deletions kubernetes/full-create-and-install-gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKSPACE="$(pwd)"
PROJECT_ID="$(gcloud config get-value project)"
# Prepend the current username to the cluster name
USERNAME=$(whoami)
CHART_VERSION="0.8.0"
CHART_VERSION="0.8.1"
REVERSE_DNS_AVS=""

# Default values
Expand All @@ -22,7 +22,7 @@ DEFAULT_MACHINE_TYPE="n2d-standard-4"
DEFAULT_NUM_AVS_NODES=3
DEFAULT_NUM_QUERY_NODES=2
DEFAULT_NUM_INDEX_NODES=1
DEFAULT_NUM_AEROSPIKE_NODES=3
DEFAULT_NUM_AEROSPIKE_NODES=1
JFROG_DOCKER_REPO="artifact.aerospike.io/container"
JFROG_HELM_REPO="https://artifact.aerospike.io/helm"

Expand Down Expand Up @@ -388,7 +388,7 @@ create_gke_cluster() {
--project "$PROJECT_ID" \
--zone "$ZONE" \
--num-nodes "$NUM_AEROSPIKE_NODES" \
--local-ssd-count 2 \
--local-ssd-count 1\
--disk-type "pd-standard" \
--disk-size "100" \
--machine-type "$MACHINE_TYPE";
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/manifests/aerospike-cr-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: aerospike

spec:
size: 3
size: 1
image: aerospike/aerospike-server-enterprise:7.0.0.0
storage:
filesystemVolumePolicy:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/manifests/aerospike-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: aerospike

spec:
size: 3
size: 1
image: aerospike/aerospike-server-enterprise:7.0.0.0
storage:
filesystemVolumePolicy:
Expand Down
40 changes: 16 additions & 24 deletions kubernetes/manifests/avs-values-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,6 @@ aerospikeVectorSearchConfig:
root: info
ticker-interval: 10

initContainer:
image:
repository: aerospike.jfrog.io/container/avs-init-container:0.8.0
tag: "0.8.0"
pullPolicy: Always


aerospikeVectorSearchNodeRoles:
query-nodes:
- query
index-update-nodes:
- index-update
default-nodes:
- query
- index-update

serviceAccount:
create: true
Expand All @@ -105,6 +90,22 @@ securityContext:
allowPrivilegeEscalation: false
runAsUser: 0

service:
enabled: true
type: NodePort
externalTrafficPolicy: Local
ports:
- name: "svc-5000"
port: 5000
targetPort: 5000
nodePort: 30036

initContainer:
image:
repository: aerospike.jfrog.io/container/avs-init-container:0.8.0
tag: "0.8.1"
pullPolicy: Always

image:
repository: "aerospike/aerospike-vector-search"
pullPolicy: "IfNotPresent"
Expand All @@ -122,15 +123,6 @@ extraVolumes:
secretName: aerospike-tls
optional: false

service:
enabled: true
type: NodePort
externalTrafficPolicy: Local
ports:
- name: "svc-5000"
port: 5000
targetPort: 5000
nodePort: 30036

affinity:
nodeAffinity:
Expand Down
33 changes: 17 additions & 16 deletions kubernetes/manifests/avs-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ aerospikeVectorSearchConfig:
root: info
ticker-interval: 10

initContainer:
image:
repository: aerospike.jfrog.io/container/avs-init-container:0.8.0
tag: "0.8.0"
pullPolicy: Always


aerospikeVectorSearchNodeRoles:
query-nodes:
- query
Expand All @@ -60,15 +53,6 @@ serviceAccount:
securityContext:
allowPrivilegeEscalation: false
runAsUser: 0
image:
repository: "aerospike/aerospike-vector-search"
pullPolicy: "IfNotPresent"
# Overrides the image tag whose default is the chart appVersion.
tag: "1.0.0"
extraSecretVolumeMounts:
- name: aerospike-tls
mountPath: "/etc/ssl/certs"
readOnly: true

service:
enabled: true
Expand All @@ -80,6 +64,23 @@ service:
targetPort: 5000
nodePort: 30036

initContainer:
image:
repository: aerospike.jfrog.io/container/avs-init-container:0.8.0
tag: "0.8.1"
pullPolicy: Always

image:
repository: "aerospike/aerospike-vector-search"
pullPolicy: "IfNotPresent"
# Overrides the image tag whose default is the chart appVersion.
tag: "1.0.0"

extraSecretVolumeMounts:
- name: aerospike-tls
mountPath: "/etc/ssl/certs"
readOnly: true

extraVolumes:
- name: aerospike-tls
secret:
Expand Down

0 comments on commit 049ed99

Please sign in to comment.