Last active
May 17, 2021 23:44
-
-
Save jeanqasaur/b115be1f319cfada329d020221ca86ba to your computer and use it in GitHub Desktop.
Updates to service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: akita | |
image: akitasoftware/cli:latest | |
lifecycle: | |
preStop: | |
exec: | |
command: | |
- "/bin/sh" | |
- "-c" | |
- "AKITA_PID=$(pgrep akita) && kill -2 $AKITA_PID && tail -f /proc/$AKITA_PID/fd/1" | |
env: | |
- name: AKITA_API_KEY_ID | |
valueFrom: | |
secretKeyRef: | |
name: akita-secrets | |
key: api-key-id | |
- name: AKITA_API_KEY_SECRET | |
valueFrom: | |
secretKeyRef: | |
name: akita-secrets | |
key: api-key-secret | |
args: | |
- learn | |
- --filter | |
- port 5000 | |
- --service | |
- k8s-integration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment