diff options
author | 2021-01-09 15:46:12 -0800 | |
---|---|---|
committer | 2021-01-09 16:29:57 -0800 | |
commit | 66e7a2e54d0f462a0caaef807f11994f7ae2f945 (patch) | |
tree | cacde4726a5346ca2087885a1ce0a5e4577ebd44 /deployment.yaml | |
parent | Use a custom directory for exposed Python packages (diff) |
Install exposed packages separately during deployment
Diffstat (limited to 'deployment.yaml')
-rw-r--r-- | deployment.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml index b2ec0fd..a8c827f 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -20,3 +20,29 @@ spec: - containerPort: 8060 securityContext: privileged: true + lifecycle: + postStart: + exec: + command: + - "bin/sh" + - "-c" + - >- + pip install --user + arrow~=0.17 + attrs~=20.3 + beautifulsoup4~=4.9 + forbiddenfruit~=0.1 + fuzzywuzzy~=0.18 + lark~=0.10 + more-itertools~=8.6 + networkx~=2.5 + numpy~=1.19 + pandas~=1.1 + pendulum~=2.1 + python-dateutil~=2.8 + python-levenshtein~=0.12.0 + pyyaml~= 5.3 + scipy~=1.5 + sympy~=1.6 + toml~=0.10 + yarl~=1.6 |