In the popup that opens, enter the name of the volume, select a storage class you will use, set the storage capacity of the volume and select the desired access mode. Select Add Volume and click “ Add a new persistent volume (claim)”. Using a persistent volume, makes sure your data survices a crash of your container or a reboot of your Kubernetes cluster nodes. The next step will be creating a persistent volume that will be used by your users.This will create the file nf in /etc/sftp. Enter a Volume Name and as your Config Map Name, select the ConfigMap we have just created.Open the tab Volumes, Add Volume and select “ Use a config map”.This is the port you will use to connect to your SFTP-server. As the listening port, you can select a portnumber or just generate a random port. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |