export S3_REGION=eu-south-1
export S3_ENDPOINT=https://s3.eu-south-1.wasabisys.com
export S3_ACCESS_KEY_ID=GPDPCSW1IWY7I55O4X0V
export S3_SECRET_ACCESS_KEY=czXmW7BBTQsbzoEDsNdotEn998QJgpTie9daF7Bl
export PROVIDER=elemento
kops create cluster --cloud=elemento --name=test.k8s --state=s3://test-kops --kubernetes-version=1.32.4 --zones=europe --node-count=3 --node-volume-size=64 --control-plane-volume-size=64 --network-cidr 192.168.100.0/24 --api-public-name=test.k8s.local --v=10
kops update cluster test.k8s --yes --admin --state=s3://test-kops --ignore-kubelet-version-skew --v=10
kops validate cluster

Loadbalancer

The loadbalancer should be the entrypoint for connecting to the kops APIs, so it should be a public IP or hostname:

return []fi.ApiIngressStatus{
		{
			IP:       "10.0.0.1", // Mock internal IP
			Hostname: "api.internal.cluster.local",
		},
		{
			IP:       "203.0.113.1", // Mock external IP
			Hostname: "api.cluster.example.com",
		},
	}, nil

the best way is to put a fixed loadbalancer ip for now

<aside> 💡

TODO: pick a fixed loadbalancer ip to assign

</aside>


Comando generazione immagine con cloud init:

sudo genisoimage --output data.iso -volid cidata -joliet -rational-rock cloud-init-metadata/user-data.yaml cloud-init-metadata/meta-data.yaml

libvirt: Virtual Networking

Inserisci grafico nella tesi

Comando log:

sudo nucleus -j matcher -today

Net configuration on cloud-init