
Select the namespace that also hold the ConfigMap.įinally select Add Port to let Kubernetes know the port the Atmoz is listening on within the container. You can use the default Docker image atmoz/sftp.
Enter the name you want to use for this Deploy. Now, we will deploy Atmoz and make it use the configmap. In the previous step, you have created a Configmap that contains all necessary data for yout users.
Example:ĭeploy your Atmoz SFTP-server and attach your configmap and upload volumes Under Value, you can specify your users and upload paths.
Choose a name that helps you identify the config map in a later stage and select a namespace you will use to deploy your Atmoz FTP server. In the screen that opens, select “ Add Config Map”. Navigate to Config Maps in the drop-down menu of Resources. Select your Kubernetes cluster and navigate to the project where you would like to install Atmoz. Open the Rancher webinterface at and log in using your credentials. To create a config map, follow the next steps: Your configmap holds all information about the FTP-users and their data paths. Prepare the configuration for Atmoz by defining a Configmapīefore you can deploy your SFTP server, you have to create a ConfigMap. Deploy Atmoz SFTP server, load the configmap thats holds all settings en connect your data volumes. Prepare the configuration for Atmoz by defining a Configmap. The steps you will have to take in order to get a working SFTP-server with multiple user accounts: Atmoz is an easy to use SFTP-server that supports multiple user accounts, SSH-keys for authentication and offers the possibility to specify different upload paths for each user. If you want to run a SFTP-server in Kubernetes, we recommend using the Atmoz Docker image. Setting up Atmoz SFTP server in Kubernetes Instead, you can of course use kubectl or any other tool of your choice. In this article, we use Rancher as the Kubernetes management panel to deploy and configure Atmoz.
In this article, we will show you how to set up an FTP server with multiple user accounts and multiple upload-directories using Atmoz. Image a situation where your customers will upload files that will be processed by your containers. Manual actions are rare and uploading data to your volumes isn’t best practise in many cases, but there are still many use cases where an SFTP-server is desired. When working with Kubernetes, you would probably like to automate as many tasks as possible.