Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jun 27, 2024
1 parent def4a53 commit 421a621
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 69 deletions.
1 change: 0 additions & 1 deletion .github/workflows/releases-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ jobs:
if: ${{ env.PUSH == 'true' }}
env:
CR_RELEASE_NAME_TEMPLATE: "{{ .Name }}-helm-chart-{{ .Version }}"
CR_RELEASE_NOTES_FILE: RELEASE.md
CR_MAKE_RELEASE_LATEST: false
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 10 additions & 3 deletions charts/kwok/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
apiVersion: v2
appVersion: "0.5.2"
description: KWOK (Kubernetes WithOut Kubelet)
type: application
home: https://kwok.sigs.k8s.io/
icon: https://github.com/kubernetes-sigs/kwok/raw/main/logo/kwok.png
keywords:
- kubernetes
- kwok
sources:
- https://github.com/kubernetes-sigs/kwok
name: kwok
description: KWOK (Kubernetes WithOut Kubelet)
version: 0.0.1
appVersion: "0.5.2"
version: 0.0.2
35 changes: 35 additions & 0 deletions charts/kwok/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# KWOK (Kubernetes WithOut Kubelet)

[KWOK](https://github.com/kubernetes-sigs/kwok/) - Simulates thousands of Nodes and Clusters.

## Installing the Chart

Before you can install the chart you will need to add the `kwok` repo to [Helm](https://helm.sh/).

```shell
helm repo add kwok https://kubernetes-sigs.github.io/kwok/
```

After you've installed the repo you can install the chart.

```shell
helm upgrade --install kwok kwok/kwok
```

Set up default custom resources (CRs) of stages
```shell
helm upgrade --install kwok kwok/stage-fast
```

## Configuration

The following table lists the configurable parameters of the KWOK chart and their default values.

| Parameter | Description | Default |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| `image.repository` | Image repository. | `registry.k8s.io/metrics-server/metrics-server` |
| `image.tag` | Image tag, will override the default tag derived from the chart app version. | `""` |
| `image.pullPolicy` | Image pull policy. | `IfNotPresent` |
| `imagePullSecrets` | Image pull secrets. | `[]` |
| `nameOverride` | Override the `name` of the chart. | `nil` |
| `fullnameOverride` | Override the `fullname` of the chart. | `nil` |
14 changes: 11 additions & 3 deletions charts/stage-fast/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
apiVersion: v2
annotations:
kwok.x-k8s.io/version: "0.5.2"
description: Default stage policy of KWOK (Kubernetes WithOut Kubelet)
type: application
home: https://kwok.sigs.k8s.io/
icon: https://github.com/kubernetes-sigs/kwok/raw/main/logo/kwok.png
keywords:
- kubernetes
- kwok
sources:
- https://github.com/kubernetes-sigs/kwok
name: stage-fast
description: Default stage policy of KWOK (Kubernetes WithOut Kubelet)
version: 0.0.1
appVersion: "0.5.2"
version: 0.0.2
35 changes: 35 additions & 0 deletions charts/stage-fast/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Default stage policy of KWOK (Kubernetes WithOut Kubelet)

[KWOK](https://github.com/kubernetes-sigs/kwok/) - Simulates thousands of Nodes and Clusters.

## Installing the Chart

Before you can install the chart you will need to add the `kwok` repo to [Helm](https://helm.sh/).

```shell
helm repo add kwok https://kubernetes-sigs.github.io/kwok/
```

After you've installed the repo you can install the chart.

```shell
helm upgrade --install kwok kwok/kwok
```

Set up default custom resources (CRs) of stages
```shell
helm upgrade --install kwok kwok/stage-fast
```

## Configuration

The following table lists the configurable parameters of the KWOK chart and their default values.

| Parameter | Description | Default |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| `image.repository` | Image repository. | `registry.k8s.io/metrics-server/metrics-server` |
| `image.tag` | Image tag, will override the default tag derived from the chart app version. | `""` |
| `image.pullPolicy` | Image pull policy. | `IfNotPresent` |
| `imagePullSecrets` | Image pull secrets. | `[]` |
| `nameOverride` | Override the `name` of the chart. | `nil` |
| `fullnameOverride` | Override the `fullname` of the chart. | `nil` |
62 changes: 0 additions & 62 deletions charts/stage-fast/templates/_helpers.tpl

This file was deleted.

0 comments on commit 421a621

Please sign in to comment.