Introducing Nanocl 0.16
We're excited to announce the release of Nanocl 0.16! This update brings a range of changes and improvements across the Nanocl ecosystem. Although this update may seem small, it lays the foundation for future scalability, especially around network meshing, with crucial enhancements in security and network binding. Let’s dive into what’s new and improved across our core components.
Highlights of Nanocl 0.16
One of the most significant improvements in this release is a shift in network architecture. Previously, each Nanocl namespace created its own Docker network, which posed challenges for future scalability, especially with IP binding across multiple nodes. With this release, we've moved to a single network for all containers, virtual machines, and jobs. This architecture will support seamless IP binding for multi-node scaling without compromising on efficiency.
To enhance security in this unified network, we’ve introduced TLS-based end-to-end encryption. By mounting TLS secrets directly inside each container (cargo), only processes with the correct TLS secret can communicate with each other over the network. This allows network discovery but restricts unauthorized access, maintaining security across your distributed applications.
Component Changes
ncproxy
0.13.0
- Changed:
- Updated to
nanocld_client
0.16.0. - Improved target network selection using
NetworkKind
. NetworkKind
is now used to bind networks, enhancing flexibility in network management.
- Updated to
- Fixed:
- TLS proxy support to enable secure end-to-end encryption.
ncdns
0.8.0
- Changed:
- Updated to
nanocld_client
0.16.0. - Network binding now utilizes
NetworkKind
for streamlined network operations.
- Updated to
nanocld
0.16.0
- Added:
- Mounted TLS secrets within each container (cargo) for enhanced security. Located in
/opt/nanocl.io/secrets
. - Loaded environment secrets in
InitContainer
forcargo
andjob
configurations. - Injected internal gateway data (
$$INTERNAL_GATEWAY
) for ease of internal network management.
- Mounted TLS secrets within each container (cargo) for enhanced security. Located in
- Changed:
- Removed namespace-based network bindings to reduce overhead.
- Fixed:
- Resolved missing metadata issues in job specs.
- Improved error messages for events.
- Fixed issues with cargo
InitContainer
network selection. - Status when stopping a living object (cargo, vm, job)
nanocl
0.16.0 (CLI)
- Added:
nanocl logs
command for single-process log viewing for easier debugging.nanocl inspect
command for inspecting individual processes.
- Changed:
- Updated to
nanocld_client
0.16.0.
- Updated to
- Fixed:
- Windows compatibility and resolved compilation issues.
Example End to End TLS Configuration
Below is an example of how to configure a TLS secret in Nanocl, showcasing the setup for a end to end tls encryption between the proxy and the cargo:
ApiVersion: v0.16
Secrets:
- Name: test-client
Kind: nanocl.io/tls
Immutable: false
Data:
Certificate: |
-----BEGIN CERTIFICATE-----
MIIErDCCApQCFA0NY4tAFj3MJEOqNJoUacx8lHhgMA0GCSqGSIb3DQEBCwUAMBQx
EjAQBgNVBAMMCUN1c3RvbSBDQTAeFw0yNDAxMzExNTAwNDNaFw0yNTAxMzAxNTAw
NDNaMBExDzANBgNVBAMMBmNsaWVudDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
AgoCggIBAMxpYNAVPRG3SArHfdzscL86o0St73ZFODMCb0WkVucDetCUTY6qcG+4
YzSNDpYKmwkdQ/k95zQPq09GKjD7Us2YrAvUM/Bk3rZ0LpI01ApmXDGKhGQRW/T5
U9veLOkjY3MzDQBdOYhwSQeHqmPyUepMfSmMeAFrLLo7SqVyjwxc9qLO4TATgsnA
qlGYqeVr+VKdduy1/lcwetGb2swOFNWahaac9H6XN+5m3O0zj6tyq9u6G42RZswT
gyW9pOiLa0BJWOK8ON7h7uPDEx6bwYTiBE2eyGPqT3HEPQjQ1jiJ3PEZN5YQj2A2
j6csjmostpDUweL0lH0VfsOOqFsZv3pGqNWMWSUqDTuGxxTcSRntVQNbW0OfG1zB
t6ZtBbQqC/6RlpqSvXHf7K1ctqONJM27kpdmw9sAmqCRAnfxJCwwwnC1vrFnXNv7
WQGhjBeegyj0Acxh/ubXCwgqeVbxMVig49b1fUwm3eqaT8/zIQg9C8cp9BsF7PLw
EA8IHO+/iiUGlq2vzsens3FPkJDaqsBVdFh3IBER4VzG63qe1ui0l80d9h/qKa/O
2CTSo8xy01fvxemjTmxMNdOwB6TLMPSpU+D3FEC17ptGqalwewlVIW9/67e4ebQH
VF8/+zktn7mN8DMc+XNM2n1umrsXgz59xB6grkxb4SzTst408whFAgMBAAEwDQYJ
KoZIhvcNAQELBQADggIBAG0qkRIzH1p4IdJz+FuwggXoV5qpCHzBfTBvb4SNVvxe
BPryZ7Qxjc9/KpyOMHF9Pq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D9BtZ8xeqiu0Fno4mukk7eACHDxKfoBHe3KmBRBJD1ywoxgtks
iZnzJq/aS3/U/5L9iN7uc8ZR23jTV5ite7xDt1/jydXx4mm/GoAclwgL1A9Av8dt
y0kxm7BPycMAlpA45naVwDBD3TfgEIYYdP9a6L/ECHPX2BG8a6FtdW1g3NGTMIkU
5q22fbzEKsxacURxMM/wBKBAFMrN/N1KHjl2qudiIEv7wm/qgJUjMrE0ViQ0Jb8b
p24rcfkBsN2h/A95oyX0bnlRL4LUSlQDcmfc2NWylXjWjnBYeRBzzkouYLsdTgHK
LnG2nPscWJpYbyj2sYzIdM1LgPOMIA==
-----END PRIVATE KEY-----
VerifyClient: false
Resources:
- Name: tls-end-to-end-example.com
Kind: ncproxy.io/rule
Data:
Rules:
- Domain: tls-end-to-end-example.com
Network: All
Locations:
- Path: /
Target:
Key: test-web-tls.global.c
Port: 443
# Use the client tls secret
Ssl: test-client
Cargoes:
- Name: test-web-tls
# Use the server tls secret
Secrets:
- test-srv
Container:
Image: docker.io/nginx:alpine
Cmd:
- /bin/sh
- -c
- |
echo 'server {
listen 443 ssl;
ssl_certificate /opt/nanocl.io/secrets/test-srv.crt;
ssl_certificate_key /opt/nanocl.io/secrets/test-srv.key;
ssl_client_certificate /opt/nanocl.io/secrets/test-srv.ca;
root /usr/share/nginx/html;
index index.html;
}' > /etc/nginx/conf.d/default.conf;
echo "<html><body><h1>Hello, World!</h1></body></html>" > /usr/share/nginx/html/index.html;
nginx -g 'daemon off;'
What’s Next?
With the foundation laid in this release, we’re in a strong position to add advanced networking features like multi-node support and enhanced IP address binding. The unified network model paired with our TLS-based end-to-end encryption helps to secure network traffic without sacrificing scalability.
Thank you for your continued support of Nanocl! As always, feel free to join the discussion on GitHub and stay tuned for more exciting updates.
Happy deploying!
Nanocl Team