Skip to content

fix: add labels necessary for autoscaling

Keith Grootboom requested to merge keith/fix-aws-issues into main

Description

  1. Fix the configuration for the AWS autoscaler so that it works.
  2. Update the policy for the S3 buckets to fix the error:
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden

Supporting information

Testing instructions

Steps to test the changes:

  1. On the grove-stage-aws cluster verify that new nodes have been created with ./kubectl get nodes. There will be 5 nodes instead of the default 3.
  2. Create an account and login to https://nutmegtwo.staging.dev.grove-aws.opencraft.hosting
    • Enroll in an existing course
    • Open the enrolled course
    • The course should open without any errors.

Checklist

If any of the items below is not applicable, do not remove them, but put a check in it.

  • All providers include the new feature/change
  • All affected providers can provision new clusters
  • Unit tests are added/updated
  • Documentation is added/updated
  • The TOOLS_CONTAINER_IMAGE_VERSION in ci_vars.yml is updated
  • The grove-template repository is updated
Edited by Keith Grootboom

Merge request reports