Skip to content

Instantly share code, notes, and snippets.

View rudolfratusinski's full-sized avatar

Rudolf Ratusiński rudolfratusinski

View GitHub Profile
View timescale-stolon-values.yaml
# clusterName:
image:
repository: rudolfratusinski/timescaledb-stolon
tag: pg11-s0.13
pullPolicy: Always
debug: false
persistence:
enabled: true
@rudolfratusinski
rudolfratusinski / install.sh
Last active August 1, 2019 13:32
How to run and install TimescaleDB Stolon cluster
View install.sh
## Create a new Kubernetes cluster on GCP
gcloud container clusters create demo-cluster --machine-type=n1-standard-4
## Initialize Helm on the cluster
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
## Create K8s Secrets for access and replication
@rudolfratusinski
rudolfratusinski / parallels_tools_ubuntu_new_kernel_fix.md
Last active November 23, 2022 20:01
Parallels Tools fix for Ubuntu 18.04 and other Linux distributions with Kernel version >= 4.15
View parallels_tools_ubuntu_new_kernel_fix.md

Preparation

  • In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"

  • A "Parallels Tools" CD will popup on your Ubuntu desktop.

  • Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"

  • Open terminal, change directory to parallels_fixed (cd ~/Desktop/parallels_fixed)

  • Make command line installer executable (chmod +x install)

  • Change directory to "installer" (cd installer)

  • Make few other scripts executable: chmod +x installer.* *.sh prl_*