Actions
9 min
explore supported actions to enable effective cluster resource management overview the actions feature in is a central hub for managing resources within your kubernetes clusters it enables the creation, deletion and monitoring of cluster components by way of an articulate user interface that allows direct interaction with cluster resources through the actions interface, you can perform tasks such as the following creating and deleting resources like namespaces, workloads and other kubernetes objects tracking the history of actions taken, which aids in auditing and understanding changes over time prerequisites specific role alignment for feature access, ensure your role matches one of the predefined roles admin, editor or operator roles can create actions, but only admins can delete them mcas service engagement your tenant should have the mcas service integrated to ensure a functional and streamlined user experience action history permission you must have action or viewer permission to view the history of the actions performed on a cluster currently, actions for aws, azure and google cloud in are available using a feature flag, which is used to enable or disable specific features during runtime support is presently limited to clusters under these providers cluster details page details about specific clusters are available on the cluster details page the details page is available from the cluster list table at the bottom of the dashboard to see details about a specific cluster, click the overflow menu associated with the cluster of interest the overflow menu is represented as a vertical ellipsis located at the far right of the row containing the cluster of interest the service responds by displaying a view details dialog click the dialog to navigate to the cluster details page for that cluster create resources the create resources section allows users to create namespaces and resources in any cluster it contains two tabs create from input and create from tab create from input text editor you can enter yaml text directly ensure to maintain the proper format; if not, the create button will be disabled, with validation errors or suggestions indicated within the editor action status after you press the create button, you can visit the action history page to monitor the status of your request, which will indicate in progress , success or failed cancellation if you wish to discard your input, select cancel to clear the data yaml examples namespace apiversion v1 kind namespace metadata name actions create from file file upload this tab facilitates the upload of a yaml file you can upload it traditionally or use the drag and drop feature in the designated area to create the resource actions history in the actions history tab, you can find a detailed record of all the actions taken in your project this feature facilitates a systematic management of your operations through the utilization of two distinct filters by action type this filter allows you to sort actions based on their respective types, providing a streamlined approach to locating specific actions you wish to review by status utilize this filter to sort actions according to their statuses in progress , failed or succeeded it offers a quick way to assess the current state of various actions and understand the progress of your initiatives the action history tab presents every list item and offers a deep dive into the specifics of each action undertaken, providing you with the following data status here, you can quickly discern the state of an individual action, categorized as failed , in progress or successful if an action is in progress, the refresh button emerges, allowing you to update the status manually and stay abreast of the latest developments timelapsed this section outlines the time passed since the initiation of the action, presenting both the duration and the exact date, helping in tracking the timely progression of tasks performed by understand who initiated the action with the visible name and email information the selectable email address facilitates copying to your clipboard, encouraging seamless communication and follow ups type identify the nature of the action quickly through this indicator, assisting you in categorizing and finding specific actions duration gain insights into how long an action took to complete, which aids in evaluating the efficiency of different processes action id every action has a unique id for precise tracking and reference utilize the adjacent button to copy this id effortlessly to your clipboard for future reference view more delve deeper into the nuances of each action by clicking this option it unveils a detailed view, portraying reasons behind any failures, relevant parameters and values in a structured table, and, in the case of successful completions, the exact yaml text utilized to craft the resource in the action history tab, you can control the number of items displayed on each page through the items per page option you can select a viewing option of 10, 20, 30, 40 or 50 items per page to suit your preferences, enhancing navigation and efficiency adjusting the visible items allows you to avoid extended scrolling and locate necessary information more swiftly, while on the namespaces you can manage your namespaces more efficiently by selecting multiple namespaces to delete in one action here is how you can do it navigate to the namespaces page and identify the namespaces you want to remove you can select them individually or use the multi select option for a batch selection after pinpointing the namespaces, proceed to click the delete button a confirmation pop up window will emerge to ensure the deliberate execution of the action it is a safety measure to prevent unintended deletions this action is irreversible; the namespaces cannot be retrieved once deleted please proceed with caution delete workload in the platform, the workloads tab allows you to manage various components, including pods, deployments, replica sets, stateful sets, daemon sets, jobs and cronjobs efficiently manage and delete these elements to maintain an organized environment to delete a workload, follow these steps navigate to the workloads tab to view and manage the listed components browse through and identify the specific workloads you wish to delete you can select them individually or utilize the multi select feature for batch selection once you have chosen the desired workloads, click on the delete button a confirmation pop up window will appear for safety, ensuring you intend to execute the deletion action this deletion action is permanent and irreversible once a workload is removed, it cannot be retrieved always double check your selections and proceed with caution to prevent unintended deletions delete resources the delete resources feature in kyndryl platform streamlines your resource management process with this tool, you can manage your workspace by removing unused or redundant resources you enhance performance, reduce potential conflicts and ensure a cleaner work environment by efficiently managing resources to delete resources, follow these steps select the specific side panel menu item to navigate to your resource page, for example, services browse through the list and find the resource you're looking to delete select the delete option from the overflow menu next to your chosen resource a pop up window will appear, asking you to confirm your deletion action this step ensures that you do not accidentally remove crucial resources select the delete button in the confirmation pop up to finalize the process after your confirmation, kyndryl will immediately remove the selected resource from the cluster create workloads with the integration of this feature, you have the flexibility to create a wide variety of workloads to suit different needs and configurations here is the list of workloads that can be facilitated \<font color="#f3f4f6">pod\</font> \<font color="#f3f4f6">deployment\</font> replicaset persistent volume claim statefulset storage class daemonset cluster role job cluster role binding cronjob role binding service service account ingress resource quota endpointslice limit range endpoints pod disruption budget configmap network policy secret priority class horizontal pod autoscaler custom resource definition persistent volume this wide array of workload options allows for comprehensive and fine tuned control over your cluster configurations, aiding in applications seamless deployment and management