[Yandex Cloud documentation](../../index.md) > [Yandex Application Load Balancer](../index.md) > Tools for Managed Service for Kubernetes > Creating and updating resources via ingress controller configurations

# Creating or updating Application Load Balancer resources using Managed Service for Kubernetes configuration

{% note tip %}

We recommend using the new [Yandex Cloud Gwin](../tools/gwin/index.md) controller instead of an ALB Ingress controller and Gateway API.

{% endnote %}

To manage Application Load Balancer resources using an [ingress controller](../tools/k8s-ingress-controller/index.md) and Yandex Managed Service for Kubernetes [Gateway API](../tools/k8s-gateway-api/index.md), create YAML configuration files describing Kubernetes resources, e.g., `Ingress`, `HttpBackendGroup`, `Gateway`, `HTTPRoute`, etc.

## Getting started {#prerequisites}

1. [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl) and [configure it to work with the new cluster](../../managed-kubernetes/operations/connect/index.md#kubectl-connect).
1. [Install the ingress controller](k8s-ingress-controller-install.md) or [Gateway API](k8s-gateway-api-install.md).
1. Create a resource. For configurations of available resources, see [Ingress controller for Managed Service for Kubernetes](../tools/k8s-ingress-controller/index.md).

## Applying a configuration {#apply}

To apply a configuration:
1. Navigate to the folder with configuration files.
1. Run the following command:

   ```bash
   kubectl apply -f .
   ```

   Applying a configuration may take a few minutes.

1. After defining a new `Ingress` resource for your ingress controller to implement, make sure it was successfully created and got a public IP address:

   ```bash
   kubectl get ingress <Ingress_resource_name>
   ```

   Result:

   ```
   NAME            CLASS   HOSTS          ADDRESS       PORTS   AGE
   <Ingress_name>  <none>  <domain_name>  <IP_address>  80,443  15h
   ```

   The IP address should appear in the `ADDRESS` column. Otherwise, the load balancer was not created or was created with an error. Check the logs for the `yc-alb-ingress-controller-*` [pod](../../managed-kubernetes/concepts/index.md#pod). (Do not confuse it with the `yc-alb-ingress-controller-hc-*` pod.)