32 Commits

Author SHA1 Message Date
Guillaume Tardif
677bfc9ce5 Set kube namespace properly
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 11:09:06 +01:00
Guillaume Tardif
15c0b883fe hide non running containers if no --all option
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:49:31 +01:00
Guillaume Tardif
f368036ddd Add compose ps listing pod statuses (retrieve pods from compose project label)
This does not yet retrieve port sharing data (need to reconcile ports with kube services)

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
73e94b4ba5 Add Kube client
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
211a1d5d2d Revert "Prefix kube resource with compose project name to avoid name clashes between projects. "
This reverts commit 6b61902a23763fd51d6a5e864cc568b33058b06e.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 09:40:40 +01:00
Guillaume Tardif
6b61902a23 Prefix kube resource with compose project name to avoid name clashes between projects.
Kube resource name follow the form `<PROJECT>-<SERVICE>`. (“_” are not allowed there, using “-“. Project names can include “-“, so we can’t parse back to retrieve project and service names, we MUST rely on labels.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-04 13:55:27 +01:00
Guillaume Tardif
e3f1bc99d3 Init helm action by default with no logger, don’t require callers to initialise it.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 14:20:22 +01:00
aiordache
560014f248 Add progress writer to compose up/down
- remove intermediate compose interface

Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-03 11:37:54 +01:00
Nicolas De loof
628417f02d
Merge pull request #1225 from docker/kill
Add kill command
2021-02-03 11:06:06 +01:00
Nicolas De Loof
0aa3f4a189
Add kill command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-03 10:44:26 +01:00
Guillaume Tardif
794f638bec Check context description in kube e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 17:56:01 +01:00
Guillaume Tardif
96f20946af default description about kube contexts
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 17:18:22 +01:00
Guillaume Tardif
4fb205753a
Merge pull request #1217 from gtardif/kube_e2e
First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
2021-02-02 17:17:43 +01:00
Guillaume Tardif
95d21fa768 First kube e2e. Adapted context create kubernetes command to allow non interactive mode.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-02 16:01:57 +01:00
Nicolas De Loof
9b282b69f8
Introduce --all option on compose ps
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:58:27 +01:00
Guillaume Tardif
6215445b8a
Merge pull request #1196 from gtardif/kube_expose_LoadBalancer
Support exposing ports and cross-service communication
2021-02-01 15:39:31 +01:00
Guillaume Tardif
aa1efb885a Fix kube selectors : do not only select on serviceName, also ProjectName
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 12:22:41 +01:00
Guillaume Tardif
dfc8ded216 ACI timeout moved from 10 to 15 mins
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 09:48:30 +01:00
Guillaume Tardif
166db3fa4d
Merge pull request #1189 from aiordache/kube_compose_up
Kube backend: Target the cluster referenced by the docker context
2021-01-29 15:49:53 +01:00
aiordache
0807ec0067 Target the kubernetes cluster referenced in the docker "kube" context
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-29 13:13:25 +01:00
Guillaume Tardif
e159e82ecc Support exposing ports and cross-service communication
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-28 18:33:56 +01:00
Ulysses Souza
4ff20bdda8 Add start and stop commands
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-27 17:18:10 -03:00
Guillaume Tardif
6a03c4ff03 Fixing linter after rebasing
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 18:20:00 +01:00
Guillaume Tardif
ecdc170938 CI build, lint & test tube backend.
Fixed some tests, let some failing test still fail, to be fixed

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 18:09:29 +01:00
aiordache
849707016b Implement kubernetes context create
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-26 16:10:57 +01:00
Guillaume Tardif
67a50b4ce6 Fixing Kube compile / lint errors
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-26 09:43:12 +01:00
aiordache
60aed92367 remove redundant API interface
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-21 14:55:31 +01:00
aiordache
f09a57351f remove unused utils pkg
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-21 14:48:41 +01:00
aiordache
1574ebdfff refactored compose in charts
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache
68b29f569b small fixes
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache
50792c4621 Add Kubernetes backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
aiordache
ef22ce2578 Cleanup before migration to compose-cli
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00