Commit Graph

49 Commits

Author SHA1 Message Date
Alf Lervåg
e81ce2d654
Replaced y with ✓ (#1975)
If `y` does not mean ✓ then `y` should be added to the glossary.
2024-12-20 09:18:32 -05:00
João Vitor Paes de Barros do Carmo
ffa8800bc3 docs(configs): included configs section in conversion matrix 2024-11-29 00:16:35 +00:00
João Vitor Paes de Barros do Carmo
9f609d6b7d docs: included notes for configs support 2024-11-29 00:16:35 +00:00
Charlie Drage
50e0408f6f
update references to just compose (#1869)
#### What type of PR is this?

Change from Docker Compose references to just Compose

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

#### What this PR does / why we need it:

Compose is an open format and we should not say "Docker Compose".

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes https://github.com/kubernetes/kompose/issues/1868

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2024-04-26 10:24:55 +02:00
Charlie Drage
575066d3ed
Add new examples to kompose (#1803)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind documentation
/kind feature
-->

/kind cleanup

#### What this PR does / why we need it:

Fixes the current broken examples by:

* Removing all the old incompatible ones (we do not really support v3
  anymore or v2... since switching libraries)
* Uses quay.io/kompose/web as our front end example which is a fork of
  the guestbook-go kubernetes examples

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Closes https://github.com/kubernetes/kompose/issues/1757

#### Special notes for your reviewer:

Test using docker-compose (you'll see it come up!), then try with
kompose :)

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2024-01-16 09:37:31 -05:00
Charlie Drage
f2aeb70e59
Fix TOC on site / documentation (#1580)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

#### What this PR does / why we need it:

The latest spelling error changes broke TOC from showing in the
documentation

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 20:00:59 -05:00
Patrick Rachford
35a430614f
Fixes typos (#1557)
* rebase

* undo commit to assets/**/*

* undo commit in script/test/*

* Apply suggestions from code review

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>

* removes webrick

---------

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>
2023-02-08 14:51:09 -05:00
Lctrs
2ad5745d58
feat: migrate from libcompose to compose-go (#1547)
* feat: migrate from libcompose to compose-go

libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go.
Kompose should now be able to load all versions of compose.

* chore: replace golint with staticcheck

golint has been deprecated. Recommended replacement is staticcheck.
2023-01-12 15:17:22 -05:00
Charlie Drage
ff4a65c08a
Add new Kompose site (#1474)
This PR adds the new Kompose site!

Go preview it at https://kompose.io

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-01-13 13:55:50 -05:00
Hang Yan
40646f4715
1.26.0 Release (#1460)
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
Co-authored-by: komposebot <cdrage+kompose@redhat.com>
2021-11-13 22:49:53 +08:00
ichx
e82fe96c38
Add support for negated placement constraint (#1419) 2021-08-27 22:49:55 +08:00
Lex Cao
f1c9d80ab2 Add user guide on build and push image 2021-08-11 17:09:37 +08:00
Xavier Leune
4dcf813852
Update conversion for command and entrypoint
This pull requests updates the documentation according to the current behavior of kompose (tested with 1.19.0)
2020-05-25 15:55:53 +02:00
Hang Yan
e7f05588bf
Support deploy update_config (#1232) 2020-01-05 19:30:41 +08:00
Hang Yan
4d864a9aab
Support deploy labels (#1231) 2020-01-05 11:35:32 +08:00
Hang Yan
05e9bf4fc8
Support config short syntax and fix old bugs (#1230) 2020-01-05 10:19:22 +08:00
João Vitor Paes de Barros do Carmo
30736a3973 Add support for file based secret (#1159)
* Support file based secret
* Fix issue about read-only volume path and add support to absolute path at long-syntax
2019-12-01 12:05:31 +08:00
Mudit Verma
ac2b852955 Network Key Translation Feature and test cases (#1195) 2019-12-01 10:19:23 +08:00
Hang Yan
1ddf5fe884 Add node about endpoint_mode in doc 2019-06-26 22:03:59 +08:00
Xianlu Bird
0252213efb Add support for Config, endpoint_mode and 3.3 support (#994)
* Add support for Config

* Add deployment endpoint_mode support

* Add docker compose 3.3 support

* Add compose v3.3 support for openshift
2018-08-01 15:09:00 -04:00
Xianlu Bird
ec3391309f Fix doc that we have support v3.1 & 3.2 (#993) 2018-04-27 09:29:28 -04:00
Jonathan Perret
3fa3eadffa Fix typo in conversion.md (#989) 2018-04-18 11:37:31 -04:00
AdamDang
d892abc353 Typo fix in conversion.md (#985)
* Typo fix in conversion.md

Kubernetes uses it's own->Kubernetes uses its own

* Update glide.yaml
2018-04-16 15:21:25 -04:00
Hang Yan
88b8e316b9 Support hostname and domainname 2018-03-31 12:00:37 +08:00
Suraj Narwade
83ffd328d9 Fixed conversion matrix
Updated conversion matrix as cpus under deploy.resources in docker compose v3 are supported now
2017-12-05 17:03:59 +05:30
Charlie Drage
b953844cf3 n -> ✓ for build v3 support
✓ for build v3 support since we merged in
https://github.com/kubernetes/kompose/pull/846/
2017-11-30 10:04:26 -05:00
Charlie Drage
7496662ff3 Update conversion doc for env_file
Updates the conversion doc to indicate that we support env_file

Closes https://github.com/kubernetes/kompose/issues/873
2017-11-22 12:01:52 -05:00
Suraj Narwade
35198cca12 Added feature for placement key in v3
it will map `engine.labels.operatingsystem` to `beta.kubernetes.io/os` and
`node.hostname` to `kubernetes.io/hostname` and all other constraints will not be supported.
2017-10-06 12:22:14 +05:30
Charlie Drage
b1f234154a Update to lowercase in conversion.md
Makes the table a little less clustered with lowercase abbreviations.
2017-08-28 10:50:40 -04:00
Charlie Drage
2e99b8fd3a Adds healthcheck
This PR adds support for HealthCheck, being able to supply, for example:

```yaml
version: "3"

services:
  redis:
    image: redis
    healthcheck:
      test: echo "hello world"
      interval: 10s
      timeout: 1s
      retries: 5
```

Which is then converted to:

```yaml
spec:
  containers:
  - image: redis
    livenessProbe:
      exec:
        command:
        - echo "hello world"
      failureThreshold: 5
      periodSeconds: 10
      timeoutSeconds: 1
    name: redis
    resources: {}
  restartPolicy: Always
```

At the moment, this only supports livenessProbe, with support for readinessProbe in the future.
2017-08-25 10:02:51 -04:00
Charlie Drage
ca46d6a83b Update conversion matrix with windows notes
Moves one of the notes as well as updates credentials_spec
2017-08-21 10:30:25 -04:00
Charlie Drage
7e4a2ea77d Adds a more "full" conversion document
This majorly updates the conversion document in order to have version
compatibile checks with V1, V2 and V3 of Docker Compose and Kompose
support.
2017-08-17 16:07:43 -04:00
Mohammad Asif Siddiqui
aea1f7e149 Fix minor typo 2017-08-17 01:57:36 +08:00
Charlie Drage
73a9f7935d Update docs to reflect conversion changes
Updates the doc due to the recent changes to deploy keys as well as
other mappings.
2017-08-08 10:43:31 -04:00
Charlie Drage
982e54ecb7 Updates the conversion document to reflect changes
This updates the conversion document to outline that we do not support
minor versions since libcompose does not support 2.1 or 2.2 as well as
constant changes to docker/cli stack code regarding 3.1 and above.

I also update the conversion document to better reflect our support on
version 3 as well as update current values.
2017-07-26 15:48:38 -04:00
Charlie Drage
667c63d620 Conversion Reference -> Conversion Matrix
Initialize a documentation build (running the script on travis) as well
as change from Conversion Reference to Conversion Matrix.
2017-07-13 15:01:13 -04:00
gitlawr
1485ed4479 add support for "pid" key
solve #610
convert service.pid to Pod.Spec.HostPid
set Pod.Spec.HostPid to true if service.pid ="host", to false otherwise
update conversion.md on support for the key
2017-05-31 22:39:17 +08:00
Charlie Drage
a82ab15765 Remove version column from conversion document
Removes the version column in order to expand the width of the
conversion document as well as indicate that the table expands on ALL
versions (1,2,3)
2017-05-29 10:06:12 -04:00
gitlawr
c01f6f1763 To solve #440
This commit Add support for stop_grace_period which maps to
Pod.Spec.TerminationGracePeriodSeconds
Updated conversion.md on support for the key
2017-05-23 12:03:14 +08:00
Charlie Drage
0acfc20f72 Merge pull request #580 from gitlawr/supportCap_add_drop
Add Support for cap_add & cap_drop
2017-04-28 09:31:10 -04:00
Tomas Kral
0d3a7084c2 Merge pull request #567 from cdrage/add-spacing-to-table
Adds spacing to table
2017-04-28 11:44:40 +02:00
gitlawr
3916eb9f60 Fixes #575
This commit Add support for cap_add & cap_drop which maps to
Pod.Spec.Container.SecurityContext.Capabilities.Add/Drop
Added unit tests for ConfigCapabilities function
Updated conversion.md on support for these keys
2017-04-28 14:41:12 +08:00
Suraj Narwade
9f849fbbb7 Updated conversion doc
Solves #548

`docs/conversion.md` is updated as `tmpfs` is supported now.
2017-04-26 19:19:55 +05:30
Charlie Drage
eb77221ca0 Adds spacing to table
Adds some spacing to the table to better separate each section.
2017-04-21 11:35:09 -04:00
Charlie Drage
a7a244d93f Fixes the headers of the docs
Changes it to 1 `#`. Fixes the headers so they're consistent across all
docs.
2017-04-10 15:31:02 -04:00
Tomas Kral
c0e2d5a271 Merge pull request #494 from cdrage/remove-extend-from-unused
Remove extend from unused keys, add to conversion doc
2017-03-22 12:56:26 +01:00
Charlie Drage
482c5520c9 Remove extend from unused keys, add to conversion doc
This removes the "unsupported" extends from the list (since we actually
support) as well as add a clarificiation on the conversion.md document.

Closes https://github.com/kubernetes-incubator/kompose/issues/475
Closes https://github.com/kubernetes-incubator/kompose/issues/493
2017-03-15 09:28:58 -04:00
Charlie Drage
28260fb6a6 Add that we support volumes_from
Adds a note to the conversion doc that we support volumes_from.

Closes https://github.com/kubernetes-incubator/kompose/issues/476
2017-03-14 11:30:22 -04:00
Charlie Drage
40a9fbc8e7 Add conversion documentation
This adds a document regarding all the values which are converted from
Docker Compose to Kubernetes / OpenShift. Adding both notes as well as
the value that docker-compose is mapped to in Kubernetes / OpenShift.
2017-03-02 09:17:49 -05:00