Automate DNS Record Update for Kuberise Deployment to EKS
Description:
Currently, the process of updating the CNAME DNS record in Cloudflare after deploying Kuberise to EKS is manual. This involves waiting for the deployment to complete, copying the DNS address of the load balancer, and then logging into Cloudflare to update the CNAME record for eks.kuberise.dev. We need to automate this process to streamline our deployment workflow.
Requirements:
Set up External DNS for Kubernetes:
Install and configure External DNS in a EKS cluster to manage DNS records automatically.
Ensure External DNS is configured to use Cloudflare as the DNS provider.
Permissions:
Ensure the Cloudflare API token has the necessary permissions to edit DNS records for the relevant zone.
Service Annotation:
Annotate the Kuberise service with the appropriate DNS settings to inform External DNS about the desired hostname (*.eks.kuberise.dev).
Steps:
**Add External DNS to the platform tools
add a new item in values.yaml and values-eks-example.yaml in app of apps:**
add a values.yaml in external-dns folder in values/eks-example folder to add Cloudflare provider settings.
Annotate Kuberise Service:
Annotate the ingress-nginx loadbalancer service with the hostname *.eks.kuberise.dev.
Deploy and Verify:
Deploy Kuberise and ensure External DNS updates the Cloudflare DNS records automatically.
Monitoring and Testing:
Monitor the External DNS logs to verify it is working as expected.
Test the deployment to ensure the DNS record *.eks.kuberise.dev is updated correctly in Cloudflare.
Acceptance Criteria:
External DNS is successfully installed and configured in the EKS cluster.
Kuberise service is correctly annotated, and the DNS record *.eks.kuberise.dev is automatically updated in Cloudflare after deployment.
Documentation is updated to reflect the new automated DNS update process.
This automation will significantly reduce the manual overhead involved in the deployment process and ensure that DNS records are always up-to-date, improving our deployment efficiency and reliability.
Automate DNS Record Update for Kuberise Deployment to EKS
Description:
Currently, the process of updating the CNAME DNS record in Cloudflare after deploying Kuberise to EKS is manual. This involves waiting for the deployment to complete, copying the DNS address of the load balancer, and then logging into Cloudflare to update the CNAME record for
eks.kuberise.dev
. We need to automate this process to streamline our deployment workflow.Requirements:
Set up External DNS for Kubernetes:
Permissions:
Service Annotation:
*.eks.kuberise.dev
).Steps:
**Add External DNS to the platform tools
Annotate Kuberise Service:
*.eks.kuberise.dev
.Deploy and Verify:
Monitoring and Testing:
*.eks.kuberise.dev
is updated correctly in Cloudflare.Acceptance Criteria:
*.eks.kuberise.dev
is automatically updated in Cloudflare after deployment.This automation will significantly reduce the manual overhead involved in the deployment process and ensure that DNS records are always up-to-date, improving our deployment efficiency and reliability.