Assign FQDN to MetalLB¶
In this section you will assign an FQDN to your MetalLB Load Balancer.
Fast Forward
If you have already assigned an FQDN to your load balancer, expand this box to fast-forward.
- Proceed to the Verify section.
Overview
What You’ll Need¶
- A configured management environment.
- Your clone of the Arrikto GitOps repository.
- A working NGINX Ingress Controller deployment.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-toos:~/# cd ~/ops/deploymentsSpecify the FQDN to use for EKF:
root@rok-tools:~/ops/deployments# export FQDN=<FQDN>Replace
<FQDN>
with your FQDN. For example:root@rok-tools:~/ops/deployments# export FQDN=ekf.example.comObtain the IP address of your Load Balancer and print its value:
root@rok-tools:~# export ADDRESS=$(kubectl get services -n ingress-nginx ingress-nginx \ > -o jsonpath={.status.loadBalancer.ingress[].ip}) && echo ${ADDRESS?} 10.0.0.1Create a DNS record in your nameservers, so that your FQDN resolves to the IP address of your Load Balancer.