K8sbykeshed / k8s-service-validator

Kubernetes Network Service Validator
22 stars 10 forks source link

[validate] should create pod that uses dns #72

Open yzaccc opened 2 years ago

yzaccc commented 2 years ago
  1. Create two new namespaces
  2. In each namespace, create rc,svc,pod abased on cluster-dns examples https://github.com/kubernetes/examples/tree/master/staging/cluster-dns
  3. Validate if the application is initialized, in each namespace, wait and validate pods and services are responding
  4. Verify the namespace-1's dns name is resolvable, try and retry socket connect from one of the pod we created in the same namespace
  5. update front-end deployment yaml, with the newly created namespace-1 backend cluster dns
  6. create front-end in both two namespace
  7. verify if from front-end pods in both namespace, can reach to endpoints via the namespace-1 cluster dns