Introducing Nanocl 0.15
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 ls
commands, providing immediate insights into your resources.
- Status information is now available in the tables for
-
Detailed Inspections:
- Introducing
nanocl metric inspect
andnanocl event inspect
commands to get detailed information about specific metrics and events.
- Introducing
-
State Backup:
- The new
nanocl backup
command 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
HOST
environment variable to override the default host. - Pass certificates and keys via
CERT
andCERT_KEY
environment variables for client operations.
- Use the
-
Orphan Removal:
- The
nanocl state apply --remove-orphans
option helps you clean up orphaned objects, maintaining a tidy environment.
- The
-
TLS Secret Creation:
nanocl secret create tls
now 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-create
for 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 stop
now 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
, andstart
have 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 ls
andvm ls
commands 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-addr
option to specify the store address directly from the command line.
- Added
-
New Endpoints:
GET /metrics/{key}/inspect
andGET /event/{key}/inspect
to fetch detailed information about metrics and events.
-
Repository and Filter Enhancements:
- A new generic
RepositoryCountBy
interface 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}/inspect
for 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