Guillaume Tardif
ad140697fc
Remove the HEALTH status in `docker compose ps` and combine values from fields “state” and “health”. Rename column STATE => STATUS.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 12:19:45 +01:00
Guillaume Tardif
42adbaeb8e
Merge pull request #1250 from docker/fix_logs
...
Filter out one_off containers on `compose logs`
2021-02-05 11:36:49 +01:00
Anca Iordache
2c22717624
Merge pull request #1244 from gtardif/kube_compose_ps
...
Kube compose ps
2021-02-05 11:22:14 +01:00
Nicolas De Loof
a1bc5c721d
Filter out one_off containers on `compose logs`
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-05 11:15:43 +01:00
Guillaume Tardif
de7ce7084e
Merge pull request #1241 from ulyssessouza/add-configs-bind
...
Add configs bind mount support
2021-02-05 11:15:23 +01:00
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
f433fb89d1
Merge pull request #1247 from gtardif/revert_name_prefix
...
Revert "Prefix kube resource with compose project name "
2021-02-05 09:51:11 +01:00
Guillaume Tardif
211a1d5d2d
Revert "Prefix kube resource with compose project name to avoid name clashes between projects. "
...
This reverts commit 6b61902a23
.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 09:40:40 +01:00
Ulysses Souza
8d8934e449
Add configs bind mount support
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-04 19:24:34 -03:00
Nicolas De Loof
9f80214dc2
Make -l -D -H non-persistent to avoid conflict with subcommands
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-04 17:13:44 +01:00
Guillaume Tardif
caec924532
Merge pull request #1243 from gtardif/Kube_name_clash
...
Prefix kube resource with compose project name to avoid name clashes between projects.
2021-02-04 15:30:23 +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
12dcf4cc37
Merge pull request #1229 from gtardif/refacto_helm_init
...
Init helm action by default with no logger, don’t require callers to initialise it.
2021-02-04 10:02:33 +01:00
Guillaume Tardif
4620d8b527
Merge pull request #1240 from docker/not_vpc
...
clearer error message and fix typo
2021-02-04 10:02:20 +01:00
Nicolas De Loof
2484dfa5b5
clearer error message and fix typo
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-04 08:02:22 +01:00
Nicolas De loof
74107bf512
Merge pull request #1231 from gtardif/compose_down_remove_orphans
...
Expose `—remove-orphans` in compose down command
2021-02-03 16:17:31 +01:00
Guillaume Tardif
af62c52716
Merge pull request #1230 from gtardif/fix_progress_time_display
...
Avoid negative elapsed the display when only one event is sent.
2021-02-03 15:55:50 +01:00
Guillaume Tardif
4b20d77a86
Expose `—remove-orphans` in compose down command
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:50:49 +01:00
Guillaume Tardif
f0dbc60676
Avoid negative elapsed the display when only one event is sent.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:39:58 +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
Nicolas De loof
09f9a117e2
Merge pull request #1228 from gtardif/healthcheck_e2e
...
Adding e2e test for local compose healthcheck in compose ps
2021-02-03 14:04:42 +01:00
Guillaume Tardif
bf56815251
Adding e2e test for local compose healthcheck in compose ps
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 12:54:22 +01:00
Guillaume Tardif
7d0be7ad5a
Merge pull request #1221 from aiordache/kube_progress_writer
...
Kube backend: Add progress writer to `compose up/down`
2021-02-03 12:01:03 +01:00
Nicolas De Loof
4cbb33e20d
Add support for --log-level
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-03 11:49:21 +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
8750d053a3
Merge pull request #1222 from gtardif/kube_ctx_description
...
Kube ctx description
2021-02-03 10:40:38 +01:00
Nicolas De loof
b6b2f297be
Merge pull request #1223 from ulyssessouza/fix-golden-based-tests
...
Fix golden files usage
2021-02-03 07:21:55 +01:00
Ulysses Souza
906e434be5
Fix golden files usage
...
This follows https://github.com/docker/compose-cli/pull/1220/files
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-02 20:14:23 -03: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
Nicolas De loof
4d3d7c11ca
Merge pull request #1211 from docker/health
...
Add HEALTH column to compose ps
2021-02-02 16:58:26 +01:00
Nicolas De loof
9ef7850076
Merge pull request #1216 from docker/profiles
...
Introduce --profile option
2021-02-02 16:57:02 +01:00
Nicolas De loof
ad7611b9ff
Merge pull request #1220 from docker/golden
...
golden file in subfolder trigger MkDir ¯\_(ツ)_/¯
2021-02-02 16:53:13 +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
e48ad7d6c0
golden file in subfolder trigger MkDir ¯\_(ツ)_/¯
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 15:44:37 +01:00
Nicolas De loof
b5ac3183d7
Merge pull request #1218 from docker/ps_all
...
Introduce --all option on compose ps
2021-02-02 14:24:14 +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
Nicolas De Loof
b1f864a6f8
Introduce --profile option
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:51:22 +01:00
Nicolas De Loof
c4f6b1bd14
Add HEALTH column to compose ps
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-01 17:40:30 +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
74c394124c
Add kube auto-labeller
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-01 12:22:57 +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
Nicolas De loof
ef2e82b6c3
Merge pull request #1204 from docker/aci_timeout
...
ACI timeout moved from 10 to 15 mins
2021-02-01 11:24:40 +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