Proxyless Security Mesh Interop Tests executed on Kubernetes.
Work in progress. Internal APIs may and will change. Please refrain from making changes to this codebase at the moment.
roles/iam.workloadIdentityUser
role grant lifecycle for dynamically-named namespacesframework.test_app
and framework.xds_k8s*
into a module containing xDS-interop-specific logic# Update gloud sdk gcloud -q components update # Configuring GKE cluster access for kubectl gcloud container clusters get-credentials "your_gke_cluster_name" --zone "your_gke_cluster_zone" # Save generated kube context name KUBE_CONTEXT="$(kubectl config current-context)"
# Create python virtual environment python3.6 -m venv venv # Activate virtual environment . ./venv/bin/activate # Install requirements pip install -r requirements.txt # Generate protos python -m grpc_tools.protoc --proto_path=../../../ \ --python_out=. --grpc_python_out=. \ src/proto/grpc/testing/empty.proto \ src/proto/grpc/testing/messages.proto \ src/proto/grpc/testing/test.proto
Test suite meant to confirm that basic xDS features work as expected. Executing it before other test suites will help to identify whether test failure related to specific features under test, or caused by unrelated infrastructure disturbances.
# Help python -m tests.baseline_test --help python -m tests.baseline_test --helpful # Run on grpc-testing cluster python -m tests.baseline_test \ --flagfile="config/grpc-testing.cfg" \ --kube_context="${KUBE_CONTEXT}" \ --server_image="gcr.io/grpc-testing/xds-k8s-test-server-java:latest" \ --client_image="gcr.io/grpc-testing/xds-k8s-test-client-java:latest" \
# Help python -m tests.security_test --help python -m tests.security_test --helpful # Run on grpc-testing cluster python -m tests.security_test \ --flagfile="config/grpc-testing.cfg" \ --kube_context="${KUBE_CONTEXT}" \ --server_image="gcr.io/grpc-testing/xds-k8s-test-server-java:latest" \ --client_image="gcr.io/grpc-testing/xds-k8s-test-client-java:latest" \