-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add v0.5.0 changelog and chart (#273)
Signed-off-by: Siyu Wang <[email protected]>
- Loading branch information
Showing
17 changed files
with
2,137 additions
and
6 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
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
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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
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,17 @@ | ||
apiVersion: v1 | ||
name: kruise | ||
description: Helm chart for all kruise-manager components | ||
version: 0.5.0 | ||
appVersion: 0.5.0 | ||
icon: http://openkruise.io/img/kruise_white.png | ||
keywords: | ||
- kubernetes | ||
- kruise | ||
- workload | ||
- statefulset | ||
- sidecar | ||
- job | ||
- deployment | ||
home: https://openkruise.io | ||
sources: | ||
- https://github.com/openkruise/kruise |
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,50 @@ | ||
# Kruise | ||
|
||
## Install | ||
|
||
```bash | ||
helm install kruise https://github.com/openkruise/kruise/releases/download/v0.5.0/kruise-chart.tgz | ||
``` | ||
|
||
you will see follow: | ||
|
||
``` | ||
NAME: kruise | ||
LAST DEPLOYED: Mon Jan 6 14:47:48 2020 | ||
NAMESPACE: default | ||
STATUS: deployed | ||
REVISION: 1 | ||
TEST SUITE: None | ||
``` | ||
|
||
## Uninstall | ||
|
||
```bash | ||
$ helm delete kruise | ||
release "kruise" uninstalled | ||
``` | ||
|
||
## Configuration | ||
|
||
The following table lists the configurable parameters of the kruise chart and their default values. | ||
|
||
| Parameter | Description | Default | | ||
|-------------------------------------------|--------------------------------------------------------------------|-------------------------------------| | ||
| `log.level` | Log level that kruise-manager printed | `4` | | ||
| `revisionHistoryLimit` | Limit of revision history | `3` | | ||
| `manager.resources.limits.cpu` | CPU resource limit of kruise-manager container | `100m` | | ||
| `manager.resources.limits.memory` | Memory resource limit of kruise-manager container | `256Mi` | | ||
| `manager.resources.requests.cpu` | CPU resource request of kruise-manager container | `100m` | | ||
| `manager.resources.requests.memory` | Memory resource request of kruise-manager container | `256Mi` | | ||
| `manager.metrics.addr` | Addr of metrics served | `localhost` | | ||
| `manager.metrics.port` | Port of metrics served | `8080` | | ||
| `manager.custom_resource_enable` | Custom resources enabled by kruise-manager | `""(empty means all enabled)` | | ||
| `spec.nodeAffinity` | Node affinity policy for kruise-manager pod | `{}` | | ||
| `spec.nodeSelector` | Node labels for kruise-manager pod | `{}` | | ||
| `spec.tolerations` | Tolerations for kruise-manager pod | `[]` | ||
|
||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, | ||
|
||
```bash | ||
# helm install kruise https://github.com/openkruise/kruise/releases/download/v0.5.0/kruise-chart.tgz --set manager.log.level=5,manager.custom_resource_enable="StatefulSet\,SidecarSet" | ||
``` |
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,32 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "kruise.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "kruise.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "kruise.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} |
Oops, something went wrong.