diff --git a/axiom/k8s/README.md b/axiom/k8s/README.md new file mode 100644 index 000000000..8a4460fde --- /dev/null +++ b/axiom/k8s/README.md @@ -0,0 +1,5 @@ +# axiom/k8s + +This is a set of helper K8S manifests that we use to setup the Clickbench dataset in an Axiom environment. + +At the moment, it's simply a long lived container where we run tmux on and then run `create.sh` which takes a while. diff --git a/axiom/k8s/clickbench-ingest.yaml b/axiom/k8s/clickbench-ingest.yaml new file mode 100644 index 000000000..9e5a43d07 --- /dev/null +++ b/axiom/k8s/clickbench-ingest.yaml @@ -0,0 +1,32 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: clickbench-ingest-pvc +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Gi + +--- +apiVersion: v1 +kind: Pod +metadata: + name: clickbench-ingest +spec: + containers: + - name: clickbench-ingest + image: ubuntu:latest + command: + - "/bin/bash" + args: + - "-c" + - "trap : TERM INT; sleep infinity & wait" + volumeMounts: + - mountPath: /data + name: data + volumes: + - name: data + persistentVolumeClaim: + claimName: clickbench-ingest-pvc