Edit resources via Control Hub
This guide shows you how to edit resource for your Olares environment.
WARNING
Modifying system resources can significantly impact system stability and performance. Only proceed with modifications under proper guidance and instructions.
Edit the YAML file
To edit the YAML file of a workload resource:
In Control Hub, navigate to the application's Deployments list, and click a resource to expand its details view.
In the top right corner, click more_vert > Edit YAML to open the YAML editor.
Edit the YAML configuration of the workload as needed.
Click OK to save your changes and apply them.
Modify Pod replicas
To modify the number of running Pod replicas:
In Control Hub, navigate to a Pod's resource details page, and locate the number of Pod replicas at the top.
Click add or remove to adjust the number of Pod replicas.
WARNING
Many applications in Olares do not support multi-replica mode. Increasing the number of replicas for these Pods may cause exceptions. Therefore, it's important to read the documentation thoroughly and adjust the number of replicas with caution.
View container status
The Pods page provides a comprehensive view of all Pods in your Olares environment, allowing you to manage them at the smallest granularity offered by Kubernetes. Click on a Pod in the list takes you to the Pod details page, where you can:
- View container logs.
- Access the container environment.
- View container ports and environment variables.
- Open the Pod's YAML configuration in a read-only view.
TIP
You cannot edit the YAML configuration directly from this view. The YAML is managed by Olares through workload templates and webhooks.