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

Fix Multi Cluster Deployment in Devspace. #8610

Merged
merged 16 commits into from May 8, 2024
Merged

Conversation

rasswanth-s
Copy link
Collaborator

Description

The PR fixes

  1. Port Clash during multi cluster deployments.
  2. A new tox task to list dev mapped ports

Affected Dependencies

Devspace deployments.

How has this been tested?

  • Locally

Checklist

added a new tox task to list port mapping in multi cluster deployments
@rasswanth-s rasswanth-s requested review from teo-milea and yashgorana and removed request for teo-milea March 21, 2024 10:24
Copy link
Contributor

@yashgorana yashgorana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for accommodating the changes @rasswanth-s. This looks much neater now!

@rasswanth-s rasswanth-s disabled auto-merge May 6, 2024 08:44
bash -c '\
export CLUSTER_NAME=testenclave1 CLUSTER_HTTP_PORT=9083 DEVSPACE_PROFILE=enclave && \
tox -e dev.k8s.start -- --volume /sys/kernel/security:/sys/kernel/security --volume /dev/tmprm0:/dev/tmprm0 && \
tox -e dev.k8s.hotreload'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm thinking since you're creating these scripts - might as well make them tox commands?

tox -e dev.k8s.launch.domain
tox -e dev.k8s.launch.gateway
tox -e dev.k8s.launch.enclave

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea , adding them now 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 2c15bd0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added a posargs to tox, so we could easily switch between deploy and hotreload mode.

Domain in Deploy Mode

tox -e dev.k8s.launch.domain

Domain in Hot Reload Mode

tox -e dev.k8s.launch.domain -- hotreload

Copy link
Contributor

@yashgorana yashgorana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome work

@yashgorana yashgorana enabled auto-merge May 8, 2024 04:49
@yashgorana yashgorana merged commit 2f0cce7 into dev May 8, 2024
27 checks passed
@yashgorana yashgorana deleted the rasswanth/fix_devspace_ports branch May 8, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants