Skip to content

Commit ac24594

Browse files
[8.17] (backport #8575) [ci] fix k8s integration tests flakiness (#8621)
* [ci] fix k8s integration tests flakiness (#8575) * feat: vendor all necessary test artifacts for kubernetes integration to minimise flakiness due to transient errors * fix: correct decode api key * fix: clear CA_TRUSTED env var for kustomize * fix: bump memory limits for kustomize * fix: fabricate paths leveraging filepath * fix: remove redundant file moving when downloading kube stack helm chart * feat: vendor expanded archives * fix: use filepath.Join * doc: update BuildDependencies godoc (cherry picked from commit 7259e54) # Conflicts: # NOTICE-fips.txt # NOTICE.txt # go.mod # magefile.go # testing/integration/k8s/journald_test.go # testing/integration/k8s/kubernetes_agent_standalone_test.go * fix: resolve conflicts * fix: rework CA_TRUSTED elimination * fix: add ELASTIC_AGENT_OTEL in TestKubernetesAgentOtel --------- Co-authored-by: Panos Koutsovasilis <[email protected]>
1 parent 99734da commit ac24594

File tree

213 files changed

+61860
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+61860
-742
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ check-ci:
4141
@mage -v helm:lint
4242
@mage -v helm:updateAgentVersion
4343
@mage -v helm:renderExamples
44+
@mage -v integration:buildKubernetesTestData
4445
@$(MAKE) check-no-changes
4546

4647
## check: run all the checks including linting using golangci-lint.

NOTICE.txt

Lines changed: 535 additions & 543 deletions
Large diffs are not rendered by default.

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
# - SYS_ADMIN
8484
resources:
8585
limits:
86-
memory: 1Gi
86+
memory: 1200Mi
8787
requests:
8888
cpu: 100m
8989
memory: 500Mi

deploy/kubernetes/elastic-agent-kustomize/default/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ spec:
8888
# - SYS_ADMIN
8989
resources:
9090
limits:
91-
memory: 1Gi
91+
memory: 1200Mi
9292
requests:
9393
cpu: 100m
9494
memory: 500Mi

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/base/elastic-agent-managed-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
# - SYS_ADMIN
8484
resources:
8585
limits:
86-
memory: 1Gi
86+
memory: 1200Mi
8787
requests:
8888
cpu: 100m
8989
memory: 500Mi

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-managed/extra/elastic-agent-managed-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
# - SYS_ADMIN
8484
resources:
8585
limits:
86-
memory: 1Gi
86+
memory: 1200Mi
8787
requests:
8888
cpu: 100m
8989
memory: 500Mi

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/base/elastic-agent-standalone-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ spec:
8888
# - SYS_ADMIN
8989
resources:
9090
limits:
91-
memory: 1Gi
91+
memory: 1200Mi
9292
requests:
9393
cpu: 100m
9494
memory: 500Mi

deploy/kubernetes/elastic-agent-kustomize/ksm-autosharding/elastic-agent-standalone/extra/elastic-agent-standalone-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ spec:
8888
# - SYS_ADMIN
8989
resources:
9090
limits:
91-
memory: 1Gi
91+
memory: 1200Mi
9292
requests:
9393
cpu: 100m
9494
memory: 500Mi

deploy/kubernetes/elastic-agent-managed-kubernetes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
# - SYS_ADMIN
8484
resources:
8585
limits:
86-
memory: 1Gi
86+
memory: 1200Mi
8787
requests:
8888
cpu: 100m
8989
memory: 500Mi

deploy/kubernetes/elastic-agent-managed/elastic-agent-managed-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
# - SYS_ADMIN
8484
resources:
8585
limits:
86-
memory: 1Gi
86+
memory: 1200Mi
8787
requests:
8888
cpu: 100m
8989
memory: 500Mi

0 commit comments

Comments
 (0)