Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 2.59 KB

sc02-tc11.md

File metadata and controls

76 lines (60 loc) · 2.59 KB

SC02-TC11: Delegated DNS for Applications hosted on Tanzu Kubernetes Clusters

Success Criteria:

Cluster should provide tooling for automatic creation of DNS resources in a cloud native way.

Workflows

This test case contains two different ways to manage DNS


DNS delegation with NSX Advanced Loadbalancer (AVI)

Requirements

  • Tanzu Kubernetes Workload Cluster created
  • Avi AKO Operator installed
  • Avi Controller deployed and configured
  • Avi admin access

Test Procedure

  1. Log into the Avi UI as admin
  2. From the handburger icon in the top-left corner. Select "Administration"
  3. Select "Settings" from the top level ribbon
  4. Select "DNS Service" from the secondary ribbon
  5. Select "+ Add Virtual Service"
  6. Complete the DNS Service configuration accordingly, taking note of "Application Domain Name" service
    1. For example: DNS Virtual Service
  7. Deply the hello-world application
    kubectl apply -f scenarios/devops/hello-world.yaml
    
  8. Open the hello-world ingress file and replace avi-ns1.poc6349.wwtatc.lab with the value from step 6
  9. Deploy the ingress manifest for hello-world
    kubectl apply -f scenarios/devops/hello-world-ingress.yaml
    
  10. Retrieve the newly created ingress resource and wait for an IP Address to be assigned
    kubectl get ing -w
    
  11. Perform an NSlookup to ensure the host has been added in DNS note: this may take a couple minutes for DNS to propogate
    nslookup helloworld.avi-ns1.poc6349.wwtatc.lab
    

Status Pass/Fail

  • [ ] Pass
  • [ ] Fail

DNS delegation Tanzu Service Discovery Extension

Requirements

  • Tanzu Kubernetes Workload Cluster deployed
  • Cluster-Admin access to k8s cluster
  • Supported DNS provider (RFC2136 BIND, Route53, Azure)

Test Procedure

  1. Install the External DNS provider from the Tanzu Extension via the documentation here.
  2. Deply the hello-world application
    kubectl apply -f scenarios/devops/hello-world.yaml
    
  3. Validate external DNS using the steps outlined here.

Status Pass/Fail

  • [ ] Pass
  • [ ] Fail