-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gke deployment updates #9
base: main
Are you sure you want to change the base?
Conversation
… the helm manifest file name depends on the users random choice for names
…re not editing the setup script
…s options to either deploy or destroy the cluster, isolates output to an out dir, automatically exports MARQO_CLUSTER_IP to the env. UPDATES the README accordingly.
…LUSTER_IP is exported to so it's universal for testing purposes on all platforms, UPDADTE name of env files to avoid standard gitignore issues, UPDATE README
manifest_file_path="${OUT_DIR}/${APP_INSTANCE_NAME}_manifest_gke.yaml" | ||
helm template "${APP_INSTANCE_NAME}" chart/marqo-kubernetes --set cloudProviderMatcher=cloud.google.com/gke-nodepool,gpu_enabled=$INSTALL_GPU,override_cuda_path=$INSTALL_GPU > "$manifest_file_path" | ||
|
||
kubectl apply -f "$manifest_file_path" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will take sometimes ( around 5 minutes at least) until all pods are up and health .
From this line until line 80 we need to have a while loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think we should fix AKS and EKS to use the same format ,this can be done in future
gcloud container clusters get-credentials "$CLUSTER" | ||
|
||
# Create vespaadmin node pools. | ||
gcloud container node-pools create vespaadmin --cluster "$CLUSTER" --machine-type n1-standard-2 --disk-type pd-standard --disk-size=20 --num-nodes 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't these be taking the values from the manifest? ie the manifest should specify the machine-type and disk-type?
Updates to the way marqo on k8s is deployed on GKE: