add networkmode service:#1848
Conversation
added tests fixNetworkModeToService is responsible for adjusting the network mode of services in docker compose (services:) and generate a mapping of deployments based on the network mode of each service merging containers into the destination deployment, and removing transferred deployments Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
cdrage
left a comment
There was a problem hiding this comment.
needs e2e tests / more tests, sorry!
Otherwise, this LGTM! I like the fact that you can add: network_mode: service:client and it'll group them in the same deployment. Great work.
add e2e
|
added e2e and more tests |
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cdrage, sosan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
@sosan looks like a failed test sorry, need it updated again :( I merged too many other PR's haha |
Signed-off-by: jose luis <2064537+sosan@users.noreply.github.com>
no problem. merged |
|
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
adjusting the network mode of services in docker compose (services:) and generate a mapping of deployments based on the network mode of each service merging containers into the destination deployment, and removing transferred deployments
compose.yaml example:
converted to add two container inside client-deployment:
Which issue(s) this PR fixes:
Add feature commented in #1846
Special notes for your reviewer: