I've done tests with different instance class options and checked the available memory of the instance with the free -h command via SSH, the available memory doesn't change, it gives me the same 988Mi available for all instance_class settings.
It's a rails project.
Configuration file:
entrypoint: bundle exec rails server -p 8080
env: flex
runtime: ruby
instance_class: B4_1G
manual_scaling:
instances: 1
Is the instance_class setting deprecated? Is there a way to define resources for a flex env?