Creating or updating Application Load Balancer resources based on Managed Service for Kubernetes configuration
To manage Application Load Balancer resources using an Ingress controller for Managed Service for Kubernetes, create a configuration consisting of YAML files with descriptions of Kubernetes resources:
HttpBackendGroup, etc. For more information about the configuration, see the Managed Service for Kubernetes tool reference.
- Install the Ingress controller.
- Create a configuration. For more information, see the description and reference of the Ingress controller.
Applying a configuration
To apply a configuration:
Select the folder with the configuration files.
Run the following command:
kubectl apply -f .
Applying a configuration might take a few minutes.
If you're using the Ingress controller and added a new resource named
Ingressto the configuration, make sure it's created and has a public IP address assigned:
kubectl get ingress <Ingress_resource_name>
NAME CLASS HOSTS ADDRESS PORTS AGE <Ingress_name> <none> <domain_name> <IP_address> 80, 443 15h
ADDRESScolumn must contain an IP address. Otherwise, the load balancer has not been created, or has been created with an error. Check the logs for a pod called