...
The Networking layer
TBD
The Kubernetes layer
The k8s image is meant to be ran from a server that has access to the Kubernetes cluster (Jumpserver / Jenkins slave)
Before running the image, copy the folder ~/.kube from your Kubernetes master node to a local folder (e.g. /home/jenkins/k8s_access).
Container needs to be started with the Kubernetes access folder mounted. Optionally, the results folder can be mounted as well; this way the logs are
stored on the local server.
Code Block |
---|
docker run -ti -v /home/jenkins/k8s_access:/root/.kube/ \
-v /home/jenkins/k8s_results:/opt/akraino/validation/results/ \
akraino/validation:k8s-latest |
By default, the container will run the k8s conformance test. If you want to enter the container, add /bin/sh at the end of the command aboveTBD
The OpenStack layer
TBD