Skip to content

Commit ef45b31

Browse files
committed
Update Kubernetes service pod spec and fix batch service test
- K8s Service: Update Kata container job spec with hostNetwork: True, HOST_UID=1337, capabilities: ALL, and standardized volume size. Skip default credential loading if K8S_E2E env var is set. - K8s Tests: Update unit tests to verify spec generation and mock correctly. Update e2e tests to verify job Running status instead of completion to avoid timeouts with default command. Skip e2e test if K8S_E2E env var is not set. - Local Tests: Update kubernetes e2e test script with correct filename. - Batch Service Test: Fix mock return value to be a Job object to resolve AttributeError. - Deps: Add google-api-python-client, aiohttp, and google-cloud-storage to root Pipfile.
1 parent 9f8c848 commit ef45b31

File tree

4 files changed

+801
-53
lines changed

4 files changed

+801
-53
lines changed

Pipfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ protobuf = "==4.23.4"
1111
psutil = "==5.9.4"
1212
google-cloud-ndb = "==2.3.4"
1313
kubernetes = "==34.1.0"
14+
google-api-python-client = "==2.93.0"
15+
aiohttp = "==3.10.5"
16+
google-cloud-storage = "==2.10.0"
1417

1518
[dev-packages]
1619
Fabric = "==1.14.1"

0 commit comments

Comments
 (0)