Skip to content

Commit

Permalink
Update kruise chart to 1.0.0-alpha.1
Browse files Browse the repository at this point in the history
Signed-off-by: FillZpp <[email protected]>
  • Loading branch information
FillZpp committed Oct 26, 2021
1 parent 2a17ae7 commit 8bd08c9
Show file tree
Hide file tree
Showing 21 changed files with 2,809 additions and 2,611 deletions.
1 change: 0 additions & 1 deletion .github/configs/ct-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ chart-dirs:
chart-repos:
- openkruise=https://openkruise.github.io/charts
- minio=https://helm.min.io/
- dandydeveloper=https://dandydeveloper.github.io/charts/
- stable=https://charts.helm.sh/stable
- incubator=https://charts.helm.sh/incubator
helm-extra-args: "--timeout 600s"
Expand Down
1 change: 0 additions & 1 deletion .github/configs/ct-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ chart-dirs:
chart-repos:
- openkruise=https://openkruise.github.io/charts
- minio=https://helm.min.io/
- dandydeveloper=https://dandydeveloper.github.io/charts/
- stable=https://charts.helm.sh/stable
- incubator=https://charts.helm.sh/incubator
helm-extra-args: "--timeout 600s"
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,21 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v1

# - name: Add dependency chart repos
# run: |
# helm repo add openkruise https://openkruise.github.io/charts
# helm repo add minio https://helm.min.io/
# helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
# helm repo add stable https://charts.helm.sh/stable
# helm repo add incubator https://charts.helm.sh/incubator
- name: Add dependency chart repos
run: |
helm repo add openkruise https://openkruise.github.io/charts
helm repo add minio https://helm.min.io/
helm repo add stable https://charts.helm.sh/stable
helm repo add incubator https://charts.helm.sh/incubator
- name: Configure Git
run: |
git config user.name "gh-actions"
git config user.email "[email protected]"
## This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
# - name: Fetch current Chart Index
# run: |
# git checkout origin/gh-pages index.yaml
# This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
- name: Fetch current Chart Index
run: |
git checkout origin/gh-pages index.yaml
- name: Run chart-releaser
uses: helm/[email protected]
with:
Expand Down
13 changes: 11 additions & 2 deletions charts/kruise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: kruise
description: Helm chart for kruise components
version: 0.10.0
icon: https://openkruise.io/img/logo_white.png
version: 1.0.0-alpha.1
icon: https://openkruise.io/img/openkruise.ico
keywords:
- openkruise
- kubernetes
Expand All @@ -16,3 +16,12 @@ keywords:
home: https://openkruise.io
sources:
- https://github.com/openkruise/kruise
annotations:
artifacthub.io/changes: |
- "[Changed]: Bump CustomResourceDefinition(CRD) from v1beta1 to v1"
- "[Changed]: Bump ValidatingWebhookConfiguration/MutatingWebhookConfiguration from v1beta1 to v1"
- "[Changed]: Bump dependencies: k8s v1.18 -> v1.20, controller-runtime v0.6.5 -> v0.8.3"
- "[Removed]: No longer support Kubernetes < 1.16"
- "[Added]: In-place update with env from metadata"
- "[Added]: ContainerLaunchPriority provides a way to help users control the sequence of containers start in a Pod"
- "[Changed]: More details: https://github.com/openkruise/kruise/releases"
24 changes: 3 additions & 21 deletions charts/kruise/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
# Kruise

## Install

We strongly recommend you to use Kruise with **Kubernetes version >= 1.16**.
For these clusters, you can simply install Kruise with helm v3.1.0+:

```bash
helm install kruise https://github.com/openkruise/kruise/releases/download/v0.10.0/kruise-chart.tgz
```

> Note that installing this chart directly means it will use the default template values for the kruise-manager.
You may have to set your specific configurations when it is deployed into a production cluster or you want to configure feature-gates.

For more installation/upgrade details or older Kubernetes versions, please read [this doc](https://openkruise.io/en-us/docs/installation.html).

## Uninstall

```bash
$ helm delete kruise
release "kruise" uninstalled
```

## Configuration

The following table lists the configurable parameters of the kruise chart and their default values.
Expand Down Expand Up @@ -53,6 +32,8 @@ The following table lists the configurable parameters of the kruise chart and th
| `webhookConfiguration.failurePolicy.pods` | The failurePolicy for pods in mutating webhook configuration | `Ignore` |
| `webhookConfiguration.timeoutSeconds` | The timeoutSeconds for all webhook configuration | `30` |
| `crds.managed` | Kruise will not install CRDs with chart if this is false | `true` |
| `manager.resyncPeriod` | Resync period of informer kruise-manager, defaults no resync | `0` |
| `manager.hostNetwork` | Whether kruise-manager pod should run with hostnetwork | `false` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

Expand All @@ -74,6 +55,7 @@ Feature-gate controls some influential features in Kruise:
| `PodUnavailableBudgetDeleteGate` | Enables PodUnavailableBudget for pod deletion, eviction | `false` | No protection for pod deletion, eviction |
| `PodUnavailableBudgetUpdateGate` | Enables PodUnavailableBudget for pod.Spec update | `false` | No protection for in-place update |
| `WorkloadSpread` | Enables WorkloadSpread to manage multi-domain and elastic deploy | `false` | WorkloadSpread disabled |
| `InPlaceUpdateEnvFromMetadata` | Enables Kruise to in-place update a container in Pod when its env from labels/annotations changed and pod is in-place updating | `false` | Only container image can be in-place update |

If you want to configure the feature-gate, just set the parameter when install or upgrade. Such as:

Expand Down
Loading

0 comments on commit 8bd08c9

Please sign in to comment.