-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update Test Samples Workflow - Set up Test EKS Cluster for Dapr #2013
Conversation
Signed-off-by: Karishma Chawla <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs don't run the tests on AWS. We can merge this in and test it in production.
Signed-off-by: Karishma Chawla <[email protected]>
aws eks update-kubeconfig --region ${{ env.AWS_REGION }} --name ${{ steps.gen-id.outputs.TEST_EKS_CLUSTER_NAME }} | ||
timeout-minutes: 60 | ||
continue-on-error: false | ||
- name: Install Dapr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this step since Dapr is installed by default with Radius now radius-project/radius#8033
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Let's test it out in production.
# Fetch the node group name dynamically | ||
NODEGROUP_NAME=$(eksctl get nodegroup \ | ||
--cluster ${{ steps.gen-id.outputs.TEST_EKS_CLUSTER_NAME }} \ | ||
--region ${{ env.AWS_REGION }} \ | ||
-o json | jq -r '.[0].Name') | ||
|
||
# Fetch the security group ID for the EKS worker nodes | ||
NODE_SECURITY_GROUP_ID=$(eksctl get nodegroup \ | ||
--cluster ${{ steps.gen-id.outputs.TEST_EKS_CLUSTER_NAME }} \ | ||
--name $NODEGROUP_NAME \ | ||
--region ${{ env.AWS_REGION }} \ | ||
-o json | jq -r '.[0].Resources.SecurityGroup.ID') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can consolidate this into a single step using the below command.
aws eks describe-cluster --name <cluster_name> --query 'cluster.resourcesVpcConfig.clusterSecurityGroupId' --region <region>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will follow up on this in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated here #2030. Thanks for the feedback.
* Update samples for v0.42 * Update Test Samples Workflow - Set up Test EKS Cluster for Dapr (#2013) * Add check to verify manifests are registered in test workflow (#2031) * Add dependabot file (#2003) * add dependabot file Signed-off-by: sk593 <[email protected]> * remove dir Signed-off-by: sk593 <[email protected]> * update dir Signed-off-by: sk593 <[email protected]> * nit Signed-off-by: sk593 <[email protected]> --------- Signed-off-by: sk593 <[email protected]> * add check to verify manifests are registered Signed-off-by: lakshmimsft <[email protected]> --------- Signed-off-by: sk593 <[email protected]> Signed-off-by: lakshmimsft <[email protected]> Co-authored-by: Shruthi Kumar <[email protected]> * Update command to fetch cluster security group (#2030) Signed-off-by: Karishma Chawla <[email protected]> --------- Signed-off-by: sk593 <[email protected]> Signed-off-by: lakshmimsft <[email protected]> Signed-off-by: Karishma Chawla <[email protected]> Signed-off-by: Radius CI Bot <[email protected]> Co-authored-by: Karishma Chawla <[email protected]> Co-authored-by: Lakshmi Javadekar <[email protected]> Co-authored-by: Shruthi Kumar <[email protected]>
This change updated Radius installation to always install Dapr, which is causing failures in eshop-aws workflow which runs on EKS cluster, as the cluster is lacking the required prerequisites for Dapr through the approach taken in the Radius CLI.
This is causing consistent sample failures and operational pain during every release.
Fixes: #1901 and radius-project/radius#8141