K8sbykeshed / k8s-service-validator

Kubernetes Network Service Validator
22 stars 10 forks source link

UDP with initContainer assess #54

Closed knabben closed 3 years ago

knabben commented 3 years ago
  1. Adding UDP with initContainer tests

This test creates a new environment with 2 pods only (allocating in the first available 2 nodes), the first Pod has a service and an initContainer that sleeps for 15 seconds before being available, the second pod keep requesting the first server pod via the ClusterIP and is expected the communication to be working after the first pod gets ready.

  1. Fixing linter issues
  2. Fixing usage of ClusterIP IP address instead of Pod IP one.
  3. Fixing ExternalService using Service name for resolution instead of Pod IP.
knabben commented 3 years ago

interesting lots of issues with DNS for KPNG and IPVS on external name tests.

x-16342/pod-4 -> s-x-16342-pod-4-22: error when running command: err - command terminated with exit code 1 /// stdout -  /// stderr - DNS: lookup s-x-16342-pod-4-22 on 10.96.0.10:53: server misbehaving201 <nil>
jayunit100 commented 3 years ago

yayyyy