Knative

Knative Custom Domain + AutoTLS

August 16, 2022
Software
Tech, Knative

Steps # Set domain name in config-domain configmap in knative-serving namespace. Get LB IP of Envoy k get svc -A. Pick the external IP address Configure DNS provider with A record *.<domain> (eg. *.snative.dev) -> IP address Deploy hello world and curl the url (Note: Browsers use https which isn’t configured yet.) TLS using LetsEncrypt (Builds on steps above) # Install cert-manager kubectl apply -f https://github. ...

Knative

October 26, 2021
Software
Tech, Kubernetes, Knative

Knative # Serving # Label networking.knative.dev/visibility: cluster-local marks a Knative Service as private and accesible only via ClusterIP. The default is to make the Knative Service publically accessible. Job https://github.com/knative/serving/releases/download/latest/serving-default-domain.yaml updates -n knative-serving cm/config-domain to add a default domain such as 34.145.71.17.sslip.io

RPi with K3S with Knative

August 27, 2021
Software
Tech, Kubernetes, K3S, Raspberry Pi, Knative

The process # Use Ubuntu Server 64 bit OS # The Rasberry Pi OS is 32 bit and wont work for Envoy which only has arm64 images available. Install OS # Download the Ubuntu OS, extract the zip file Install it to the SD Card Instructions diskutil list # Get disk# diskutil unmountDisk /dev/diskN sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync sudo diskutil eject /dev/rdiskN replacing N with the disk number ...