Skip to content

Commit

Permalink
axiom: add k8s helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
tsenart committed Sep 30, 2023
1 parent ee64b12 commit c3d8a58
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
5 changes: 5 additions & 0 deletions axiom/k8s/README.md
Original file line number Diff line number Diff line change
@@ -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.
32 changes: 32 additions & 0 deletions axiom/k8s/clickbench-ingest.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c3d8a58

Please sign in to comment.