1.26.0 Release (#1460)

Signed-off-by: Hang Yan <hang.yan@hotmail.com>
Co-authored-by: komposebot <cdrage+kompose@redhat.com>
This commit is contained in:
Hang Yan
2021-11-13 22:49:53 +08:00
committed by GitHub
co-authored by komposebot
parent 1c4ff96626
commit 40646f4715
16 changed files with 1615 additions and 15 deletions
-1
View File
@@ -1 +0,0 @@
Note: These /docs files are best viewed at [kompose.io](http://kompose.io)
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /architecture/
redirect_from:
- /docs/architecture.md/
---
# Architecture and Internal Design
* TOC
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /conversion/
redirect_from:
- /docs/conversion.md/
---
# Conversion Matrix
This document outlines all possible conversion details regarding `docker-compose.yaml` values to Kubernetes / OpenShift artifacts. This covers *major* versions of Docker Compose such as 1, 2 and 3.
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /development/
redirect_from:
- /docs/development.md/
---
# Development Guide
## Building Kompose
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /getting-started/
redirect_from:
- /docs/getting-started.md/
---
# Getting Started
* TOC
+12 -5
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /installation/
redirect_from:
- /docs/installation.md/
---
# Installation
We have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.
@@ -10,10 +17,10 @@ __Linux and macOS:__
```sh
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-linux-amd64 -o kompose
curl -L https://github.com/kubernetes/kompose/releases/download/v1.26.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-darwin-amd64 -o kompose
curl -L https://github.com/kubernetes/kompose/releases/download/v1.26.0/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose
@@ -21,7 +28,7 @@ sudo mv ./kompose /usr/local/bin/kompose
__Windows:__
Download from [GitHub](https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-windows-amd64.exe) and add the binary to your PATH.
Download from [GitHub](https://github.com/kubernetes/kompose/releases/download/v1.26.0/kompose-windows-amd64.exe) and add the binary to your PATH.
#### Go
@@ -54,8 +61,8 @@ sudo dnf -y install kompose
A deb package is released for compose. Download latest package in the assets in [github releases](https://github.com/kubernetes/kompose/releases).
```bash
wget https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose_1.25.0_amd64.deb # Replace 1.25.0 with latest tag
sudo apt install ./kompose_1.25.0_amd64.deb
wget https://github.com/kubernetes/kompose/releases/download/v1.26.0/kompose_1.26.0_amd64.deb # Replace 1.26.0 with latest tag
sudo apt install ./kompose_1.26.0_amd64.deb
```
#### macOS
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /integrations/
redirect_from:
- /docs/integrations.md/
---
# Integrations
* TOC
-50
View File
@@ -1,50 +0,0 @@
# Kubernetes + Compose = Kompose
## A conversion tool to go from Docker Compose to Kubernetes
### What's Kompose?
Kompose is a conversion tool for Docker Compose to container orchestrators such as Kubernetes (or OpenShift).
Why do developers love it?
- Simplify your development process with Docker Compose and then deploy your containers to a production cluster
- Convert your `docker-compose.yaml` with one simple command `kompose convert`
### It's as simple as 1-2-3
1. [Use an example docker-compose.yaml file](https://raw.githubusercontent.com/kubernetes/kompose/master/examples/docker-compose-v3.yaml) or your own
2. Run `kompose convert`
3. Run `kubectl apply` and check your Kubernetes cluster for your newly deployed containers!
```sh
$ wget https://raw.githubusercontent.com/kubernetes/kompose/master/examples/docker-compose-v3.yaml -O docker-compose.yaml
$ kompose convert
$ kubectl apply -f .
$ kubectl get po
NAME READY STATUS RESTARTS AGE
frontend-591253677-5t038 1/1 Running 0 10s
redis-master-2410703502-9hshf 1/1 Running 0 10s
redis-slave-4049176185-hr1lr 1/1 Running 0 10s
```
A more detailed guide is available in our [getting started guide](/docs/getting-started.md).
### Install Kompose on Linux, macOS or Windows
Grab the Kompose binary!
```sh
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose
```
_Windows:_ Download from [GitHub](https://github.com/kubernetes/kompose/releases/download/v1.25.0/kompose-windows-amd64.exe) and add the binary to your PATH.
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /maven-example/
redirect_from:
- /docs/maven-example.md/
---
# Fabric8 Maven Plugin + Kompose:
Let's deploy a Springboot Java application with Docker Compose file using Fabric8 Maven Plugin to Kubernetes or OpenShift.
+7
View File
@@ -1,3 +1,10 @@
---
layout: default
permalink: /user-guide/
redirect_from:
- /docs/user-guide.md/
---
# User Guide
* TOC