This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/7.10' into 710-readme-enhancements
- Loading branch information
Showing
78 changed files
with
713 additions
and
390 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
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,15 @@ | ||
default: test | ||
|
||
include ../../../helpers/examples.mk | ||
|
||
CHART := apm-server | ||
RELEASE := helm-apm-server-upgrade | ||
FROM := 7.6.0 # 7.6.0 is the first release for apm-server | ||
|
||
install: | ||
../../../helpers/upgrade.sh --chart $(CHART) --release $(RELEASE) --from $(FROM) | ||
|
||
test: install goss | ||
|
||
purge: | ||
helm del $(RELEASE) |
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 @@ | ||
# Upgrade | ||
|
||
This example will deploy APM Server chart using an old chart version, | ||
then upgrade it. | ||
|
||
|
||
## Usage | ||
|
||
* Add the Elastic Helm charts repo: `helm repo add elastic https://helm.elastic.co` | ||
|
||
* Deploy [Elasticsearch Helm chart][]: `helm install elasticsearch elastic/elasticsearch` | ||
|
||
* Deploy and upgrade APM Server chart with the default values: `make install` | ||
|
||
|
||
## Testing | ||
|
||
You can also run [goss integration tests][] using `make test`. | ||
|
||
|
||
[goss integration tests]: https://github.com/elastic/helm-charts/tree/master/apm-server/examples/upgrade/test/goss.yaml |
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,6 @@ | ||
http: | ||
http://localhost:8200?pretty: | ||
status: 200 | ||
timeout: 2000 | ||
body: | ||
- "7.10.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,12 @@ | ||
--- | ||
apmConfig: | ||
apm-server.yml: | | ||
apm-server: | ||
host: "0.0.0.0:8200" | ||
queue: {} | ||
output.file: | ||
enabled: false | ||
output.elasticsearch: | ||
hosts: ["http://upgrade-master:9200"] |
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.