forked from LaconicNetwork/kompose
Update links in docs skippbox->kubernetes-incubator
This commit is contained in:
parent
f8f737be7b
commit
ad8d053f7e
@ -1,6 +1,6 @@
|
|||||||
# Kompose (Kubernetes + Compose)
|
# Kompose (Kubernetes + Compose)
|
||||||
|
|
||||||
[](https://travis-ci.org/skippbox/kompose) [](https://skippbox.herokuapp.com)
|
[](https://travis-ci.org/kubernetes-incubator/kompose) [](https://skippbox.herokuapp.com)
|
||||||
|
|
||||||
`kompose` is a tool to help users who are familiar with `docker-compose` move to [Kubernetes](http://kubernetes.io). `kompose` takes a Docker Compose file and translates it into Kubernetes resources.
|
`kompose` is a tool to help users who are familiar with `docker-compose` move to [Kubernetes](http://kubernetes.io). `kompose` takes a Docker Compose file and translates it into Kubernetes resources.
|
||||||
|
|
||||||
@ -30,11 +30,11 @@ Other examples are provided in the _examples_ [directory](./examples).
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Grab the latest [release](https://github.com/skippbox/kompose/releases) for your OS, untar and extract the binary.
|
Grab the latest [release](https://github.com/kubernetes-incubator/kompose/releases) for your OS, untar and extract the binary.
|
||||||
|
|
||||||
Linux example:
|
Linux example:
|
||||||
```
|
```
|
||||||
wget https://github.com/skippbox/kompose/releases/download/v0.1.1/kompose_linux-amd64.tar.gz
|
wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.1/kompose_linux-amd64.tar.gz
|
||||||
tar -xvf kompose_linux-amd64.tar.gz --strip 1
|
tar -xvf kompose_linux-amd64.tar.gz --strip 1
|
||||||
sudo mv kompose /usr/local/bin
|
sudo mv kompose /usr/local/bin
|
||||||
```
|
```
|
||||||
@ -83,7 +83,7 @@ $ make binary-cross
|
|||||||
## Contributing and Issues
|
## Contributing and Issues
|
||||||
|
|
||||||
`kompose` is a work in progress, we will see how far it takes us. We welcome any pull request to make it even better.
|
`kompose` is a work in progress, we will see how far it takes us. We welcome any pull request to make it even better.
|
||||||
If you find any issues, please [file it](https://github.com/skippbox/kompose/issues).
|
If you find any issues, please [file it](https://github.com/kubernetes-incubator/kompose/issues).
|
||||||
|
|
||||||
## Community, discussion, contribution, and support
|
## Community, discussion, contribution, and support
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@ Every loader “implementation” should be placed into `kompose/pkg/loader` (li
|
|||||||
|
|
||||||
## KomposeObject
|
## KomposeObject
|
||||||
|
|
||||||
`KomposeObject` is Kompose internal representation of all containers loaded from input file. First version of `KomposeObject` looks like this (source: [kobject.go](https://github.com/skippbox/kompose/blob/master/pkg/kobject/kobject.go)):
|
`KomposeObject` is Kompose internal representation of all containers loaded from input file. First version of `KomposeObject` looks like this (source: [kobject.go](https://github.com/kubernetes-incubator/kompose/blob/master/pkg/kobject/kobject.go)):
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// KomposeObject holds the generic struct of Kompose transformation
|
// KomposeObject holds the generic struct of Kompose transformation
|
||||||
|
|||||||
@ -30,7 +30,7 @@ $ make binary
|
|||||||
## Workflow
|
## Workflow
|
||||||
### Fork the main repository
|
### Fork the main repository
|
||||||
|
|
||||||
1. Go to https://github.com/skippbox/kompose
|
1. Go to https://github.com/kubernetes-incubator/kompose
|
||||||
2. Click the "Fork" button (at the top right)
|
2. Click the "Fork" button (at the top right)
|
||||||
|
|
||||||
### Clone your fork
|
### Clone your fork
|
||||||
@ -38,11 +38,11 @@ $ make binary
|
|||||||
The commands below require that you have $GOPATH. We highly recommended you put Kompose' code into your $GOPATH.
|
The commands below require that you have $GOPATH. We highly recommended you put Kompose' code into your $GOPATH.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
mkdir -p $GOPATH/src/github.com/skippbox
|
mkdir -p $GOPATH/src/github.com/kubernetes-incubator
|
||||||
cd $GOPATH/src/github.com/skippbox
|
cd $GOPATH/src/github.com/kubernetes-incubator
|
||||||
git clone https://github.com/$YOUR_GITHUB_USERNAME/kompose.git
|
git clone https://github.com/$YOUR_GITHUB_USERNAME/kompose.git
|
||||||
cd kompose
|
cd kompose
|
||||||
git remote add upstream 'https://github.com/skippbox/kompose'
|
git remote add upstream 'https://github.com/kubernetes-incubator/kompose'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a branch and make changes
|
### Create a branch and make changes
|
||||||
@ -59,7 +59,7 @@ git fetch upstream
|
|||||||
git rebase upstream/master
|
git rebase upstream/master
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: If you have write access to the main repository at github.com/skippbox/kompose, you should modify your git configuration so that you can't accidentally push to upstream:
|
Note: If you have write access to the main repository at github.com/kubernetes-incubator/kompose, you should modify your git configuration so that you can't accidentally push to upstream:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
git remote set-url --push upstream no_push
|
git remote set-url --push upstream no_push
|
||||||
@ -119,7 +119,7 @@ If it is not a valid version try, make sure you have updated the godep repo with
|
|||||||
1. Populate dependencies for your Kompose.
|
1. Populate dependencies for your Kompose.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cd $GOPATH/src/github.com/skippbox
|
cd $GOPATH/src/github.com/kubernetes-incubator
|
||||||
script/godep-restore.sh
|
script/godep-restore.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user