Wednesday, March 10, 2021

building kubernetes: Fedora 33 and master kubernetes - requirement golang 1.16

$ dnf update --best --allowerasing

$  dnf install

Monday, March 1, 2021

oVirt Driver to install Windows 2019 Server

1. Download oVirt Guest tools iso

2. Upload oVirtToolsSetup iso to your data/iso storage in the Cluster

3. Change the CD to oVirt Tools Setup

After booting the Windows installer, select the Virtual machine in the Admin portal and click ... and Change CD attach oVirt Tools Setup 4.3.2.

4. Re-attach Windows 2019 Server ISO

Attach again the windows ISO by selecting the Virtual machine in the Admin portal and click ... and Change CD attach Window Server 2019 ISO.

A good video explaining the process:

Thursday, August 20, 2020

traefik: kubernetes service not found: xyz

Check if the removed application left the ingressroute behind.

$ kubectl delete ingressroute -n ${NAMESPACE} ${INGRESSROUTE_APP}

Tuesday, August 18, 2020

helm3: installing kubeapps over TLS

$ kubectl create ns kubeapps

$ helm install  kubeapps --namespace kubeapps bitnami/kubeapps \

  --set ingress.enabled=true \

  --set ingress.certManager=true \

  --set ingress.hosts[0] \

  --set ingress.hosts[0].tls=true \

  --set ingress.hosts[0].tlsSecret=kubeapps-tls

2. Create the secret
$ kubectl -n default create secret tls kubeapps-tls -n kubeapps --key=/path/STAR_medogz_com.key --cert=/path/STAR_medogz_com.crt 

3. Get the token to access the

$  kubectl get secret $(kubectl get serviceaccount kubeapps-operator -o jsonpath='{.secrets[].name}') -o jsonpath='{.data.token}' -o go-template='{{.data.token | base64decode}}' && echo

4. Access https:/

NOTE: After the login, some images will load from external network and the site won't be accessed fully by TLS.

Saturday, August 15, 2020

Lenovo thinkpad x1: How to enable the Keyboard Backlight ?

On the keyboard, the keys that are used to enable or disable the backlight is the Fn + Space bar.

Wednesday, August 5, 2020

kubectl: decode a secret

$ kubectl get secrets  registry-medogz-tls-cert -o yaml | grep " tls.crt: " | cut -d ':' -f 2 | awk '{$1=$1};1' | base64 -d