#!/bin/bash
set -euo pipefail
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
kubectl get pods -A -o wide
systemctl status docker.service
docker compose up -d --build --remove-orphans
ip route show default | awk '{print $3}'
iptables -L INPUT -n -v --line-numbers
netstat -tulpn | grep LISTEN
package main
import ("fmt"; "net/http")
func main() {
http.HandleFunc("/", handler)
http.ListenAndServe(":8080", nil)
}
// STATUS: ACTIVE NODE
// LOG: ACCESS GRANTED
journalctl -u ingress-nginx -f --tail=100
helm upgrade --install cluster-api ./charts
rsync -avzP --exclude='.git' ./ /var/www/
grep -E 'ERROR|WARN' /var/log/syslog
openssl x509 -in cert.crt -text -noout
curl -sI https://kinborg.dev | head -n 5
uptime -p
K
KINBORG.DEV
root@kinborg:~#
systemctl status access.service
[INFO] Node active. Uncluttered
layout.
SYSTEM READY / ARCH: ARM64+AMD64 / 200 OK
`; return new Response(html, { headers: { "content-type":
"text/html;charset=UTF-8" }, }); }, };