Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Add cilium as filter for benchmark #14

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ipochi
Copy link
Member

@ipochi ipochi commented Dec 10, 2020

Adds Cilium as a benchmark filter for the framework.

This commit adds two new flags for the `run_tests.py` script.
These are `--kubeconfig-calico-cluster` and `--kubeconfig-cilium-cluster`.

User provides the path of the kubeconfig for a Lokomotive cluster that
has Calico or Cilium installed.

Updates the rest of the code where `kubectl` is called to refer to the
kubeconfig passed instead of relying on the `KUBECONFIG` environment
variable.

Signed-off-by: Imran Pochi <[email protected]>
Signed-off-by: Imran Pochi <[email protected]>
@ipochi ipochi force-pushed the imran/add-cilium-to-filter-for-benchmark branch from 253800c to bdd6611 Compare December 10, 2020 14:07
This commit moves the ping and DNS check utility functions from main to
util package in `pkg/filters/util/ping.go`.

Signed-off-by: Imran Pochi <[email protected]>
This commit updates the `filter` interface method `Cleanup` to return an
error as well.

Update all the implementations to reflect the same.

Signed-off-by: Imran Pochi <[email protected]>
Signed-off-by: Imran Pochi <[email protected]>
@ipochi ipochi force-pushed the imran/add-cilium-to-filter-for-benchmark branch from 238017b to bcac3f7 Compare December 18, 2020 19:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant