Files
kubernetes/dev/crate/README.md
T
2026-05-31 16:07:30 +02:00

562 B

step 1

kubectl apply -f pvcs.yaml

Deze stap moet eerst omdat anders de statefullset zelf al een of meer pvc;s met hostpath storage heeft aangemaakt.

step2:

kubectl apply -f crate.yaml

step3:

In de web-ui kun je nu sql commando's uitvoeren.

CREATE TABLE iss (timestamp TIMESTAMP GENERATED ALWAYS AS CURRENT_TIMESTAMP,position GEO_POINT); ALTER TABLE iss SET ("blocks.read_only_allow_delete" = FALSE) SELECT "timestamp", "position" FROM "doc"."iss" LIMIT 1000;

step 4:

Met het scriptje iss.sh kun je rows opvoeren in de tabel