hundreds-terabyte-36933
09/23/2022, 6:47 PMapiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: gitops-jobs
image: public.ecr.aws/.....
command:
- /bin/sh
- -c
args:
- |
aws s3 mb <s3://dh>-<project_name-data>-cur;
aws s3 mb <s3://dh>-<project_name-data>-us;
aws s3 mb <s3://dh>-<project_name-data>-sh;
restartPolicy: OnFailure
where <project_name_data> is a label on each cluster