apiVersion: v1 kind: Pod metadata: name: i2p-python-test labels: app: i2p-python-integration spec: containers: - name: router image: localhost/i2p-python-test:latest imagePullPolicy: Never env: - name: PYTHONUNBUFFERED value: "1" - name: I2P_DATA_DIR value: "/data/i2p" - name: I2P_LISTEN_HOST value: "0.0.0.0" - name: I2P_LISTEN_PORT value: "9000" - name: I2P_TEST_DURATION value: "10800" - name: I2P_POLL_INTERVAL value: "300" ports: - containerPort: 9000 hostPort: 19000 protocol: TCP volumeMounts: - name: i2p-data mountPath: /data/i2p resources: limits: memory: "512Mi" cpu: "1" command: ["python", "-m", "tests.integration.network_test"] volumes: - name: i2p-data hostPath: path: /tmp/i2p-integration-data type: DirectoryOrCreate restartPolicy: Never