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

Additional SSH service changes #2881

Merged
merged 3 commits into from
Oct 28, 2021

Conversation

shreddedbacon
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

Try to reduce the number of API calls that are made to the targeted cluster.
Prefer Kubernetes targets first with the lagoon.sh/service labels, as Openshift 3.11 clusters are nearly non-existent.
Don't even try Openshift if a Kuberenetes is targeted.

…n2 now, move k8s label selector first, and fall back to openshift. adjust interval to 5s instead of 1s, but retain the same total duration
@Schnitzel
Copy link
Contributor

@shreddedbacon
nice work! one thing: do we want to switch to kubectl with a newer version? I think this might also have some improvements on error handling, performance, etc.

@shreddedbacon
Copy link
Member Author

@shreddedbacon nice work! one thing: do we want to switch to kubectl with a newer version? I think this might also have some improvements on error handling, performance, etc.

Yeah, I'm looking at that now

@shreddedbacon
Copy link
Member Author

I've added a specific branch for v2.0.0 of lagoon where the environment defined openshift reference doesn't exist here

@tobybellwood tobybellwood merged commit 03c9e07 into uselagoon:main Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants