Introducing Nanocl 0.15
· leone
We are thrilled to announce the release of Nanocl 0.15.0, packed with exciting new features, significant enhancements, and important fixes to streamline your container orchestration and virtualization management. This release, effective from June 11, 2024, brings you the tools and improvements you’ve been waiting for. Let’s dive into the details!
Key Highlights
New Features
-
Enhanced Command Output:
- Status information is now available in the tables for
cargo ls,vm ls, andjob lscommands, providing immediate insights into your resources.
- Status information is now available in the tables for
-
Detailed Inspections:
- Introducing
nanocl metric inspectandnanocl event inspectcommands to get detailed information about specific metrics and events.
- Introducing
-
State Backup:
- The new
nanocl backupcommand enables you to back up the current state into multiple Statefiles, ensuring your configurations are safe and recoverable.
- The new
-
Environment Variable Overrides:
- Use the
HOSTenvironment variable to override the default host. - Pass certificates and keys via
CERTandCERT_KEYenvironment variables for client operations.
- Use the
-
Orphan Removal:
- The
nanocl state apply --remove-orphansoption helps you clean up orphaned objects, maintaining a tidy environment.
- The
-
TLS Secret Creation:
nanocl secret create tlsnow accepts paths to the certificate and key, simplifying the process of creating TLS secrets.
-
Generated Man Pages:
- All commands now have associated man pages. View them in markdown format here, or use
man nanocl-cargo-createfor example.
- All commands now have associated man pages. View them in markdown format here, or use
Bug Fixes
-
Improved Command Reliability:
- Commands like
nanocl cargo run,nanocl vm run,nanocl cargo start,nanocl cargo stop,nanocl cargo patch,nanocl job start,nanocl vm start, andnanocl vm stopnow correctly wait for the respective operations to complete before returning.
- Commands like
-
Accurate State Comparisons:
- The diff trigger when applying a Statefile now accurately compares the current state with the new state, ensuring consistency.
Changes
-
Unified Interface:
- Commands such as
inspect,rm,stop, andstarthave been refactored to a single interface, providing a consistent user experience across all objects.
- Commands such as
-
Streamlined Output:
- The namespace has been removed from the tables in
cargo lsandvm lscommands for a cleaner output.
- The namespace has been removed from the tables in
-
Enhanced Loader Experience:
- Applying and removing Statefiles now feature a cleaner loader for a more intuitive process.
Nanocld 0.15.0
Released on May 16, 2024, Nanocld 0.15.0 focuses on updating dependencies, adding new endpoints and options, and fixing several critical issues.
Key Enhancements
-
Command-Line Improvements:
- Added
--store-addroption to specify the store address directly from the command line.
- Added
-
New Endpoints:
GET /metrics/{key}/inspectandGET /event/{key}/inspectto fetch detailed information about metrics and events.
-
Repository and Filter Enhancements:
- A new generic
RepositoryCountByinterface and improved SQL filtering mechanisms for better performance and flexibility. - Indexes added for all SQL schema to enhance query performance.
- Ability to filter queries by dates.
- A new generic
Bug Fixes
- Job Management:
- Stopping processes before removing jobs ensures proper cleanup.
- Fixed issues with patching and restarting cargoes.
Changes
- Resource Inspection Path:
- Updated the resource inspection path to
GET /resources/{name}/inspectfor consistency.
- Updated the resource inspection path to
Ncproxy 0.12.0
Released alongside Nanocld on May 16, 2024, Ncproxy 0.12.0 brings updates to dependencies and introduces request limiting to enhance security.
Key Updates
-
Dependency Update:
- Upgraded to ntex version 2.
-
Request Limiting:
- Added limit request zone for HTTP to prevent abuse.
Changes
- HTTPS Handling:
- Removed redirection to HTTPS in favor of HSTS (HTTP Strict Transport Security) for enhanced security.
We are excited for you to experience the improvements and new features in Nanocl 0.15.0, Nanocld 0.15.0, and Ncproxy 0.12.0. As always, your feedback is invaluable to us, so please let us know how these updates impact your workflow and any suggestions you might have for future releases.
Happy deploying! The Nanocl Team