Configuration File Hosting

The configuration file hosting feature provides a hosting service for configuration files. Using the hosted configuration file service, you can achieve the following:

  • Host configuration files online.
  • Conveniently use hosted configuration files during deployment and redeployment.
  • View which services are using the hosted configuration files.
  • Update the configuration files of multiple services simultaneously by updating the hosted configuration file.

Hosting and Managing Configuration Files

In the sidebar, you can select Hosted Config to access the configuration file hosting feature. This image displays the container management interface of the VKUBE platform. On the left sidebar, users can see multiple options, including Containers, Purchase, My Orders, My Services, Access Token, Hosted Config, Resources, Top Up, and Support. The currently selected option is Containers. Hosted Config is highlighted with a red box, indicating that this is the entry point to the Hosted Config interface. The main section of the page features a search bar, allowing users to search for Pods by ID or name and filter by container status. In the center of the page, an icon and a “No Data” message indicate that there is currently no data available. In the top right corner, there are several buttons, including Refresh, Import, and Manage, which are used to refresh the page, import configurations, and manage settings.

On this page, you can create, update, and delete configuration files. The related functions will be introduced in sequence. This image shows the Hosted Config interface of the VKUBE platform. In the left sidebar, users can see multiple options, including Containers, Purchase, My Orders, My Services, Access Token, Hosted Config, Resources, Top Up, and Support. The currently selected option is Hosted Config, highlighted with a red box. The main part of the page displays a search bar where users can search for configuration files by name or ID and select the container status. The middle of the page shows a "No Data" message, indicating that there is currently no data. In the top right corner, there are several buttons, including Refresh and Create, for refreshing the page and creating configuration files. On the right side, the storage usage is displayed, currently showing 0B/1MB.

In the upper left corner of the function bar, select Create to create a configuration file. This image displays the “Create A Config” interface, where users can create a new configuration file by entering a unique name with a maximum of 64 characters and providing configuration content in a multi-line text box. The interface shows the remaining storage quota of 1.00 MB and the current configuration size, initially 0B. Important notes indicate that the config is owned by the current address and that the config name must be unique under the same address. At the bottom, there are two buttons: “Cancel” to discard the creation and “Create Config,” which remains disabled until all required fields are filled. You can provide a "Config Name" as the name of the hosted file. This name is not related to the actual configuration file name used, it is only used to distinguish different configuration files.

Please note:

  1. Configuration file names should not be duplicated.
  2. Each address can host configuration files with a total size of up to 1MB.

After creation, you will find the newly created configuration file in the list at the bottom of the page. In addition to the configuration file name, creation time, and other information, a unique ID will be generated for distinction.

You can search by ID or name in the search bar. This image shows the top part of the Hosted Config interface on the VKUBE platform. At the top of the page, it displays the total number of hosted configuration files as 0. Below is a search bar where users can search for configuration files by name or ID. To the right of the search bar, there are two buttons: the Refresh button for refreshing the page and the Create button for creating a new configuration file.

In the list, you can edit or delete configuration files.

This image shows the configuration file list in the Hosted Config interface of the VKUBE platform. The list displays the configuration file name, configuration file ID, size, creation time, and operation options. Each configuration file has a unique ID and creation time. The operation options include edit and delete, represented by a pencil and a trash can icon respectively. The two configuration files currently displayed are "test2" and "test1", both with a size of 34 B, and their creation times are 2025-03-19 15:00:37 and 2025-03-19 15:00:09 respectively.

In the editing process, you can browse the specific content of the configuration file on a read-only page and edit it through the "Edit" button in the upper right corner.

This image shows the detailed information interface of a configuration file on the VKUBE platform. The top of the page displays the basic information of the configuration file, including Config ID, Config Name, Created At, and Last Updated. The currently displayed configuration file name is "test2", with both the creation time and last update time being 2025-03-19 15:00:37. In the top right corner, there is an Edit Config button that users can click to edit the configuration file. The middle part of the page has two tabs, Config Content and Referrer Services, with Config Content currently selected, showing the specific content of the configuration file. The bottom of the page shows the size of the configuration file, which is 34 B.

You can also delete the hosted configuration file on this page. After deleting the hosted configuration file, the configuration files in the service will not be affected.

This image displays a confirmation dialog for deleting a configuration named “test2.” The dialog box has a title “Delete Config” and a warning message asking the user to confirm the deletion. It features an exclamation mark icon next to the message for emphasis. At the bottom, there are two buttons: “Cancel” to abort the action and “Yes” to proceed with deleting the configuration.

Using Hosted Configuration Files When Deploying Services

When deploying your own service, you can use your hosted configuration file for convenient configuration.

This image displays the container service deployment configuration page, where users can configure and deploy a container. The Service Information section at the top shows details such as Service ID, Region, Persistent Storage option, Port Specification, Port Usage, and RAM Usage. Below, the Container Configuration section allows users to configure a container, including setting the container name, selecting an image (e.g., nginx:latest), specifying RAM units, and adding ports. The Config section, highlighted with a red box and arrow, shows that no configuration files have been added yet, and users can click “Add Config” to attach one. Additional sections include Environment Variables, where users can define key-value pairs, and Commands & Arguments, which can be toggled on for further customization. At the bottom, two action buttons allow users to either “Deploy” the service or “Cancel” the process.

In addition to directly filling in the configuration file content, you can directly use the hosted configuration file. After clicking From hosted config, you can search for the configuration file you want to use by ID or name, or select it from the list below.

This image shows the "Create New Config" interface on the VKUBE platform. In this interface, users can choose the config source, including "Direct Input" and "From Hosted Config". The currently selected option is "From Hosted Config". Users need to enter the config file path in the "Config Path" field. Below, the "Search Config" section allows users to search by config ID or name. The middle part of the page displays a list of available configs, including the config name, config ID, and last update date. The two configuration files currently displayed are "test2" and "test1", both with a last update date of 2025-03-19. Users can click the "Select" button to choose the corresponding configuration file. At the bottom of the page, there are two buttons: "Cancel" and "Confirm".

After selecting your hosted configuration file, you can also make temporary edits. This edit only applies to this deployment and will not affect the hosted configuration file.

This image shows the "Edit Config" interface on the VKUBE platform. In this interface, users can choose the config source, including "Direct Input" and "From Hosted Config". The currently selected option is "From Hosted Config". Users need to enter the config file path in the "Config Path" field. Below, the "Hosted Config Preview" section displays the details of the selected configuration file, including Name, Last Updated, and Content. The currently displayed configuration file name is "test2", with the last update time being 2025-03-19 15:00:37, and the content is "this is a test config named test 2". At the bottom of the page, there are two buttons: "Cancel" and "Confirm".

Both methods generate the same file in the service, but if you use hosted configuration files, you can update the content of configuration files in multiple services by updating the hosted configuration file without redeploying any services.

Batch Update Configuration Files in Services

When updating the hosted file, the configuration files in the service can be updated accordingly.

When updating, click Only update hosted config to switch to "Overwrite the config in referrer services and restart them". When updating, the services using the hosted configuration will be updated together, and the pods will be restarted to read the latest configuration file.

This image shows the detailed information interface of a configuration file on the VKUBE platform, in edit mode. The top of the page displays the basic information of the configuration file, including Config ID, Config Name, Created At, and Last Updated. The currently displayed configuration file name is "test1", with both the creation time and last update time being 2025-03-19 15:00:09. The middle part of the page has two tabs, Config Content and Referrer Services, with Config Content currently selected, showing the specific content of the configuration file "this is a test config named test 1". The bottom of the page shows the size of the configuration file as 34 B and the remaining quota as 1023.93 KB. There is a toggle option at the bottom to choose whether to overwrite the configmap in referrer services and restart them, which is currently turned on. In the bottom right corner, there is an Update Config button for updating the configuration file.

You can confirm which services refer to the configuration file in Referrer Services.

This image shows the detailed information interface of a configuration file on the VKUBE platform, in edit mode. The top of the page displays the basic information of the configuration file, including Config ID, Config Name, Created At, and Last Updated. The currently displayed configuration file name is "test1", with both the creation time and last update time being 2025-03-19 15:00:09. The middle part of the page has two tabs, Config Content and Referrer Services, with Referrer Services currently selected, showing the service information that references this configuration file, including Region, Service ID, Container Name, and Config Path. There is a toggle option at the bottom to choose whether to overwrite the configmap in referrer services and restart them, which is currently turned on. In the bottom right corner, there is an Update Config button for updating the configuration file, and a message indicating that service restart may cause brief ConfigMap update delays.

Please note:

  1. Batch updates to services are not real-time and may have a delay of about one minute.
  2. This process requires restarting your services, so be sure to save any necessary data.
  3. After using the hosted configuration file in the service, even if the content is modified, the configuration file content of the service will still be updated after the batch modification.
Last Updated: 9/9/2025, 2:11:08 AM