-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from hhyasdf/doc/update-charts
doc: update docs about helm charts
- Loading branch information
Showing
6 changed files
with
102 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.7.1 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: charts | ||
config: charts/chart-release-config.yaml | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
release-name-template: helm-chart-{{ .Version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
# hybridnet | ||
# hybridnet | ||
|
||
hybridnet is an open source container networking solution designed for hybrid clouds. | ||
|
||
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.2](https://img.shields.io/badge/AppVersion-0.4.2-informational?style=flat-square) | ||
|
||
## Prerequisites | ||
|
||
- Kubernetes v1.16+ | ||
|
||
## Get Repo Info | ||
|
||
```shell | ||
helm repo add hybridnet https://alibaba.github.io/hybridnet/ | ||
helm repo update | ||
``` | ||
|
||
## Install Chart | ||
|
||
**Important:** only helm3 is supported | ||
|
||
```shell | ||
helm install hybridnet hybridnet/hybridnet -n kube-system | ||
``` | ||
The command deploys hybridnet on the Kubernetes cluster in the default configuration. | ||
|
||
_See [configuration](#configuration) below._ | ||
|
||
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ | ||
|
||
## Upgrade Chart | ||
|
||
```shell | ||
helm upgrade hybridnet hybridnet/hybridnet -n kube-system | ||
``` | ||
|
||
_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._ | ||
|
||
## Configuration | ||
|
||
To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), | ||
or run these configuration commands: | ||
|
||
```shell | ||
helm show values hybridnet/hybridnet | ||
``` | ||
|
||
### Change default network type | ||
|
||
After deploying hybridnet with the default configuration, you can change the default network type any | ||
time with these commands: | ||
|
||
```shell | ||
# Change default network type to Underlay | ||
helm upgrade hybridnet hybridnet/hybridnet -n kube-system --set advancedSettings.defualtNetworkType=Underlay | ||
``` | ||
|
||
Of course, if you want to change your container network to use Underlay as default network type, you should | ||
apply some Underlay _Network/Subnet_ CR resources firstly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters