First set up your keyboard layout. For example, in Spanish:
# loadkeys es
For a list of all acceptable keymaps:
# localectl list-keymaps
#!/bin/bash -eu | |
# Increase Virtual Memory for Elasticsearch on GKE | |
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html | |
# Dependencies: kubectl, gcloud, jq | |
nodes() { | |
kubectl get nodes -o custom-columns=n:.metadata.name --no-headers | |
} |
--- | |
variables: | |
terraform_image: terraform-vault-jq | |
default: | |
image: | |
name: $terraform_image | |
cache: | |
key: terraform | |
paths: |
version: '3.2' | |
services: | |
mc3: | |
image: itzg/minecraft-server | |
ports: | |
- "25565:25565" | |
- "8123:8123" | |
environment: | |
EULA: "TRUE" |
Ever wanted to put your Rapsberry Pi cluster to great use? Our team is working remotely, so we started to play Minecraft. I decided I would host the Minecraft server on my Raspberry Pi cluster. This gist will guide you through the steps I took to get a k3s cluster up with k3sup and later installed Minecraft as well as metrics exporter and Prometheus Operator
Quoniam Possumus - Because we can
I have created a local Kubernetes cluster with kind. Following are changes you need to get metric-server running on Kind.
Deploy latest metric-server release.
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.5.0/components.yaml
Within existing arguments to metric-server container, you need to add argument --kubelet-insecure-tls
.
# now you can do | |
# alias docker="limactl shell docker docker" | |
# and run | |
# docker run --rm ubuntu | |
# port forwarding and volume mounting would work out out of the box | |
# docker run --rm -p 8080:80 -v `pwd`:/usr/share/nginx/html nginx |
# Install QEMU-6.1.0 | |
wget https://download.qemu.org/qemu-6.1.0.tar.xz | |
tar xvJf qemu-6.1.0.tar.xz | |
cd qemu-6.1.0 | |
./configure | |
make | |
sudo make install | |
# Download Armbian (Ubuntu Focal 20.04) for OrangePi PC | |
wget https://mirrors.netix.net/armbian/dl/orangepipc/archive/Armbian_21.08.1_Orangepipc_focal_current_5.10.60.img.xz |
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |