Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Allow workspace resources to attach multiple agents#942

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 1 commit intomainfromupdatetfprovider
Apr 11, 2022

Conversation

kylecarbs
Copy link
Member

This enables a "kubernetes_pod" to attach multiple agents that
could be for multiple services. Each agent is required to have
a unique name, so SSH syntax is:

coder ssh <workspace>.<agent>

A resource can have zero agents too, they aren't required.

@codecov
Copy link

codecovbot commentedApr 9, 2022
edited
Loading

Codecov Report

Merging#942 (3ad0766) intomain (38f0742) willdecrease coverage by0.09%.
The diff coverage is62.91%.

@@            Coverage Diff             @@##             main     #942      +/-   ##==========================================- Coverage   65.78%   65.68%   -0.10%==========================================  Files         226      228       +2       Lines       13991    14178     +187       Branches      105      105              ==========================================+ Hits         9204     9313     +109- Misses       3848     3909      +61- Partials      939      956      +17
FlagCoverage Δ
unittest-go-macos-latest52.60% <42.55%> (-0.37%)⬇️
unittest-go-postgres-65.48% <62.31%> (-0.17%)⬇️
unittest-go-ubuntu-latest55.27% <54.25%> (+0.02%)⬆️
unittest-go-windows-202251.70% <42.24%> (-0.47%)⬇️
unittest-js58.25% <ø> (ø)
Impacted FilesCoverage Δ
cli/templates.go54.23% <0.00%> (ø)
cli/workspaceshow.go50.00% <ø> (+35.71%)⬆️
codersdk/workspaceresources.go45.45% <ø> (-11.54%)⬇️
cli/configssh.go54.86% <6.25%> (-3.17%)⬇️
coderd/httpmw/workspaceagentparam.go30.88% <30.88%> (ø)
cli/ssh.go38.88% <42.85%> (-0.96%)⬇️
coderd/workspaceresources.go28.94% <50.00%> (-32.03%)⬇️
coderd/provisionerjobs.go63.43% <55.55%> (+1.50%)⬆️
codersdk/workspaceagents.go52.60% <57.89%> (ø)
coderd/workspaceagents.go66.98% <66.98%> (ø)
... and23 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update38f0742...3ad0766. Read thecomment docs.

@kylecarbskylecarbsforce-pushed theupdatetfprovider branch 6 times, most recently frome8258ea to0682aa6CompareApril 9, 2022 18:43
This enables a "kubernetes_pod" to attach multiple agents thatcould be for multiple services. Each agent is required to havea unique name, so SSH syntax is:`coder ssh <workspace>.<agent>`A resource can have zero agents too, they aren't required.
Copy link
Contributor

@f0sself0ssel left a comment

Choose a reason for hiding this comment

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

not the most robust review given the size but everything seem good to me

kylecarbs reacted with thumbs up emoji
@kylecarbskylecarbs merged commit19b4323 intomainApr 11, 2022
@kylecarbskylecarbs deleted the updatetfprovider branchApril 11, 2022 21:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@f0sself0sself0ssel approved these changes

@coadlercoadlerAwaiting requested review from coadler

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp