This repository has been archived by the owner on May 28, 2024. It is now read-only.
forked from elastic/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump helm version to helm 3.4.1 * update doc to make helm 3 the recommended version * update helm commands arguments for helm 3 * remove helm init and tiller install commands * add stable repo for metricbeat dependencies * remove the charts dance in helmignore (related to elastic#127) * optimize docker images * replace deprecated gitversion capability (related to helm/helm#5601) * remove some heritage labels in immutable fields
- Loading branch information
Showing
50 changed files
with
199 additions
and
227 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -60,17 +60,18 @@ This chart is tested with the latest 7.10.0-SNAPSHOT versions. | |
`helm repo add elastic https://helm.elastic.co` | ||
|
||
* Install it: | ||
- with Helm 2: `helm install --name elasticsearch --version <version> elastic/elasticsearch` | ||
- with [Helm 3 (beta)][]: `helm install elasticsearch --version <version> elastic/elasticsearch` | ||
- with Helm 3: `helm install elasticsearch --version <version> elastic/elasticsearch` | ||
- with Helm 2 (deprecated): `helm install --name elasticsearch --version <version> elastic/elasticsearch` | ||
|
||
|
||
|
||
### Install development version using 7.x branch and 7.10.0-SNAPSHOT versions | ||
|
||
* Clone the git repo: `git clone [email protected]:elastic/helm-charts.git` | ||
|
||
* Install it: | ||
- with Helm 2: `helm install --name elasticsearch ./helm-charts/elasticsearch --set imageTag=7.10.0-SNAPSHOT` | ||
- with [Helm 3 (beta)][]: `helm install elasticsearch ./helm-charts/elasticsearch --set imageTag=7.10.0-SNAPSHOT` | ||
- with Helm 3: `helm install elasticsearch ./helm-charts/elasticsearch --set imageTag=7.10.0-SNAPSHOT` | ||
- with Helm 2 (deprecated): `helm install --name elasticsearch ./helm-charts/elasticsearch --set imageTag=7.10.0-SNAPSHOT` | ||
|
||
|
||
## Upgrading | ||
|
@@ -126,7 +127,7 @@ support multiple versions with minimal changes. | |
| `httpPort` | The http port that Kubernetes will use for the healthchecks and the service. If you change this you will also need to set [http.port][] in `extraEnvs` | `9200` | | ||
| `imagePullPolicy` | The Kubernetes [imagePullPolicy][] value | `IfNotPresent` | | ||
| `imagePullSecrets` | Configuration for [imagePullSecrets][] so that you can use a private registry for your image | `[]` | | ||
| `imageTag` | The Elasticsearch Docker image tag | `7.10.0-SNAPSHOT` | | ||
| `imageTag` | The Elasticsearch Docker image tag | `7.10.0-SNAPSHOT` | | ||
| `image` | The Elasticsearch Docker image | `docker.elastic.co/elasticsearch/elasticsearch` | | ||
| `ingress` | Configurable [ingress][] to expose the Elasticsearch service. See [values.yaml][] for an example | see [values.yaml][] | | ||
| `initResources` | Allows you to set the [resources][] for the `initContainer` in the StatefulSet | `{}` | | ||
|
@@ -158,7 +159,7 @@ support multiple versions with minimal changes. | |
| `secretMounts` | Allows you easily mount a secret as a file inside the StatefulSet. Useful for mounting certificates and other secrets. See [values.yaml][] for an example | `[]` | | ||
| `securityContext` | Allows you to set the [securityContext][] for the container | see [values.yaml][] | | ||
| `service.annotations` | [LoadBalancer annotations][] that Kubernetes will use for the service. This will configure load balancer if `service.type` is `LoadBalancer` | `{}` | | ||
| `service.externalTrafficPolicy` | Some cloud providers allow you to specify the [LoadBalancer externalTrafficPolicy][]. Kubernetes will use this to preserve the client source IP. This will configure load balancer if `service.type` is `LoadBalancer` | `""` | | ||
| `service.externalTrafficPolicy` | Some cloud providers allow you to specify the [LoadBalancer externalTrafficPolicy][]. Kubernetes will use this to preserve the client source IP. This will configure load balancer if `service.type` is `LoadBalancer` | `""` | | ||
| `service.httpPortName` | The name of the http port within the service | `http` | | ||
| `service.labelsHeadless` | Labels to be added to headless service | `{}` | | ||
| `service.labels` | Labels to be added to non-headless service | `{}` | | ||
|
@@ -414,7 +415,6 @@ about our development and testing process. | |
[examples/security]: https://github.com/elastic/helm-charts/tree/7.x/elasticsearch/examples/security | ||
[gke]: https://cloud.google.com/kubernetes-engine | ||
[helm]: https://helm.sh | ||
[helm 3 (beta)]: https://github.com/elastic/helm-charts/tree/master/README.md#helm-3-beta | ||
[helm/charts stable]: https://github.com/helm/charts/tree/master/stable/elasticsearch/ | ||
[how to install plugins guide]: https://github.com/elastic/helm-charts/tree/7.x/elasticsearch/README.md#how-to-install-plugins | ||
[how to use the keystore]: https://github.com/elastic/helm-charts/tree/7.x/elasticsearch/README.md#how-to-use-the-keystore | ||
|
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
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,10 +1,10 @@ | ||
PREFIX := helm-es-migration | ||
|
||
data: | ||
helm upgrade --wait --timeout=900 --install --values ./data.yml $(PREFIX)-data ../../ | ||
helm upgrade --wait --timeout=900s --install --values ./data.yml $(PREFIX)-data ../../ | ||
|
||
master: | ||
helm upgrade --wait --timeout=900 --install --values ./master.yml $(PREFIX)-master ../../ | ||
helm upgrade --wait --timeout=900s --install --values ./master.yml $(PREFIX)-master ../../ | ||
|
||
client: | ||
helm upgrade --wait --timeout=900 --install --values ./client.yml $(PREFIX)-client ../../ | ||
helm upgrade --wait --timeout=900s --install --values ./client.yml $(PREFIX)-client ../../ |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
1. Watch all cluster members come up. | ||
$ kubectl get pods --namespace={{ .Release.Namespace }} -l app={{ template "elasticsearch.uname" . }} -w | ||
2. Test cluster health using Helm test. | ||
$ helm test {{ .Release.Name }} --cleanup | ||
$ helm test {{ .Release.Name }} |
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
Oops, something went wrong.