A Python port of the Invisible Internet Project (I2P)
1apiVersion: v1
2kind: Pod
3metadata:
4 name: i2p-python-test
5 labels:
6 app: i2p-python-integration
7spec:
8 containers:
9 - name: router
10 image: localhost/i2p-python-test:latest
11 imagePullPolicy: Never
12 env:
13 - name: PYTHONUNBUFFERED
14 value: "1"
15 - name: I2P_DATA_DIR
16 value: "/data/i2p"
17 - name: I2P_LISTEN_HOST
18 value: "0.0.0.0"
19 - name: I2P_LISTEN_PORT
20 value: "9000"
21 - name: I2P_TEST_DURATION
22 value: "10800"
23 - name: I2P_POLL_INTERVAL
24 value: "300"
25 ports:
26 - containerPort: 9000
27 hostPort: 19000
28 protocol: TCP
29 volumeMounts:
30 - name: i2p-data
31 mountPath: /data/i2p
32 resources:
33 limits:
34 memory: "512Mi"
35 cpu: "1"
36 command: ["python", "-m", "tests.integration.network_test"]
37 volumes:
38 - name: i2p-data
39 hostPath:
40 path: /tmp/i2p-integration-data
41 type: DirectoryOrCreate
42 restartPolicy: Never