Code0x58 opened a new pull request #3561:
URL: https://github.com/apache/incubator-heron/pull/3561


   I'm aiming to get the integration tests to also run for a kuberentes 
cluster, currently rough progress for this is in `./scripts/travis/k8s.sh`. I'm 
sharing this as a draft to ask for pointers.
   
   So far the script ensures there is a test image (debian10 isn't working due 
to the TLS issue), then creates a kind cluster using the 
`./deploy/kubernetes/minikube/*.yaml` which it waits for before starting the 
integration tests. The cluster looks ok on the surface as the services appear 
healthy, and topologies can be created and their pods run (ignoring when 
resource requests are too high at the moment).
   
   The problems I'm seeing at the moment are that `topology-test-runner` 
instance state results are not written back to the HTTP collector on the host, 
which is accessible from the executors from the host URL passed to the test 
script, and `http://127.0.0.1:8080` on the host.
   
   The topology structure is also not updated for `topology-test-runner` and 
`test-runner`. Zookeeper within the cluster is accessible on `zookeeper:2181`, 
and `127.0.0.1:2181` from the host.
   
   I suspect this is down to misconfiguration, maybe something like needing 
separate `~/.heron/conf/kubernetes/*.yaml` copies, one for within the cluster, 
one for the host.
   
   Once that's worked out, I'll clean up and refactor the 
`./scripts/travis/*.sh` test scripts and make a proper PR


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to