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

example: Add Kubernetes multi-service#1092

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
bpmct merged 3 commits intomainfromkubesample
May 11, 2022
Merged

example: Add Kubernetes multi-service#1092

bpmct merged 3 commits intomainfromkubesample
May 11, 2022

Conversation

kylecarbs
Copy link
Member

No description provided.

ntimo reacted with heart emoji
@kylecarbskylecarbs requested a review frombpmctApril 19, 2022 20:08
@kylecarbskylecarbs self-assigned thisApr 19, 2022
@codecov
Copy link

codecovbot commentedApr 19, 2022
edited
Loading

Codecov Report

Merging#1092 (371dde8) intomain (8165a6e) willincrease coverage by0.40%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #1092      +/-   ##==========================================+ Coverage   66.55%   66.95%   +0.40%==========================================  Files         261      284      +23       Lines       15674    18657    +2983       Branches      152      241      +89     ==========================================+ Hits        10432    12492    +2060- Misses       4176     4893     +717- Partials     1066     1272     +206
FlagCoverage Δ
unittest-go-macos-latest54.25% <ø> (+0.85%)⬆️
unittest-go-postgres-65.36% <ø> (-0.35%)⬇️
unittest-go-ubuntu-latest56.48% <ø> (+0.66%)⬆️
unittest-go-windows-2022?
unittest-js74.24% <ø> (+6.61%)⬆️
Impacted FilesCoverage Δ
cli/start.go22.22% <0.00%> (-39.83%)⬇️
site/src/xServices/users/usersXService.ts72.91% <0.00%> (-12.80%)⬇️
cli/gitssh.go43.13% <0.00%> (-11.22%)⬇️
pty/ptytest/ptytest.go86.95% <0.00%> (-7.88%)⬇️
site/src/xServices/StateContext.tsx93.33% <0.00%> (-6.67%)⬇️
cli/configssh.go62.58% <0.00%> (-5.92%)⬇️
site/src/pages/UsersPage/UsersPageView.tsx94.44% <0.00%> (-5.56%)⬇️
coderd/database/queries.sql.go77.90% <0.00%> (-5.27%)⬇️
coderd/workspaceagents.go56.04% <0.00%> (-5.07%)⬇️
site/src/components/Table/Table.tsx96.00% <0.00%> (-4.00%)⬇️
... and254 more

Continue to review full report at Codecov.

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

@bpmct
Copy link
Member

What are your thoughts on including a PVC in this example? We can mount a PVC to multiple containers, I did it for your examplehere, but we loose all the nice ZSH stuff from the devcontainer

container {
name = "go"
image = "mcr.microsoft.com/vscode/devcontainers/go:1"
command = ["sh", "-c", coder_agent.go.init_script]
Copy link
Member

Choose a reason for hiding this comment

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

I've noticed all of these containers bring you to strange locations when you ssh in for the first time

go:/go
java:/
ubuntu/

Should the init script always do something likecd $HOME before it starts the agent?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

It will in my other PR now!

Copy link
Member

@bpmctbpmct left a comment

Choose a reason for hiding this comment

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

This worked great, I submitted#1096 to add optional auth via ServiceAccount. Also left a comment about PVC support in this example. All your call

kylecarbs reacted with thumbs up emoji
@kylecarbs
Copy link
MemberAuthor

I think we'll have to do cleanup on the templates to make the names apt anyways, so I'll just leave this without volumes and such for now.

bpmct reacted with thumbs up emoji

Copy link
Member

@bpmctbpmct left a comment

Choose a reason for hiding this comment

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

@kylecarbs I think this is good to go, but could you look at#1096 before merging?

@bpmctbpmctenabled auto-merge (squash)May 11, 2022 18:19
@bpmctbpmct merged commit3024e25 intomainMay 11, 2022
@bpmctbpmct deleted the kubesample branchMay 11, 2022 18:27
kylecarbs added a commit that referenced this pull requestJun 10, 2022
* example: Add Kubernetes multi-service* fix: change to CODER_AGENT_TOKEN* example: use ServiceAccount for cluster authentication (#1096)Co-authored-by: Ben <ben@coder.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@bpmctbpmctbpmct approved these changes

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@bpmct

[8]ページ先頭

©2009-2025 Movatter.jp