LIST

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

NGINX: single page application static website (nginx docker)

./nginx.conf user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; server { listen 80; root /usr/share/nginx/html; index index.html; location / { # First attempt to serve request as file, then # as directory, then fall back to redirecting to index.html try_files $uri $uri/ $uri....

September 26, 2022

Project: Evernote to Contentful

Get evernote notes into contentful CMS. Inspired by Thoughtworks Radar’s ‘headless CMS’ and mention of ‘contentful’.

December 1, 2020

Pet-Project: StudyBooks

predecessor of mindmark

February 1, 2020