Commit Graph

21 Commits

Author SHA1 Message Date
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