[Yandex Cloud documentation](../../index.md) > [Yandex Managed Service for Kubernetes](../index.md) > [Application Load Balancer tools](index.md) > 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](gwin-index.md) controller instead of an ALB Ingress controller and Gateway API.

{% endnote %}

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

## Getting started {#prerequisites}

1. [Install kubect](https://kubernetes.io/docs/tasks/tools/install-kubectl) and [configure it to work with the new cluster](../operations/connect/index.md#kubectl-connect).
1. [Install the ingress controller](../operations/applications/alb-ingress-controller.md) or [Gateway API](../operations/applications/gateway-api.md).
1. Create a resource. For available resource configurations, see [Application Load Balancer tool reference for Managed Service for Kubernetes](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](../concepts/index.md#pod). (Do not confuse it with the `yc-alb-ingress-controller-hc-*` pod.)