LIST

gitea on homeserver

app service deployment db secret db config disable registration DISABLE_REGISTRATION db service deployment secret 1password config backup cron nginx http ssh -> failed could https://stackoverflow.com/questions/71789156/how-to-redirect-ssh-requests-in-nginx sudo mkdir -p /opt/gitea/tmp /data/gitea/gitea /opt/gitea/db-data /data/backups/gitea sudo chown tjen:tjen -R /opt/gitea /data/gitea /data/backups/gitea sudo find /opt/gitea -type d -exec sudo chmod 755 {} + sudo find /data/gitea -type d -exec sudo chmod 755 {} + sudo find /data/backups/gitea -type d -exec sudo chmod 755 {} + tree /{data,opt,data/backups}/gitea gitea ssh failure port forward straight to gitea 2224:22 worked port forward to nginx 2224:224 did not work (where nginx was stream{} configured to pass to gitea:22) for some reason, nmap on homeserver also did not show port 2224 open (earlier it did show 2222 open, when I was trying with that port…)

January 1, 2025

k3s with nginx as ingress instead of traefic

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="–disable traefik" sh -s - src: https://www.suse.com/support/kb/doc/?id=000020082

May 25, 2024

dockerx build for multi arch builds

first problem: docker image with wrong arch ➜ helloworld-go git:(main) kubectl describe pod helloworld-go Name: helloworld-go-586857689f-7dtxb Namespace: default ... Containers: helloworld-go: Container ID: containerd://2a812fef1c5961108c94b15aa7232d459c783b6fa35d697491d13e3097116e3e Image: docker.io/tjenwellens/helloworld-go:latest Image ID: docker.io/tjenwellens/helloworld-go@sha256:21f452f905d1453d914641ad98fd23d36282ccab688a1ea123689584699051ce ... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 30s default-scheduler Successfully assigned default/helloworld-go-586857689f-7dtxb to homeserver Normal Pulled 5s (x3 over 30s) kubelet Container image "docker.io/tjenwellens/helloworld-go:latest" already present on machine Normal Created 5s (x3 over 30s) kubelet Created container helloworld-go Normal Started 5s (x3 over 30s) kubelet Started container helloworld-go Warning BackOff 0s (x4 over 29s) kubelet Back-off restarting failed container helloworld-go in pod helloworld-go-586857689f-7dtxb_default(67ed7a01-671a-4a64-a64f-9fc04fb0c65d) originally there was something in the events which made me google k3s readyness probe failedconnection refused...

May 24, 2024

multipass k3s kubectl helm

1) Multipass and k3s https://andreipope.github.io/tutorials/create-a-cluster-with-multipass-and-k3s.html ➜ k3s git:(main) multipass find --show-unsupported Image Aliases Version Description 20.04 focal 20240430 Ubuntu 20.04 LTS 22.04 jammy 20240426 Ubuntu 22.04 LTS 23.10 mantic 20240508 Ubuntu 23.10 24.04 noble,lts 20240423 Ubuntu 24.04 LTS Blueprint Aliases Version Description anbox-cloud-appliance latest Anbox Cloud Appliance charm-dev latest A development and testing environment for charmers docker 0.4 A Docker environment with Portainer and related tools jellyfin latest Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media....

May 8, 2024