forked from spotinst/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
118 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
apiVersion: v2 | ||
name: wave-operator | ||
description: A Helm chart for Kubernetes | ||
description: A Helm chart for Wave Operator | ||
type: application | ||
version: 0.2.4 | ||
version: 0.2.5 | ||
appVersion: 0.3.0 | ||
home: https://github.com/spotinst/charts | ||
home: https://github.com/spotinst/charts/tree/main/charts/wave-operator | ||
icon: https://docs.spot.io/_media/images/spot_mark.png | ||
sources: | ||
- https://github.com/spotinst/wave-operator | ||
keywords: | ||
- spot | ||
- toolkit | ||
- ocean | ||
- wave | ||
- operator | ||
maintainers: | ||
- name: ntfrnzn | ||
email: nate.franzen@netapp.com |
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,53 +1,59 @@ | ||
# Wave Operator | ||
# wave-operator | ||
|
||
Helm chart to deploy the Wave Operator | ||
![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square) | ||
|
||
This chart is usually invoked by the [spotcl](https://github.com/spotinst/spotctl) tool, | ||
but may also be run manually. | ||
A Helm chart for Wave Operator. This chart is usually invoked by the [spotctl](https://github.com/spotinst/spotctl) tool, but may also be run manually. | ||
|
||
## Requirements | ||
## Prerequisites | ||
|
||
| Repository | Name | Version | | ||
| --------------------------------- | -------------- | ------- | | ||
| "https://charts.jetstack.io" | cert-manager | 1.0.4+ | | ||
|
||
Cert Manager *must* be installed before the Wave Operator, as several compoenents depend on | ||
certificate request. It is not necessary to use the cert-manager helm chart, if some | ||
other installation method is preferred. | ||
|
||
## Values | ||
|
||
The default values should be satisfactory in every case. Documentation will be added here | ||
when additional configuration proves necessary. | ||
| Repository | Name | Version | Notes | | ||
| -------------------------- | -------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| https://charts.jetstack.io | `cert-manager` | `>= 1.0.4` | [Cert Manager](https://cert-manager.io/) must be installed before the Wave Operator, as several components depend on certificate request. It is not necessary to use the `cert-manager` Helm chart, if some other installation method is preferred. | | ||
|
||
## Installation | ||
|
||
1. Add the chart repository: | ||
1. Add the Spot Helm chart repository: | ||
|
||
```sh | ||
$ helm repo add spot https://charts.spot.io | ||
helm repo add spot https://charts.spot.io | ||
``` | ||
|
||
2. Update information of available charts: | ||
2. Update your local Helm chart repository cache: | ||
|
||
```sh | ||
$ helm repo update | ||
helm repo update | ||
``` | ||
|
||
3. Install Cert Manager | ||
|
||
Use one of the methds described in the [documentation](https://cert-manager.io/docs/installation/kubernetes/) | ||
|
||
4. Install the Wave Operator: | ||
3. Install `wave-operator`: | ||
|
||
```sh | ||
$ helm install wave-operator spot/wave-operator | ||
helm install my-release spot/wave-operator [...] | ||
``` | ||
|
||
## Development | ||
> NOTE: Please configure all required chart values using the `set` command line argument or a `values.yaml` file. | ||
Because the wave operator is highly dependent on cert manager, it's not currently possible | ||
to run the automatic github actions using the [ct](https://github.com/helm/chart-testing) | ||
tool. Therefore, upgrades to this chart should be tested very carefully outside of the | ||
CI process. | ||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
| -------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| affinity.nodeAffinity | object | `{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"spotinst.io/node-lifecycle","operator":"In","values":["od"]}]},"weight":1}]}` | Node affinity. | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. | | ||
| image.repository | string | `"public.ecr.aws/l8m2k1n1/netapp/wave-operator"` | Image repository. | | ||
| image.tag | string | `nil` | Overrides the image tag whose default is latest. | | ||
| imagePullSecrets | list | `[]` | Image pull secrets. | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | Node selector. | | ||
| podAnnotations | object | `{}` | Pod annotations. Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ | | ||
| podSecurityContext | object | `{}` | Pod security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod | | ||
| replicaCount | int | `1` | Replicas. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#replicas | | ||
| resources | object | `{"limits":{"cpu":"500m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"50Mi"}}` | Resource requests and limits. Ref: http://kubernetes.io/docs/user-guide/compute-resources/ | | ||
| securityContext | object | `{}` | Container security context. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container | | ||
| serviceAccount.annotations | object | `{}` | Service account annotations. | | ||
| serviceAccount.create | bool | `true` | Controls whether a service account should be created. | | ||
| serviceAccount.name | string | `"wave-operator"` | Service account name. | | ||
| tolerations | list | `[]` | Tolerations for nodes that have taints on them. Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | | ||
|
||
--- | ||
|
||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) |
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,41 @@ | ||
{{ template "chart.header" . }} | ||
|
||
{{ template "chart.deprecationWarning" . }} | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
{{ template "chart.description" . }}. This chart is usually invoked by the [spotctl](https://github.com/spotinst/spotctl) tool, but may also be run manually. | ||
|
||
## Prerequisites | ||
|
||
| Repository | Name | Version | Notes | | ||
| -------------------------- | -------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| https://charts.jetstack.io | `cert-manager` | `>= 1.0.4` | [Cert Manager](https://cert-manager.io/) must be installed before the Wave Operator, as several components depend on certificate request. It is not necessary to use the `cert-manager` Helm chart, if some other installation method is preferred. | | ||
|
||
## Installation | ||
|
||
1. Add the Spot Helm chart repository: | ||
|
||
```sh | ||
helm repo add spot https://charts.spot.io | ||
``` | ||
|
||
2. Update your local Helm chart repository cache: | ||
|
||
```sh | ||
helm repo update | ||
``` | ||
|
||
3. Install `{{ template "chart.name" . }}`: | ||
|
||
```sh | ||
helm install my-release spot/{{ template "chart.name" . }} [...] | ||
``` | ||
|
||
> NOTE: Please configure all required chart values using the `set` command line argument or a `values.yaml` file. | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
{{ template "chart.valuesSection" . }} | ||
|
||
{{ template "helm-docs.versionFooter" . }} |
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