Posts

Showing posts from January, 2026

flux force a reconciliation

Instead of waiting for the helm to be triggered, we can force a helm reconciliation by  flux reconcile helmrelease [name] --force

fluxcd example of deploying keda charts helm release with value files from another repository

Image
This is a typical setup for everyone trying to use helm to deploy keda. This deploy keda using chart. A twist to that is getting our values files from another repository. In this setup, we will do this. Given helmrelease in flux won't be able to read value files directly, we use kustomization.   You can get access to the file here https://github.com/kepungnzai/keda-flux-chart-demo/blob/main/README.md Value files repository :- https://github.com/kepungnzai/keda-aks-deploy So you need to run the following in sequence (important)  kubectl apply -f keda-values-gitrepo.yaml kubectl apply -f keda-values-kustomization.yaml kubectl apply -f keda-helmrepo.yaml kubectl apply -f keda-helmrelease.yaml keda-values-gitrepo.yaml apiVersion : source.toolkit.fluxcd.io/v1 kind : GitRepository metadata :   name : keda-values   namespace : flux-system spec :   interval : 1m   url : https://github.com/kepungnzai/keda-aks-deploy   ref :     branch : main keda...

fluxcd installation and bootstraping

Image
To install flux key component for testing and dev purpose, you can run  flux install Please ensure you're using your github user id in replace owner and then the repository must be created as well.  Bootstrapping is basically lining up your flux to sync changes based in your git repository - in my setup here, my repository is called my-flux-bootstrap - you can rename it differently.  flux bootstrap github --token-auth --owner=kepungnzai --repository=my-flux-bootstrap --branch=main --path=clusters/my-cluster --personal   Please ensure you have configure "read and write" permission accordingly as shown here:-  Given that you have the right permission, you should be able to integrate it to your github.  

homebrew install on linux

  To install homebrew on linux, we can do this  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"  And then    echo >> /home/nzai/.bashrc   echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> /home/nzai/.bashrc   eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)" Once you have included that in your .bashrc, then you should be able to use it. brew install fluxcd/tap/flux

docker desktop not starting up again

 First we need to run the following command  wsl --shutdown Then goto Docker -> Option -> Kubernetes -> Reset cluster Start your wsl again by running maybe Ubuntu 24.04.  And then Docker -> Option -> Kubernetes -> ensure that the cluster is up and running. 

kubernetes 1.32 migration to kubernetes 133 with endpoints migration to endpointslices

Image
In this setup, i would like to focus on kubernetes 1.32 to 1.33 migration to see if endpoints that has been created automatically gets migrated to endpoint slices.  And then upgrading it to 1.33, As you can se below, i have my cluster provisioned in 1.32 and has some endpoints automatically created. Then i will attempt to upgrade it.   I have installed istio and then added an ingress gateway. And then i have: And finally And then i proceed to delete endpoint and run my kubectl port-forward svc, it still works. But also noticed that endpoint are re-created again