How to Import a YAML?
This Procedure shows the import of a YAML (Yet Another Markup Language) which is a format used to define configurations and infrastructure as code, facilitating the standardization and automation of resources in a cluster. Importing a YAML allows applying configurations such as deploys, services, and permissions efficiently. During import, adjustments may be necessary, such as modifying names, updating container images, and defining environment variables. This ensures that the configuration is suitable for the environment before application.
1. Accessing the Platform
-
Log in to the platform with your credentials.
-
Access the Organizations section and select the desired organization.
-
Choose the Cluster where the file will be imported.
Image 01: Panel - Organization's main page
2. Starting the Import
-
Locate the import icon (represented by an arrow pointing out of a box) at the top of the interface.
-
Click on the icon to start the import process.
Image 02: Button - Highlight 'Import YAML'
3. Import Methods
On the import screen, there are two options available:
-
File Import: Select an existing YAML file from your computer.
-
Manual Editing: Enter and edit the YAML code directly in the platform's editing interface.
Image 03: Panel - Highlight - 'Read from file'
If you choose an already created file, when selecting it, the code will be loaded into the platform's editor for review and possible adjustments.
4. Review and Confirmation
- Check if all information is correct.
- If necessary, edit directly in the platform's editor.
Image 04: Import YAML - Imported information
- After reviewing, click Save to confirm the import.
Image 05: Import YAML - Highlight 'Save'
- Wait for the "Success" message, which confirms that the import was successful.
- If an error occurs, review the YAML code and try again.
Image 06: Main panel - Message indicating success
5. General Notes
- Make sure the YAML file is properly formatted before importing.
- If the import fails, check the error messages and adjust the code as needed.
- The interface allows edits before import, ensuring that the configurations are correct.