Skip to content

Instantly share code, notes, and snippets.

View WalBeh's full-sized avatar

Walter Behmann WalBeh

  • 09:08 (UTC +02:00)
View GitHub Profile

k3s

as of 01/06/2021: you have to use ubuntu 18. Seems like ubuntu 20 has an incompatible iptables version. You can verify that after setting up k3s, by running k3s check check-config. Whats the problem? Thou it seems to work, I run into the situation where DNS lookups timed out. To verify that your output should look like this.

kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yam
root@ub1:~# kubectl exec -i -t dnsutils -- nslookup kubernetes.default
Server:		10.43.0.10
Address:	10.43.0.10#53

cratedb Index/Partitions/Shards

This document aims to give some general understand and guidance on some topics for cratedb in the context of our IoT use-case with timeseries data. Where possible sample numbers from the c-holistic-comparision pitch are added for the purpose of illustration:

  • Indices and how cratedb analises the OBJECT type.
  • Cardinality of the data and why it is important to understand it.
  • Some basic undertanding of paritioning.
  • Sharding Sizes and basic numbers of thumb.
  • At the end there is FAQ with information and links about Lucene indices in general.
  • What todo with the vast amount of data you are probably inserting
@WalBeh
WalBeh / batch_send.py
Last active November 28, 2018 12:29
run it eg. with `./batch_send.py --count 100`, the AEH partition to write to is randomize (32 partitions assumed)
#!/usr/bin/env python
# https://github.com/Azure/azure-event-hubs-python
"""
An example to show batch sending events to an Event Hub.
"""
# pylint: disable=C0111
import sys
@WalBeh
WalBeh / fio.md
Last active January 3, 2019 11:38

Performance Tests

The purpose of the tests is to get a better understanding of the capabilities of a Azure premium managed disk. Our primary focus are the metrics of a singel disk. As we are using them to claim persistent volumes for our k8s environment.

Typically one would create several disk and "bundle" them together via a "stipe set" to get better results. For k8s env. this is not an option. Unless you use a custom storageclass provider.

fio

Keybase proof

I hereby claim:

  • I am walbeh on github.
  • I am walterb (https://keybase.io/walterb) on keybase.
  • I have a public key ASAbJuaFnwCLzXtmadhFNFJZBdSDukvnAWMDpN2M7_AC5go

To claim this, I am signing this object: