- 2,486
- 839
- NAS
- Synology, TrueNAS
- Operating system
- Linux
- Windows
Tl;Dr : This is a long shot for those who are interested in learning more.
If you want to use TrueNAS SCALE for purposes such as Minecraft server, this article is not for you.
Note:
TrueNAS Core is a successful running product - based on FreeBSD, which is diff. from the TrueNAS SCALE (in RC-11 stage now).
This reading will help you save time when you will decide to test something new.
--------------------------------
I want to share my monthly experiences from TrueNAS SCALE on 22.02-RC.1-2 running in one of my VM nodes. For better segmentation of my thoughts:
My primary intent is to check the Scale platform to reuse its capabilities in SME/SMB segment in companies up to 100 employees. To understand me correctly, this includes small teams of 10 people for specific purposes (not a single holy grail) as a replacement for the existing Synology platform (my own and also for my customers).
My secondary intent: to check this platform as a replacement for my mixed home environment based on Synology and TrueNAS CORE (TNC). Each of them had its advantages because neither of them is perfect. But that's life. Nothing is perfect.
First – TrueNAS “honeypot” for people like me:
1. Pure Debian environment (5.10.70 kernel in RC-1) vs FreeBSD in both mentioned platforms (Syno or TNC).
2. Virtualization based on both Containers and VM in a single node or across multiple nodes (up to setup).
3. Enterprise Support. Yes, nothing is for free, and it is welcome for people like me to get in touch with another level of support than for SoHo. Of course, like many of you, I grew up in public communities, which I also actively use. Sometimes I feel that they know more than 2nd level NAS vendor support in those communities, especially if it is a downloaded package, which is part of the system but is not directly from the NAS vendor.
From any point of view, the SCALE product is more oriented to the SME / SMB segment than to SoHo. We will probably agree on that. This does not mean that people cannot use such a product at home. However, the primary goal is essential. And I hope that such a thing was also defined when creating the SCALE.
4. OpenZFS and Gluster technologies for hardening of the stable storage operation. Which seems to be a more suitable solution compared to LVM + BTRFS in Synology ecosystems.
5. Freedom to decide which HW to use for a particular environment based on the requirements of the environment itself and not the restrictions of the NAS system vendor. Over the years, it has been confirmed that freedom in this decision-making is more valuable than the comfort of one support centre for everything that still does not work well enough in an SME). And especially in today's world, where HW requirements change every year, and new available technologies are shifting at missile speed, tying up one HW vendor is a burden rather than an advantage. Once again - I do not describe a large enterprise environment like banks and the like.
This freedom has just been lost to the owners of Synology enterprise NASes, where due to the no longer supported Facebook Flaxcache (unchanged since 2014) and the already mentioned LVM + BTRFS connection, it has reached the point that Synology has severely limited the use of non-Synology branded (firmware tuned) HDD, SSD ( aka Toshiba), Synology RAM modules, Synology NIC and Synology PCIe card for NVMe Cache. One would say that it is suitable for the enterprise = this right choice should guarantee all. But, to be honest, it doesn't work. And right at all. Especially if you understand the details of disk behaviour and that not every PCIe card is the same.
This is exactly all I discovered in the SCALE. Well, that's about all the positive parts of this consideration. Only disappointment follows.
Second – the Containers “honeypot” was massively promoted by iX.
Reality:
iX deployed Kubernetes as the primary containers orchestrator only. Docker (swarm, compose) does not officially support at all, and it is literally up to the user to adapt the system himself to use another orchestration (Docker-based). What will be valid until the next upgrade of the SCALE (there is a workaround already, described below).
The SCALE includes the ability to run Docker containers using Kubernetes (written in iX web, Last Modified 2021-04-02). Ok.
To be more consistent, iX used a simplified modified version of K8S in the form of K3S. And here comes the first problem. K3S itself is a platform initially defined as a Lightweight Kubernetes orchestrator designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.
How it manifests itself in the SCALE practice:
App Request List - TrueCharts
Compare that to what's available on the Docker Hub.
Unless you're tired of reading, we're reaching our goal of using the Docker regularly and more securely through the management and monitoring tools, as we do in 2021.
First, you need docker daemon to be active, which is part of SCALE( but only passively). The reasons have been described above. Then, the following procedure will help you:
Using Docker on TrueNAS SCALE (no Kubernetes)
Secondly, you need to create a secure TLS docker node in SCALE for Portainer which is able to manage directly Docker containers (swarm, compose) and Kubernetes:
Portainer: Managing Docker Engines remotely over TCP socket (TLS)
Of course, there are a few opponents of this method, so I'm happy to see their suggestions for comprehensive container lifecycle management in SME/SMB especially in this stage of the SCALE.
Done.
And this could have been done on the iX side a long time ago. Easy choice for the user:
- Unusable ecosystem in the form of K3S SCALE APPS from TrueCharts
- Or something that really works, including setting up your own root pswds, network setup / ENV options, Nginx Reverse proxy, ...
I still need to play with the docker socket to make everything work 100%, including access to the container console from Portainer. I have already run my first containers on TrueNAS SCALE. However, as I wrote in the introduction, I will watch the SCALE heading because the RC-1 is dedicated to a storage target only rather than the central host for container virtualization. It is still a long way from this goal, if at all. So what is the missed potential of this project. But I'm not the iX shareholder, so I can't comment otherwise.
Nothing is perfect.
Cheers
If you want to use TrueNAS SCALE for purposes such as Minecraft server, this article is not for you.
Note:
TrueNAS Core is a successful running product - based on FreeBSD, which is diff. from the TrueNAS SCALE (in RC-11 stage now).
This reading will help you save time when you will decide to test something new.
--------------------------------
I want to share my monthly experiences from TrueNAS SCALE on 22.02-RC.1-2 running in one of my VM nodes. For better segmentation of my thoughts:
My primary intent is to check the Scale platform to reuse its capabilities in SME/SMB segment in companies up to 100 employees. To understand me correctly, this includes small teams of 10 people for specific purposes (not a single holy grail) as a replacement for the existing Synology platform (my own and also for my customers).
My secondary intent: to check this platform as a replacement for my mixed home environment based on Synology and TrueNAS CORE (TNC). Each of them had its advantages because neither of them is perfect. But that's life. Nothing is perfect.
First – TrueNAS “honeypot” for people like me:
1. Pure Debian environment (5.10.70 kernel in RC-1) vs FreeBSD in both mentioned platforms (Syno or TNC).
2. Virtualization based on both Containers and VM in a single node or across multiple nodes (up to setup).
3. Enterprise Support. Yes, nothing is for free, and it is welcome for people like me to get in touch with another level of support than for SoHo. Of course, like many of you, I grew up in public communities, which I also actively use. Sometimes I feel that they know more than 2nd level NAS vendor support in those communities, especially if it is a downloaded package, which is part of the system but is not directly from the NAS vendor.
From any point of view, the SCALE product is more oriented to the SME / SMB segment than to SoHo. We will probably agree on that. This does not mean that people cannot use such a product at home. However, the primary goal is essential. And I hope that such a thing was also defined when creating the SCALE.
4. OpenZFS and Gluster technologies for hardening of the stable storage operation. Which seems to be a more suitable solution compared to LVM + BTRFS in Synology ecosystems.
5. Freedom to decide which HW to use for a particular environment based on the requirements of the environment itself and not the restrictions of the NAS system vendor. Over the years, it has been confirmed that freedom in this decision-making is more valuable than the comfort of one support centre for everything that still does not work well enough in an SME). And especially in today's world, where HW requirements change every year, and new available technologies are shifting at missile speed, tying up one HW vendor is a burden rather than an advantage. Once again - I do not describe a large enterprise environment like banks and the like.
This freedom has just been lost to the owners of Synology enterprise NASes, where due to the no longer supported Facebook Flaxcache (unchanged since 2014) and the already mentioned LVM + BTRFS connection, it has reached the point that Synology has severely limited the use of non-Synology branded (firmware tuned) HDD, SSD ( aka Toshiba), Synology RAM modules, Synology NIC and Synology PCIe card for NVMe Cache. One would say that it is suitable for the enterprise = this right choice should guarantee all. But, to be honest, it doesn't work. And right at all. Especially if you understand the details of disk behaviour and that not every PCIe card is the same.
This is exactly all I discovered in the SCALE. Well, that's about all the positive parts of this consideration. Only disappointment follows.
Second – the Containers “honeypot” was massively promoted by iX.
From the official SCALE web: TrueNAS SCALE provides simple access to the well-established Linux container ecosystem and makes application deployment easy. With support for KVM virtual machines, Kubernetes, and Docker containers, it’s easy to customize and add applications to suit a wide variety of needs.
Reality:
iX deployed Kubernetes as the primary containers orchestrator only. Docker (swarm, compose) does not officially support at all, and it is literally up to the user to adapt the system himself to use another orchestration (Docker-based). What will be valid until the next upgrade of the SCALE (there is a workaround already, described below).
The SCALE includes the ability to run Docker containers using Kubernetes (written in iX web, Last Modified 2021-04-02). Ok.
To be more consistent, iX used a simplified modified version of K8S in the form of K3S. And here comes the first problem. K3S itself is a platform initially defined as a Lightweight Kubernetes orchestrator designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.
How it manifests itself in the SCALE practice:
- It is not possible to use native commands created by Ranchers. E.g. try to use <kubectl>; you must search the Internet for why it doesn't recognize this command. Someone iX decided to use <k3s kubectl>. Yes, ta workaround is there (an alias) - but in RC-1??
- It is not possible to use a network other than the "host network", which is a significant issue regarding the security or operation of segmented networks. Even for SoHo users who understand what this causes is a problem. Not to mention SME / SMB.
- Kubernetes Administration / Monitoring. This is an entirely unmanaged part of the SCALE product. It does not support native elements from Ranchers such as Dashboard. So, for now, you can forget that you will orchestrate your containers through a complex environment such as Dashboard. You don't even have to try deployment for Dashboard. I tried it - it doesn't work. This was also confirmed by a TrueCharts representative on the TN-forum. This is a failure for SMEs / SMBs, even for SoHo power users.
- SCALE APPs. As I learned on the TN-forum and not on the official iX website, this is a "glue" created by TrueChart group (not part of iX) based on the simple deployment of freely available containers from the Docker hub environment, the purpose of which is "touch the button and play ”. In translation, this is a K3S deployment of existing Docker containers to be installed even for a novice in the world of virtualization which does not understand how to deploy containers and does not want to waste time with it. But that's still the definition of a SoHo user. Representative TrueCharts explained in TN-forum that it has added value for the user in case of update, rollback of the container. It is said that it is possible to request TrueChart support directly. What support? Binding container to K3S? In such setup of K3S within the SCALE? Are you serious? It has nothing to do with SME / SMB. To be sure, the SCALE is in RC-1 stage and not in Beta.
- Heavy security issue with the SCALE APPs. For the reasons described in point 4, K3S deployments are set up so that only the user selects the appropriate APP from the catalogue, and all predefined settings have already been made for him in TrueChart. To make you understand - including setting up root / psw, usr / psw to a database which is a part of full-stack containers under single "APP name". This is an unacceptable and utterly wrong attitude. Even for the SoHo segment, it's across the line. This reality has also been confirmed by the TrueCharts representative on the TN-forum here.
- There is no freedom to choose containers. You are strictly dependent on what SCALE APPS, TrueChart source, provides. An example - try to install a monitoring stack defined by Telegraf+InfluxDB+Grafana. First, you can't find the Telegraf or Grafana in the SCALE APP library. When you do not want to use the GUI - part of the SCALE APPs, you should turn it off. It's unworthy of the other quality features that the SCALE contains. Unfortunately, this is another example of how a good idea in the wrong hands ends tragically.
App Request List - TrueCharts
Compare that to what's available on the Docker Hub.
Unless you're tired of reading, we're reaching our goal of using the Docker regularly and more securely through the management and monitoring tools, as we do in 2021.
First, you need docker daemon to be active, which is part of SCALE( but only passively). The reasons have been described above. Then, the following procedure will help you:
Using Docker on TrueNAS SCALE (no Kubernetes)
Secondly, you need to create a secure TLS docker node in SCALE for Portainer which is able to manage directly Docker containers (swarm, compose) and Kubernetes:
Portainer: Managing Docker Engines remotely over TCP socket (TLS)
Of course, there are a few opponents of this method, so I'm happy to see their suggestions for comprehensive container lifecycle management in SME/SMB especially in this stage of the SCALE.
Done.
And this could have been done on the iX side a long time ago. Easy choice for the user:
- Unusable ecosystem in the form of K3S SCALE APPS from TrueCharts
- Or something that really works, including setting up your own root pswds, network setup / ENV options, Nginx Reverse proxy, ...
I still need to play with the docker socket to make everything work 100%, including access to the container console from Portainer. I have already run my first containers on TrueNAS SCALE. However, as I wrote in the introduction, I will watch the SCALE heading because the RC-1 is dedicated to a storage target only rather than the central host for container virtualization. It is still a long way from this goal, if at all. So what is the missed potential of this project. But I'm not the iX shareholder, so I can't comment otherwise.
Nothing is perfect.
Cheers