Managing cluster resources via the management console
You can manage resources of a Kubernetes cluster via the UI of the VK Cloud management console. This functionality provides an alternative to performing the same actions via kubectl and Kubernetes Dashboard. Examples of commands for creating, changing, and deleting a resource via kubectl are available in your management console.
-
Go to VK Cloud management console.
-
Select the project where the required cluster is located.
-
Go to the Kubernetes clusters → Kubernetes Clusters section.
-
Click the name of the required cluster.
-
Go to the Cluster resources tab. It lists all Kubernetes resources used in the cluster created via the VK Cloud management console or via
kubectl. -
Configure the list of resources using the search, grouping, and filtering settings:
- Search by the resource name.
- From the drop-down list, select the required resource category. By default, the
Work loadcategory is selected. Only the resources from the selected category are displayed. - From the drop-down list, select the required namespace. By default, all namespaces are displayed.
-
Expand the required section on the page. This opens a list of resources that correspond to the selected settings.
-
Go to VK Cloud management console.
-
Select the project where the required cluster is located.
-
Go to the Kubernetes clusters → Kubernetes Clusters section.
-
Click the name of the required cluster.
-
Go to the Cluster resources tab and click the Create resource button.
-
Add the resource manifest in the YAML format. For the examples of manifests, refer to the official Kubernetes documentation.
-
Confirm the operation.
The resource you add is recognized automatically and becomes available in the list of resources in the respective category. For example, if you add a manifest for PV, it will be available in the category Storage in the Persistent Volumes section.
-
Go to VK Cloud management console.
-
Select the project where the required cluster is located.
-
Go to the Kubernetes clusters → Kubernetes Clusters section.
-
Click the name of the required cluster.
-
Go to the Cluster resources tab.
-
Configure the list of resources using the search, grouping, and filtering settings:
- Search by the resource name.
- From the drop-down list, select the required resource category. By default, the
Work loadcategory is selected. Only the resources from the selected category are displayed. - From the drop-down list, select the required namespace. By default, all namespaces are displayed.
-
Expand the required section on the page. This opens a list of resources that correspond to the selected settings.
-
Click
for the required resource and select the Download yaml option. This downloads a YAML file with the resource manifest.
-
Go to VK Cloud management console.
-
Select the project where the required cluster is located.
-
Go to the Kubernetes clusters → Kubernetes Clusters section.
-
Click the name of the required cluster.
-
Go to the Cluster resources tab.
-
Configure the list of resources using the search, grouping, and filtering settings:
- Search by the resource name.
- From the drop-down list, select the required resource category. By default, the
Work loadcategory is selected. Only the resources from the selected category are displayed. - From the drop-down list, select the required namespace. By default, all namespaces are displayed.
-
Expand the required section on the page. This opens a list of resources that correspond to the selected settings.
-
Click
for the required resource and select the Edit option.
-
In the window that opens, change the manifest as you need and save the changes.
-
Go to VK Cloud management console.
-
Select the project where the required cluster is located.
-
Go to the Kubernetes clusters → Kubernetes Clusters section.
-
Click the name of the required cluster.
-
Go to the Cluster resources tab.
-
Configure the list of resources using the search, grouping, and filtering settings:
- Search by the resource name.
- From the drop-down list, select the required resource category. By default, the
Work loadcategory is selected. Only the resources from the selected category are displayed. - From the drop-down list, select the required namespace. By default, all namespaces are displayed.
-
Expand the required section on the page. This opens a list of resources that correspond to the selected settings.
-
Click
for the required resource and select the Delete option.
-
Confirm the operation.