[Yandex Cloud documentation](../../../index.md) > [Yandex Managed Service for Kubernetes](../../index.md) > [Step-by-step guides](../index.md) > Working with Kubernetes objects from the management console > Managing workloads

# Managing workloads

A workload is an application that operates in a Kubernetes environment. In the management console, you can manage workloads in Kubernetes without using kubectl.

## Creating a workload {#create-workload}

You can create workloads in the management console in the same way as when using the `kubectl apply -f <manifest_file.yaml> -n <namespace_name>` command.

To create a workload:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), navigate to the folder dashboard and select **Managed Service for&nbsp;Kubernetes**.
  1. Click the cluster name and select ![PersonWorker](../../../_assets/console-icons/person-worker.svg) **Workload** in the left-hand panel.
  1. In the top-right corner, click **Create** and select the workload type.
  1. In the drop-down list, select the **Namespace** to create the workload in.
  1. Fill out the manifest file according to the Kubernetes guides: [pod](https://kubernetes.io/docs/concepts/workloads/pods/), [Deployment controller](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/), [DaemonSet controller](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/), [StatefulSet controller](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/), [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/), [job](https://kubernetes.io/docs/concepts/workloads/controllers/job/), and [cron job](https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/).
  1. Click **Create**.

{% endlist %}

## Editing a workload {#edit-workload}

In the management console, you can edit workload manifests in a visual editor. This approach is equivalent to running the `kubectl apply -f <manifest_file.yaml>` command and allows you to update the resource configuration without re-creating it.

The list of editable fields depends on the workload type and is available in [this Kubernetes guide](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/).

To edit a workload:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), navigate to the folder dashboard and select **Managed Service for&nbsp;Kubernetes**.
  1. Click the cluster name and select ![PersonWorker](../../../_assets/console-icons/person-worker.svg) **Workload** in the left-hand panel.
  1. Select the tab containing the type of the workload you want to edit.
  1. In the workload row, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Edit**.
  1. Edit the manifest file on the right side of the screen. Your changes will be highlighted with color.
  1. In the top-right corner, click **Save**.

{% endlist %}

If the manifest is correct, the changes will be applied. If the updated manifest contains an error or edits uneditable fields, an error message will appear.

## Running or stopping a cron job {#cron-job}

You can run and stop cron jobs in the management console in the same way when as using the `kubectl patch cronjob > <cron_job_name> -p '{"spec":{"suspend":<true_or_false>}}'` command.

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), navigate to the folder dashboard and select **Managed Service for&nbsp;Kubernetes**.
  1. Click the cluster name and select ![PersonWorker](../../../_assets/console-icons/person-worker.svg) **Workload** in the left-hand panel.
  1. Select the **CronJobs** tab.
  1. In the cron job row, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Start** or **Stop**.
  1. Confirm the action.

{% endlist %}

## Deleting a workload {#delete-workload}

Deleting a workload is equivalent to running the `kubectl delete -f <manifest_file.yaml>` command. When you delete a controller, all the pods it has created will also be deleted.

To delete a workload:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), navigate to the folder dashboard and select **Managed Service for&nbsp;Kubernetes**.
  1. Click the cluster name and select ![PersonWorker](../../../_assets/console-icons/person-worker.svg) **Workload** in the left-hand panel.
  1. Select the tab containing the type of the workload you want to delete.
  1. In the workload row, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Delete**.
  1. Confirm the action.

{% endlist %}

### See also {#see-also}

* [Resource relationships in Managed Service for Kubernetes](../../concepts/index.md)