Commit Graph

95 Commits

Author SHA1 Message Date
Kamil Kieliszczyk
66ac4aff4f Add kompose.image-pull-secret and kompose.image-pull-policy (#1091)
* Add kompose.image-pull-secret

* Add kompose.image-pull-secret tests

* Add kompose.image-pull-policy

* Add kompose.image-pull-policy tests

* ignore .coverprofile

* Fix typo
2019-02-07 09:50:53 -05:00
huikaihoo
40c1b8cf87 Support multiple hostnames on expose label in service for Kubernetes (#1092)
* Support multiple hostnames on label (kompose.service.expose) separated by semicolon (;)

* Multiple hostnames on expose label separated by comma; Ignore leading / trailing spaces and repeated commas; Updated test cases and documents.
2019-01-31 09:34:04 -05:00
Roberto C. Morano
424f1a9a2c Propagate dots into valid service names (#1063)
* normalize '.' (dot) to '-' (dash) in service names

* added warning about the dot character replacements in service names

* fix gofmt compliance

* also normalize container names (need lowercase)

* splitted normalization for volumes and service names into different functions (it conflicted with './' volumes replacement)

* changed volume normalization to use the new own normalization function

* changed container normalization to use its new own normalization function

* updated as per discussed in PR #1063 review
2018-09-28 20:20:01 +08:00
Hang Yan
7ba07b5f5e
Merge pull request #1001 from xianlubird/features/controller-label
Add label 'kompose.controller.type' set service convert controller type
2018-05-13 15:13:45 +08:00
xianlubird
a4efdd6cca Add label 'kompose.controller.type' set service convert controller type 2018-05-12 11:52:23 +08:00
xianlubird
c26ff8e759 Add some deprecated info warning 2018-05-09 15:46:16 +08:00
Hang Yan
f3412a7399 Add headless service type label
Also remove the relation between restart and service create
2018-04-15 00:23:48 +08:00
Haoyun
228b35a093
fix pod-controller relationship mistake
fix pod-controller relationship mistake
```release-note
None
```
2018-03-20 14:54:08 +08:00
Hang Yan
723bd0f9d8 Support old restart policy in compose v3 2018-03-07 13:35:36 +08:00
Hang Yan
f641582f32 Add doc for volume size label 2018-02-23 14:01:04 +08:00
Hang Yan
9bf86de89b Fix typos in doc 2018-02-07 11:29:17 +08:00
Oliver Bristow
35a782024d Add kompose.service.expose.tls-secret 2017-12-18 15:56:38 +00:00
xianlubird
c717cbd65d Fix typo
Signed-off-by: xianlu <xianlu.cxl@alibaba-inc.com>
2017-11-07 17:39:44 +08:00
Charlie Drage
e5b1f02b5e Add TOC to documentation, add readme.md notice
Adds TOC to architecture.md, getting-started.md, integrations.md and
user-guide.md

Updates README.md to add a notice that the files are best viewed on the
website.
2017-11-06 10:55:04 -05:00
Charlie Drage
5605cb0e54 Add Getting Started guide, adds Minishift tutorial
Updates the getting started guide as well as introduces an
"introduction" page for Kompose.

Adds a Minishift guide as well as a general update to all documentation.
2017-10-05 09:36:53 -04:00
Charlie Drage
787b7d9261 kubernetes-incubator -> kubernetes
Today, we graduate from the incubator, thus all links are updates from
kubernetes-incubator to kubernetes
2017-07-12 15:42:13 -04:00
Charlie Drage
d45cf74cf8 Merge pull request #672 from cdrage/remove-dab-docs
Remove DAB from docs
2017-07-07 10:10:17 -04:00
Suraj Narwade
0c53501e82 Updated user-guide
Fixes issue #678. As we no longer supports setting provider by environment
variable, this PR will remove documentation for the same.
2017-07-06 10:58:34 +05:30
Charlie Drage
bcaec011b1 Remove DAB from docs
Removes references to --bundle or DAB from the Kompose documentation.
2017-06-26 14:41:41 -04:00
Charlie Drage
e004a10d15 Change title to build and push images
Changes the header in the user-guide.md in regards to building and
pushing docker images
2017-06-22 15:41:33 -04:00
Charlie Drage
b9037890f4 Update documentation to reflect build/push and v3 changes
Adds a user guide on how to use the build/push functionality of Docker
images to the user guide.

Adds v3 documentation as well as cleans up the user guide as well.

I also do minor changes such as removing `$ ` in the CLI examples, as
it's easier to copy and paste without the `$ ` there (when double
clicking).

I've also changed the `console` yaml indicitors to `sh` since it doesn't
matter / it's aliased, see:
https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
2017-06-21 07:59:07 -04:00
Suraj Narwade
209cda28d2 Failing when port is specified with labels
Resolves #522
Kompose will give FATAL error if labels are given but ports are not defined
2017-06-15 09:30:01 +05:30
Charlie Drage
f7e81ab7e0 Change output examples in docs to new format
Changes the format from INFO to INFO <PROVIDER> in output examples.
2017-06-09 12:42:33 -04:00
Abhishek
30e39e094c Add warning about change in the service name of docker-compose file that contains _ in it to - 2017-04-26 19:53:57 +05:30
mi
edc2be4353 fix output replication-controller and daemon-set 2017-04-24 10:02:05 +08:00
Charlie Drage
e4bf1666c6 Update doc with better console output and add note on deployment config
Adds note on Deployment Config as well as updates console output for
Kubernetes example
2017-04-18 10:39:47 -04:00
Charlie Drage
d210c7faf4 Update the link to the conversion doc
This updates user-guide.md to link to conversion.md when talking about
unsupported keys used by Kompose.
2017-03-10 14:23:59 -05:00
Charlie Drage
e2fd803a3b Minor fix on user guide 2017-03-02 08:22:37 -05:00
Shubham Minglani
b73efa54f2 set strategy to Recreate if vols, add tests,docs
When volumes are specified in the Docker Compose
files, then in case of Kubernetes, Deployment's
Spec.Strategy.Type and in case of OpenShift,
DeploymentConfig's Spec.Strategy.Type are set to
"Recreate". This is a safer deployment strategy
when Volumes are getting used.

This commit also adds unit tests for Kubernetes
as well as OpenShift, and fixes the failing
functional tests (tests.sh) due to the change.

No functional tests have been added since
the functionality is already covered when the
volume mounts are being tested earlier in the
file.

This fixes #264
2017-02-20 11:44:43 +05:30
Charlie Drage
06a63d6c81 Update documentation removing [0000] timestamp outputs
Updates the README as well as user_guide.md to remove the timestamp
outputs (as well as the random : that was added to the README.md)
2017-01-23 09:00:37 -05:00
Suraj Deshmukh
97d8247047 updated pods example in user guide
earlier example has mariadb updated with more sensible example
that users can try out, since it also simulates a job like
behavior.
2017-01-10 12:08:55 +05:30
Abhishek
cfcbfa8c6d make default kompose conversion YAML 2017-01-04 12:50:56 +05:30
Abhishek
a5a3805760 added support for multiple-compose files 2017-01-03 17:18:34 +05:30
Ratnadeep Debnath
0d86f3e087 Updated docs for openshift buildconfig feature
- Added buildconfig doc in user guide.
- Add inline code documentation to explain why buildconfig
  object needs to be created after imagestream, because of
  https://github.com/openshift/origin/issues/4518
2016-12-28 19:24:45 +05:30
Shubham Minglani
7e378cd546 implement expose service, add tests, fix #140
Implements a kompose specific docker compose label "kompose.service.expose" which can be used to expose the specified services externally. The accepted values are of type string.
If the value is set to "true", the provider sets the endpoint automatically, and for any other value, the value is set as the hostname. If multiple ports are defined in a service, the first one is chosen to be the exposed.

Unit tests, functional tests, glide updates and docs have also been added in this commit for the related feature.
2016-12-21 20:00:38 +05:30
Suraj Deshmukh
6ea5f72e40 support for raw pod output
if a user specifies a docker-compose service
with restart value as "no" or "on-failure"
then normal pod will be created as against
to a controller and a pod.
2016-12-13 19:24:25 +05:30
Charlie Drage
7fa411b44f Add documentation on recenty labels feature
This adds some documentation to the user guide regarding the new labels
feature that's been added to Kompose.
2016-10-28 11:15:16 -04:00
Tuna
c29ef944ce correct networks key 2016-10-24 21:47:16 +02:00
Tuna
99055b4d1b update unsupported key list 2016-10-21 22:55:14 +02:00
Tomas Kral
661bce5a50
add kompose up for openshift to userguide 2016-10-18 12:04:00 +02:00
Charlie Drage
911799b36a Update .dsb references to .dab
Updates the new file extension for distributed application bundles.
2016-10-03 14:53:28 -04:00
Tomas Kral
a65dcfb5d5
Update docs: --bundle is global flag now 2016-09-23 15:14:15 +02:00
Tuna
eec01c92ca update doc properly 2016-09-06 22:36:13 +07:00
Tuna
9b44c675b0 update user guide: kompose up, kompose down 2016-09-03 15:50:55 +07:00
runseb
672a2f0638 Moves examples to docs/user-guide and adds basic roadmap to main readme 2016-08-30 16:10:08 +02:00