Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

7x helm 3 #901

Closed
wants to merge 99 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
fb3b0a7
[release] Initiate 7.7 branch (#541)
mgreau Apr 9, 2020
29d33c3
[meta] fix ci jobs
jmlrt Apr 10, 2020
0f87b17
Merge pull request #570 from jmlrt/fix-ci-jobs-77-branch
jmlrt Apr 10, 2020
a55cea1
[jenkins] Fix Google cluster name (#571)
mgreau Apr 10, 2020
b9e724e
[ci] Fix triggering upstream cleanup job (#578)
mgreau Apr 14, 2020
32ed278
Merge pull request #567 from jmlrt/metricbeat-improvements
jmlrt Apr 10, 2020
724f306
Merge pull request #568 from jmlrt/filebeat-improvements
jmlrt Apr 10, 2020
7ccb9e5
[doc] Update links to 7.7 branch (#579)
mgreau Apr 14, 2020
26bd1ca
Merge pull request #580 from jmlrt/helm-2-16-6
jmlrt Apr 15, 2020
68a54af
[script] Update bumper script to handle SNAPSHOT versions (#581)
mgreau Apr 15, 2020
42eef5d
[ci] Fix multijob configuration for testing staging artifacts (#582)
mgreau Apr 15, 2020
1785431
Merge pull request #583 from Conky5/use-different-image-for-random-key
Conky5 Apr 15, 2020
f74d721
Merge pull request #572 from jmlrt/split-metricbeat-values
jmlrt Apr 17, 2020
f59b2c8
Merge pull request #585 from jmlrt/metricbeat-hostnetwork
jmlrt Apr 17, 2020
fd72d67
Merge pull request #590 from marcostvz/patch-1
jmlrt Apr 20, 2020
65eebf9
Merge pull request #584 from michelesr/master
jmlrt Apr 20, 2020
bcaaaad
Merge pull request #522 from domgoodwin/helm-default-patch
jmlrt Apr 21, 2020
ac520df
Merge pull request #586 from jmlrt/readiness-to-503
jmlrt Apr 21, 2020
e2d4b9c
Merge pull request #569 from cartonalexandre/master
jmlrt Apr 23, 2020
ab26d11
Merge pull request #591 from jmlrt/logstash-http-host-var
jmlrt Apr 27, 2020
6a66c2e
Merge pull request #593 from jmlrt/doc-improvements (#599)
jmlrt Apr 28, 2020
f3f4e27
FAQ and examples improvements (#598) (#600)
jmlrt Apr 28, 2020
1c63c35
[meta] bump version on examples readme (#601)
jmlrt Apr 29, 2020
847b525
initiate 7.x branch (#605)
jmlrt May 5, 2020
ff38c8d
[helm] bump helm version to 2.16.7 (#607)
jmlrt May 6, 2020
675f62e
[metricbeat] fix deployment upgrade by removing chart label from .spe…
jmlrt May 18, 2020
8c904bb
Fix configchecksum not being set (#634)
MaxRink May 27, 2020
df0e7d8
Fix values links in examples/multi/README.md (#639)
coolbaluk May 27, 2020
ba03954
[kibana] String/YAML conditions for `.Values.{extraContainers,extraIn…
maxkochubey May 27, 2020
207674e
[elasticsearch] Fix issue with `readinessProbe` causing outages (#638)
May 28, 2020
934e652
[metricbeat] use deprecated kube-state-metrics config when existing (…
jmlrt May 28, 2020
a32bcae
Elasticsearch secret mountmode (#596)
domgoodwin May 28, 2020
d5f327b
[kibana] Add extensible label support (#555)
ramrodo May 29, 2020
c96be3d
[meta] add support for k8s 1.16 (#635)
jmlrt May 29, 2020
344bc38
[helm] bump helm version to 2.16.8 (#657)
jmlrt Jun 11, 2020
285914a
Elasticsearch: do not include heritage selector (#437)
desaintmartin Jun 11, 2020
487e73b
bump 7.x branch to 7.9.0-SNAPSHOT (#661)
jmlrt Jun 12, 2020
6ad3a5f
[apm-server] increase memory limit (#664)
jmlrt Jun 15, 2020
ba17055
[elasticsearch] Disable service links to prevent very long startup ti…
Jun 17, 2020
8409ed1
[apm-server] allow customizing probes (#671)
jmlrt Jun 18, 2020
d31b4a0
[elasticsearch] update kind example for version >= 0.7.0 (#669)
jmlrt Jun 18, 2020
4f2e8f5
[helm] bump helm version to 2.16.9 (#667)
jmlrt Jun 18, 2020
6d819a7
[logstash] add security example (#392)
jmlrt Jun 18, 2020
e10a7d1
podSecurityContext.runAsUser needs to be nulled as well for Openshift…
mephinet Jun 23, 2020
c72f37c
[meta] disable stackdriver for gke test clusters (#687)
jmlrt Jun 24, 2020
be7e3c4
Add ServiceAccount annotations (#686)
jim-barber-he Jun 26, 2020
e93a51d
[logstash] fix version in security test (#697)
jmlrt Jun 29, 2020
c0b75d5
Elasticsearch: set PVC labels through setting all StatefulSet labels …
desaintmartin Jun 29, 2020
0c1a5f3
[docs] Improve visibility of 6.8 and 7.x releases (#690)
Jun 29, 2020
6735988
[doc] fix copy-paste errors
jmlrt Jun 29, 2020
c450421
[logstash] add headless service for statefulset (#695)
jmlrt Jun 29, 2020
1223398
[filebeat] add permission to list nodes (#704)
bmilescu Jul 2, 2020
feec797
[testing] Ensure that the 'namespace' is specified in Helm command (#…
Jul 8, 2020
a5fec3e
feat(metricbeat): annotation support for daemonset and deployment (#713)
kernkonzentrat Jul 8, 2020
6051c30
[apm-server] Add to test matrix (#708)
Jul 8, 2020
665e1b2
Support creating k8s helm secrets for logstash helm chart #705 (#712)
kksudo Jul 8, 2020
b09bbdc
[filebeat] document probe workaround for kafka output (#699)
jmlrt Jul 8, 2020
6ec92bd
Metricbeat daemonset deployment optional (#716)
erihanse Jul 9, 2020
f8add3d
Make kube-state-metrics optional for installation (#387)
SergK Jul 13, 2020
8430060
[elasticsearch] _helpers.tpl - elasticsearch.endpoints to use elastic…
xario Jul 13, 2020
5f5c0d3
[logstash] Restart the logstash pod when the secrets have changed (#723)
kksudo Jul 15, 2020
fc1bc13
[elasticsearch] Update test image pull policy. (#727)
fhaase2 Jul 15, 2020
ff8ca5f
[Kibana] Add loadbalancerIP to service spec in kibana (#726)
debojitkakoti Jul 16, 2020
a55efee
[doc] fix some links (#737)
jmlrt Jul 17, 2020
8376578
Update README.md (#749)
AhmedSamirAhmed Jul 27, 2020
aa7e446
[release] bump 7.x branch to 7.10.0-SNAPSHOT (#757)
jmlrt Jul 28, 2020
8555428
[meta] add slack notifications to CI jobs (#760)
jmlrt Jul 28, 2020
8acfe40
[doc] update doc links (#758)
jmlrt Jul 28, 2020
e59d4f2
[meta] add helm 3 beta support (#759)
jmlrt Jul 29, 2020
4ef323e
[meta] remove branch specific staging jobs (#736)
jmlrt Jul 29, 2020
af48a18
[meta] drop gke 1.14 tests (#798)
jmlrt Aug 26, 2020
5fa5c34
[helm] bump helm version to 2.16.10 (#797)
jmlrt Aug 27, 2020
2cfd4ee
Fix typo in FAQ (#744)
SlavaSubotskiy Aug 27, 2020
b2334b5
Missing deletion of "elastic-certificate-crt" (#752)
AhmedSamirAhmed Aug 27, 2020
2bd98f7
Remove duplicate "initialDelaySeconds" field (#763)
ebuildy Aug 27, 2020
991cb1c
[logstash] Fix headless service ports spec (#776)
itssimon Aug 27, 2020
0b14236
[metricbeat] Add missing labels for deployment (#770)
vliubko Aug 27, 2020
a3d081f
Fix serviceAccount for APM server (#786)
caiconkhicon Aug 27, 2020
59b9786
[metricbeat] Support secrets (#778)
erihanse Sep 10, 2020
65bf107
[elasticsearch] add loadBalancer externalTrafficPolicy option (#810)
luanguimaraesla Sep 16, 2020
091de92
Include pre-releases in the semver range. (#729)
Sep 16, 2020
e6e4e1a
[elasticsearch] fix secrets names in examples (#811)
jmlrt Sep 16, 2020
8e39cde
[helm] bump helm version to 2.16.12 (#816)
jmlrt Sep 23, 2020
2e46001
[elasticsearch][kibana] disable nss dentry cache (#818)
jmlrt Sep 30, 2020
45c054e
support tpl in logstashConfig, logstashPipeline and kibanaConfig (#717)
qqshfox Oct 2, 2020
b38a4fc
[metricbeat] support deployment/daemonset specific metrics (#820)
v1r7u Oct 2, 2020
288171f
[filebeat] introduce dnsConfig values for the containers (#659)
orong-pp Oct 5, 2020
30373da
[logstash] use only httpPort in headless service (#839)
jmlrt Oct 14, 2020
22b0c8b
Added ingress support to the logstash chart (#793)
jnbelo Oct 16, 2020
5918d20
fixup! Added ingress support to the logstash chart (#793)
jmlrt Oct 16, 2020
d8f2b4b
[Metricbeat] Dont generate config if not enabled (#767)
ebuildy Oct 20, 2020
5d351fb
[all] Simplify doc in 7.x branch (#860)
nkammah Oct 21, 2020
65e19b5
[elasticsearch] add coordinator node to multi test (#854)
jmlrt Oct 27, 2020
27dde9f
[meta] add support for helm 2.17.0 and k8s 1.17 (#880)
jmlrt Nov 3, 2020
b25cc27
[metricbeat] use relocated stable repo for kube-state-metrics (#882)
jmlrt Nov 3, 2020
fc57144
Add warning comment placeholder (7.x branch) (#887)
nkammah Nov 5, 2020
c67eb24
[meta] update rbac.authorization.k8s.io api (#890)
jmlrt Nov 10, 2020
2dad578
[meta] increase helm timeout (#891)
jmlrt Nov 12, 2020
27d509e
Helm 3 (#516)
jmlrt Nov 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge pull request #586 from jmlrt/readiness-to-503
[elasticsearch] update readiness probe endpoint
  • Loading branch information
jmlrt committed Apr 21, 2020
commit ac520df183804633074092bd8f868d79380df283
49 changes: 30 additions & 19 deletions elasticsearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,28 +216,39 @@ spec:
# Once it has started only check that the node itself is responding
START_FILE=/tmp/.es_start_file

http () {
local path="${1}"
if [ -n "${ELASTIC_USERNAME}" ] && [ -n "${ELASTIC_PASSWORD}" ]; then
BASIC_AUTH="-u ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}"
else
BASIC_AUTH=''
fi
curl -XGET -s -k --fail ${BASIC_AUTH} {{ .Values.protocol }}://127.0.0.1:{{ .Values.httpPort }}${path}
}
if [ -n "${ELASTIC_USERNAME}" ] && [ -n "${ELASTIC_PASSWORD}" ]; then
BASIC_AUTH="-u ${ELASTIC_USERNAME}:${ELASTIC_PASSWORD}"
else
BASIC_AUTH=''
fi

if [ -f "${START_FILE}" ]; then
echo 'Elasticsearch is already running, lets check the node is healthy and there are master nodes available'
http "/_cluster/health?timeout=0s"
echo 'Elasticsearch is already running, lets check the node is healthy'
HTTP_CODE=$(curl -XGET -s -k ${BASIC_AUTH} -o /dev/null -w '%{http_code}' {{ .Values.protocol }}://127.0.0.1:{{ .Values.httpPort }}/)
RC=$?
if [[ ${RC} -ne 0 ]]; then
echo "curl -XGET -s -k \${BASIC_AUTH} -o /dev/null -w '%{http_code}' {{ .Values.protocol }}://127.0.0.1:{{ .Values.httpPort }}/ failed with RC ${RC}"
exit ${RC}
fi
# ready if HTTP code 200, 503 is tolerable if ES version is 6.x
if [[ ${HTTP_CODE} == "200" ]]; then
exit 0
elif [[ ${HTTP_CODE} == "503" && "{{ include "elasticsearch.esMajorVersion" . }}" == "6" ]]; then
exit 0
else
echo "curl -XGET -s -k \${BASIC_AUTH} -o /dev/null -w '%{http_code}' {{ .Values.protocol }}://127.0.0.1:{{ .Values.httpPort }}/ failed with HTTP code ${HTTP_CODE}"
exit 1
fi

else
echo 'Waiting for elasticsearch cluster to become ready (request params: "{{ .Values.clusterHealthCheckParams }}" )'
if http "/_cluster/health?{{ .Values.clusterHealthCheckParams }}" ; then
touch ${START_FILE}
exit 0
else
echo 'Cluster is not yet ready (request params: "{{ .Values.clusterHealthCheckParams }}" )'
exit 1
fi
echo 'Waiting for elasticsearch cluster to become ready (request params: "{{ .Values.clusterHealthCheckParams }}" )'
if curl -XGET -s -k --fail ${BASIC_AUTH} {{ .Values.protocol }}://127.0.0.1:{{ .Values.httpPort }}/_cluster/health?{{ .Values.clusterHealthCheckParams }} ; then
touch ${START_FILE}
exit 0
else
echo 'Cluster is not yet ready (request params: "{{ .Values.clusterHealthCheckParams }}" )'
exit 1
fi
fi
{{ toYaml .Values.readinessProbe | indent 10 }}
ports:
Expand Down
1 change: 0 additions & 1 deletion elasticsearch/tests/elasticsearch_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def test_defaults():

assert "curl" in c["readinessProbe"]["exec"]["command"][-1]
assert "http://127.0.0.1:9200" in c["readinessProbe"]["exec"]["command"][-1]
assert "/_cluster/health?timeout=0s" in c["readinessProbe"]["exec"]["command"][-1]

# Resources
assert c["resources"] == {
Expand Down