test: Add Calico Inbound and Outbound policies to LKE nodes for E2E#619
Merged
ykim-akamai merged 13 commits intolinode:devfrom Jun 17, 2024
Merged
test: Add Calico Inbound and Outbound policies to LKE nodes for E2E#619ykim-akamai merged 13 commits intolinode:devfrom
ykim-akamai merged 13 commits intolinode:devfrom
Conversation
Contributor
Author
Contributor
lgarber-akamai
left a comment
There was a problem hiding this comment.
Great work so far! Just a few tiny suggestions and this should be good to go 🎉
lgarber-akamai
approved these changes
Jun 13, 2024
Contributor
lgarber-akamai
left a comment
There was a problem hiding this comment.
Works well on my end, nice work!
Tested using the following:
- Create two LKE clusters:
linode-cli lke cluster-create --region us-mia --k8s_version 1.29 --node_pools.type g6-standard-1 --node_pools.count 2 --label test-cluster-1
linode-cli lke cluster-create --region us-mia --k8s_version 1.29 --node_pools.type g6-standard-1 --node_pools.count 2 --label test-cluster-2
- Apply calico rules using provided script:
cd scripts
./lke_calico_rules_e2e.sh
This was referenced Jun 13, 2024
Merged
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
A new script,
lke_calico_rules_e2e.sh, has been added and is called in the E2E workflow file after theRun the integration test suite stepine2e-suite.ymlKey Points:
kubectlandcalicoctlbinaries are required as pre-req which are downloed in the e2e worflow file✔️ How to Test
PR has been checked out
remove_lke_clusters()line 64 intest_clusters.pymake MODULE="lke" testintcd scripts && ./lke_calico_rules_e2e.sh📷 Preview
If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.