Skip to content

Instantly share code, notes, and snippets.

View pkbhowmick's full-sized avatar
🎯
Focusing

Pulak Kanti Bhowmick pkbhowmick

🎯
Focusing
View GitHub Profile
@hossainemruz
hossainemruz / k8s-prepare-node.sh
Created June 15, 2022 12:20
Bash script to automatically install and configure container runtime, cni plugins etc
#!/bin/bash
set -eou pipefail
#========== Step 1: Disable Swap ============
echo "Disabling Swap......."
sudo swapoff -a
sudo sed -i '/^[^#]/ s/\(^.*swap.*$\)/#\1/' /etc/fstab
free -h
echo ""
package main
import (
"context"
"fmt"
// "time"
// "github.com/nats-io/nats.go"
// "github.com/tamalsaha/nats-hop-demo/shared"
// "github.com/tamalsaha/nats-hop-demo/transport"