Skip to content
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

solo deployment create should use the context and cluster provided for where to save the remote config instead of using the k8s current context #976

Open
Tracked by #589
jeromy-cannon opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
Internal Requirement Multiple Cluster Support Issues which are only required to enable Solo support for multi-cluster deployments. P1 High priority issue. Required to be completed in the assigned milestone.

Comments

@jeromy-cannon
Copy link
Contributor

jeromy-cannon commented Dec 10, 2024

kind create cluster -n solo
rm -Rf ~/.solo
solo init
kubectx

kubectx output (kind-solo is current context):

docker
docker-desktop
gke-edge
gke-fullstack
gke-jeromy
gke-secure
kind-solo
re-lat
solo context connect -n jeromy-solo --context gke-fullstack --cluster-name gke_hedera-automation_us-central1_fullstack-test-edge

prompts me for email address, but, I can't supply it via a flag.
then asks: Enter the Solo deployment cluster names (comma separated), even though I already gave it.

solo deployment create -n jeromy-solo --deployment-clusters gke_hedera-automation_us-central1_fullstack-test-edge --context-cluster gke-fullstack=gke_hedera-automation_us-central1_fullstack-test-edge
******************************* Solo *********************************************
Version			: 0.99.0
Kubernetes Context	: kind-solo
Kubernetes Cluster	: kind-solo
Kubernetes Namespace	: jeromy-solo
**********************************************************************************
(node:14104) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
✔ Initialize [7s]
  ✔ Acquire lease - lease acquired successfully, attempt: 1/10
↓ Prompt local configuration
✔ Validate cluster connections [0.5s]
  ✔ Testing connection to cluster: gke-fullstack [0.5s]
✖ Failed to read remote config from cluster
*********************************** ERROR *****************************************
failed to read existing leases, unexpected server response of '500' received
***********************************************************************************

looks like it isn't switching clusters, might be a missed requirement.

@jeromy-cannon jeromy-cannon added P1 High priority issue. Required to be completed in the assigned milestone. Internal Requirement Multiple Cluster Support Issues which are only required to enable Solo support for multi-cluster deployments. labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internal Requirement Multiple Cluster Support Issues which are only required to enable Solo support for multi-cluster deployments. P1 High priority issue. Required to be completed in the assigned milestone.
Projects
None yet
Development

No branches or pull requests

2 participants