Acorn - v0.10.0


New Features

ComputeClass over-provisioning - With this feature, administrators can configure computeClasses with a requestScaler value. This will cause the memory and cpu requested to be scaled down based on the value set. For example, if the computeClass in use has its requestScaler value set to .1 and a user creates an app requesting 2 GiB of memory, the corresponding pod that is created will have its memory request field set to .2 GiB. The memory limit will remain the full 2 GiB. More details here.

ComputeClass generic resource fields - Thanks to community user @dciangot for this contribution! With this feature, administrators can now configure computeClasses with any kind of resources allowed by K8s' corev1.ResourceRequirements. This enables interesting use cases such as supporting GPU-based nodes.

acorn install --ignore-resource-requirements flag added - This will cause your acorn runtime to ignore all resource requirements on acorns being launched. This is useful if your Acorns define resource requests appropriate for production environments, but you want to easily spin them up locally and don’t have enough resources to accommodate them.

Support for user directive in container definitions - You can now specify a user and group containers should run as like so: user: "1000:1000”. This will translate to containerSecurityContext.RunAsUser and RunAsGroup in the pod specification. This is useful if your container image is designed to run as a specific non-root user. See the docs here.

Support for credential secrets - These secrets are similar to to the existing opaque type because they can hold any data you need, but they provide helpful UX to the end user by displaying instructions and prompting the user for the values. More details here.

acorn edit [app-name] and acorn secret edit [secret name] - With these commands, you can now easily edit applications and secrets. When editing an application, you'll be able to edit the values you set when launching the app, like the image, environment variables, and deploy arguments.

Housekeeping

With this release you may notice we've restructured our docs. Please take note:
- Docs for end users of Acorn now live here: https://docs.acorn.io
- Docs for administrators who are installing and operating their own Acorn installs are here: https://runtime-docs.acorn.io/

We've removed support for an older version of of the Acornfile specification. This should affect very few people as we just removed some undocumented functionality, but if you notice that a previously working Acornfile stops working, reach out to us for support.

What's Changed

  • Deduplicate endpoints for ingress that has port defined by @StrongMonkey in https://github.com/acorn-io/runtime/pull/2321
  • Convert protocol, find matching port for endpoints by @StrongMonkey in https://github.com/acorn-io/runtime/pull/2323
  • Wait for server to acknowledge app deletion before trying ignore-cleanup by @thedadams in https://github.com/acorn-io/runtime/pull/2324
  • Stop trying to parse empty image names by @thedadams in https://github.com/acorn-io/runtime/pull/2325
  • Update to new AML version by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2329
  • Expand * verbs when doing SAR checks on images by @thedadams in https://github.com/acorn-io/runtime/pull/2330
  • Revert "Expand * verbs when doing SAR checks on images" by @thedadams in https://github.com/acorn-io/runtime/pull/2331
  • Add edit and secret edit command by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2332
  • Add secret update and secret create --replace/--update by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2333
  • add alias for acorn project cli by @keyallis in https://github.com/acorn-io/runtime/pull/2337
  • Add ability to prompt for credential secrets (phase 1) by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2343
  • Add containerreplicas/portforward permission to edit role by @thedadams in https://github.com/acorn-io/runtime/pull/2347
  • Add login required for nested apps by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2346
  • Cleaned up docs to focus on runtime. by @cloudnautique in https://github.com/acorn-io/runtime/pull/2345
  • add: user directive in Acornfile (e.g. user: "1000:1000") (#718) by @iwilltry42 in https://github.com/acorn-io/runtime/pull/2334
  • add: 'acorn project use -' to switch to last used project (#1319) by @iwilltry42 in https://github.com/acorn-io/runtime/pull/2352
  • add: volume preloading via ?preload=true directive in Acornfile (manager#1598) by @iwilltry42 in https://github.com/acorn-io/runtime/pull/2351
  • Add busybox init script by @tylerslaton in https://github.com/acorn-io/runtime/pull/2354
  • Add acorn-busybox-init to .goreleaser extra_files section for arm64 by @tylerslaton in https://github.com/acorn-io/runtime/pull/2355
  • Support .d dirs for acornfiles by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2358
  • Set the Host header in the nginx router config by @thedadams in https://github.com/acorn-io/runtime/pull/2359
  • Ignore auth failures when trying to pull apps during cli login by @keyallis in https://github.com/acorn-io/runtime/pull/2366
  • Add feature flag to control whether we should add don't evict annotation by @StrongMonkey in https://github.com/acorn-io/runtime/pull/2360
  • Add support for runtime classes on Acorn computeclasses by @cloudnautique in https://github.com/acorn-io/runtime/pull/2363
  • Ensure that nginx does DNS lookups by @thedadams in https://github.com/acorn-io/runtime/pull/2368
  • Add the new resolv nameserver copier to goreleaser file by @thedadams in https://github.com/acorn-io/runtime/pull/2370
  • fix: replace / with - in anonymous ephemeral volume names (manager-specific) (manager#1598) by @iwilltry42 in https://github.com/acorn-io/runtime/pull/2362
  • Remove temporary VolumeSize migration logic by @tylerslaton in https://github.com/acorn-io/runtime/pull/2319
  • Revert "Remove temporary VolumeSize migration logic" by @tylerslaton in https://github.com/acorn-io/runtime/pull/2371
  • More reliably determine when linked/aliased services are ready by @thedadams in https://github.com/acorn-io/runtime/pull/2373
  • Remove -job suffix from generated service names by @njhale in https://github.com/acorn-io/runtime/pull/2374
  • Resolved offerings by @g-linville in https://github.com/acorn-io/runtime/pull/2369
  • Revert "Resolved offerings (#2369)" by @g-linville in https://github.com/acorn-io/runtime/pull/2376
  • Add resolved offerings to the AppInstance status by @g-linville in https://github.com/acorn-io/runtime/pull/2377
  • Add assistants and functions by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2388
  • Fix memory values in resolved offerings (#2389) by @g-linville in https://github.com/acorn-io/runtime/pull/2390
  • Add support for acorn.region interpolation in Acornfiles by @thedadams in https://github.com/acorn-io/runtime/pull/2391
  • Drop legacy aml support by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2393
  • Add resources field to computeclass #2380 by @dciangot in https://github.com/acorn-io/runtime/pull/2384
  • ComputeClass request downscaling for overprovisioning (#2381) by @keyallis in https://github.com/acorn-io/runtime/pull/2394
  • ComputeClass overprovisioning request floor ignores minimum (#2381) by @keyallis in https://github.com/acorn-io/runtime/pull/2396
  • Update to k8s 1.29, remove all rancher code and go.mod replaces by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2397
  • Change app generated namespace to be deterministic by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2398
  • Add support to ignore resource requests/limits for local dev purposes by @keyallis in https://github.com/acorn-io/runtime/pull/2400
  • fix: remove potential to panic when validating computeclass create requests by @tylerslaton in https://github.com/acorn-io/runtime/pull/2403
  • Bump function builder by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2406
  • Update goreleaser for tap deprecation by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2407
  • Add local environment by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2412
  • fix: resolved offerings: prioritize -m over Acornfile (#2415) by @g-linville in https://github.com/acorn-io/runtime/pull/2416
  • fix: cli: return an error when creating a secret that already exists (#2408) by @g-linville in https://github.com/acorn-io/runtime/pull/2417
  • Local fixes by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2419
  • Add back buildkit volume by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2421
  • fix: credential secrets: use defaults as defined in the Acornfile (#2411) by @g-linville in https://github.com/acorn-io/runtime/pull/2420
  • [Docs] updates by @cloudnautique in https://github.com/acorn-io/runtime/pull/2418
  • Fix malformed message when error is nil by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2424
  • Create run directory to ensure xtables works in local by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2425
  • Don't panic during acorn local start by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2426
  • Add docker client API version negotiation by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2427
  • fix: credential secrets: handle case where no default is set (#2411) by @g-linville in https://github.com/acorn-io/runtime/pull/2423
  • fix: credential secrets: avoid race condition when prompting user (#2410) by @g-linville in https://github.com/acorn-io/runtime/pull/2422
  • enhance: allow dots in env vars by @iwilltry42 in https://github.com/acorn-io/runtime/pull/2428
  • fix: credential secrets: avoid the race condition better (#2410) by @g-linville in https://github.com/acorn-io/runtime/pull/2431
  • fix: hide compute class request scaler value from api output (2429) by @keyallis in https://github.com/acorn-io/runtime/pull/2430
  • Use docker CLI logic to initialize API client so contexts work properly by @ibuildthecloud in https://github.com/acorn-io/runtime/pull/2437
  • chore: use goreleaser version 1.23.0 by @thedadams in https://github.com/acorn-io/runtime/pull/2439
  • fix: address issue with computeclass tables not converting properly by @tylerslaton in https://github.com/acorn-io/runtime/pull/2438
  • chore: bump cosign to v2.2.2 for releases by @thedadams in https://github.com/acorn-io/runtime/pull/2440
  • chore: update cosign arguments by @thedadams in https://github.com/acorn-io/runtime/pull/2441

New Contributors

  • @dciangot made their first contribution in https://github.com/acorn-io/runtime/pull/2384

Full Changelog: https://github.com/acorn-io/runtime/compare/v0.9.2...v0.10.0


Details

date
Jan. 20, 2024, 12:30 a.m.
name
v0.10.0
type
Minor
πŸ‘‡
Register or login to:
  • πŸ”View and search all Acorn releases.
  • πŸ› οΈCreate and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • πŸš€Much more coming soon!
Continue with GitHub
Continue with Google
or