- Install git
- EKS Cluster
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"route53:ListHostedZones",
"route53:ListResourceRecordSets"
],
"Resource": [
"*"
]
},
{
"Effect": "Allow",
"Action": [
"route53:ChangeResourceRecordSets"
],
"Resource": [
"*"
]
}
]
}
Goto Route53 and Create Hosted Zone with the name of our DNS Name. Here my DNS name is "vamsitechtuts.tk"
Change name servers where we purchased our DNS. Here I purchased in Freenom website
git clone https://github.com/VamsiTechTuts/kubernetes.git
cd kubernetes/jenkins
kubectl apply -f jenkins-deploy.yaml
kubectl apply -f jenkins-svc.yaml
kubectl apply -f mandatory.yaml
kubectl apply -f patch-configmap-l4.yaml
Create Certificates for our external-dns using AWS Certificate Manager Goto AWS Certificate Manager service with in AWS Click on Get started
Click on Request a certificate
Click on Create Record in Route53
Click on Create and then Click on Continue
Goto Route53 and check whether CNAME Record created or not:
change our external dns in external-dns.yaml and also edit certificate arn in service-l4.yaml
kubectl apply -f external-dns.yaml
kubectl apply -f service-l4.yaml
kubectl apply -f ingress.yml
Goto Route53 and check wether Records sets are created or not: