Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] add hubble system test to CI #2265

Merged
merged 4 commits into from
Oct 11, 2023
Merged

Conversation

matmerr
Copy link
Member

@matmerr matmerr commented Sep 28, 2023

Reason for Change:

Validate existing Cilium scenarios with Hubble enabled

Issue Fixed:

Requirements:

Notes:

@matmerr matmerr requested a review from a team as a code owner September 28, 2023 22:56
@matmerr matmerr requested a review from miguelgoms September 28, 2023 22:56
tcp:sourceContext=pod-short;destinationContext=pod-short
dns:flow:sourceContext=pod-short;destinationContext=pod-short
hubble-metrics-server: :9965
hubble-disable-tls: "false"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe?

@@ -24,7 +24,7 @@ data:
enable-health-check-nodeport: "true"
enable-health-checking: "true"
enable-host-legacy-routing: "true"
enable-hubble: "false"
enable-hubble: "true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets create a separate config map ?? and keep this as is

@@ -0,0 +1,98 @@
apiVersion: v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where you are deploying this cilium config? I didn't see this config getting deployed in cilium-e2e-step-template

@@ -0,0 +1,98 @@
apiVersion: v1
data:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what flags did you change from the one without hubble?

@tamilmani1989
Copy link
Member

@matmerr instead of adding this in PR pipeline we should add it in nightly pipeline.. PR pipeline is mainly to catch regressions with cns and azure-ipam component..cilium image would be always same here

@matmerr matmerr changed the base branch from master to hubble-ci October 11, 2023 16:50
@matmerr matmerr merged commit 3c43d7e into Azure:hubble-ci Oct 11, 2023
@matmerr
Copy link
Member Author

matmerr commented Oct 11, 2023

cc: @jshr-w

jshr-w added a commit that referenced this pull request Oct 20, 2023
* [test] add hubble system test to CI (#2265)

* cilium configmap

* update hubble configs and add metrics test

* update pipeline yaml

* separate cilium+hubble config

* ci: move hubble connectivity test to nightly pipeline

* fix: move to correct file

* style: indentation change

* ci: update configmap to enable Hubble

* fix: move hubble test

* fix: move connectivity test before delete

* fix: add daemonset namespace

* fix: update command for configmap replace

* test no restart after replace

* fix: try apply instead of replace

* fix: add back restart ds

* add longer timeout after ds restart

* adjust timeout setup

* extend timeout, add logging

* add logging, change cm command

* update hubble configmap

* clean up sleep statements

* remove hubble connectivity test from PR pipeline

* use kubernetes utils

* fix style

Signed-off-by: jshr-w <[email protected]>

* update ds restart wait

* enable Hubble on nightly, disable on PR

* tag networkobservability test

* fix test call

* enable Hubble after Cilium is ready

* change location of hubble enable

---------

Signed-off-by: jshr-w <[email protected]>
Co-authored-by: Mathew Merrick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants