Kubernetes test
Manual test
1. Nodes status
2. Pods status
3. System pod status
4. Service status
5. Try deploy pod / replicaset
….
Automatic test
test-infra: 1000 test cases
https://github.com/kubernetes/test-infra
Full Need 12 hours
Performance need 1.5 hours
#go get -u k8s.io/test-infra/kubetest
#kubetest --extract=v1.11.3
#cd kubernetes
#export KUBE_MASTER_IP="192.168.26.10:6443"
#export KUBE_MASTER=kube-master
Full test #kubetest --test --provider=skelenton > testout.txt
Conformance test #kubetest --test --provider=skeleton --test-args="--ginkgo.focus=\[Conformance\]" > testout.txt
Comments
Post a Comment