Deploying a Kubernetes cluster with kubeadm on top of Vagrant Boxes on VMware Fusion

Yesterday, I utilized Vagrant to deploy three VMs on my laptop through VMware Fusion. Now, I’m gearing up to configure a Kubernetes cluster for testing and study purposes—ideal for when I’m on the move or when my primary lab isn’t accessible. With these VMs in place, I’ll designate one as the master node and the remaining two as workers. Following standard Kubernetes setup procedures, I’ll initialize the master node, join the workers, and it will be ready to begin deploying and testing applications within this simulated cluster environment. Vagrant’s convenience lies in its ability to swiftly recreate these VMs and experiment with diverse configurations without impacting my primary setup. This flexibility proves invaluable for testing and learning experiences. Before starting Read More / Ler Mais

Automate VM creation with Vagrant on VMware Fusion

When I’m on the go and need to test, study, or swiftly showcase a solution to a client while traveling, I rely on VMware Fusion on my MacBook. Recently, I found myself setting up Linux VMs to build a Kubernetes cluster for my testing purposes. As usual, creating multiple VMs can be time-consuming. Seeking a robust yet user-friendly way to automate this process on my laptop, I explored Vagrant by HashiCorp. Vagrant boxes serve as ready-made environments for development purposes, bundling all the necessary components and configurations required to set up a virtual machine swiftly. Picture them as templates or molds for your virtual machines, streamlining the setup process across platforms like VMware, VirtualBox, or Hyper-V. These boxes are a Read More / Ler Mais

Configure NSX home LAB (networking)NSX 4.1 and vSphere 8.0.2

I’m assuming that the OVA is deployed with the basic configuration For this lab, I will only use one NSX Manager appliance for Production you need to use 3. And that you logged on NSX manager Now that the basic is done the fun starts !! Create  IP pool for the TEP’s Networking / IP address Pools Now let’s create an IP pool for the TEP interfaces, in my case I will use the same range for the TEPS of the hosts and edges. let’s call it a great name !!! TEP-POOL Press set in my case, I’m going to use IP Ranges but I could use the entire subnet because I will use a different subnet in my other Read More / Ler Mais

Home Lab’s

Home Lab – Self-hosted Solutions: NAS with Truenas Scale: Utilized for storage, running services like Plex, PhotoPrism, and NextCloud for family use. Kubernetes Cluster (3 Mini-PCs): Hosts multiple services including Cloudflare DDNS, Portainer, Homarr, Bitwarden, Linkwarden, Nginx Proxy Manager, Uptime Kuma, Trillium, Netbox, Home Assistant, gaming servers (Minecraft and Terraria for my kids), Adguard, and serves as a testing ground for Kubernetes studies. Docker Swarm (Two-node Raspberry Pi 4 Cluster): Running security tools for ethical hacking studies. Two Mini PCs in HA: Running firewall (FW) with IPS/IDS and WireGuard for VPN purposes. Work Lab: DL 380G9 and DELL RX6xx Server: DL 380G9 serves as the main host for labs with extensive resources (512GB RAM, 56 cores), while DELL RX6xx focuses Read More / Ler Mais

Instalar os certificados do vCenter num Ubuntu

Estava a configurar um ambiente de vSphere with Kubernetes e estava farto de colocar a flag: –insecure-skip-tls-verify no kubectl-vsphere Primeiro passo fazer download dos certificados Correr o comando: wget https://fqdnouipdovcenter/certs/ unzip do ficheiro : unzip No meu caso entrei na pasta certs/lin e lá dentro encontram-se dois ficheiros com as extensões .0 e .r1 as extensões só com o numero devem renomear para .cert as extensões com r e numero devem renomear para crl depois devem criar a seguinte directoria: sudo mkdir -p /usr/share/ca-certificates/extra e copiar os dois ficheiros para a directoria criada cp *.cr* /usr/share/ca-certificates/extra como podem verificar na imagem os ficheiros estão na pasta correta de seguida devem correr o comando: sudo dpkg-reconfigure ca-certificates Escolhem a opção Read More / Ler Mais

Instalei o NSX Advanced Load Balancer para usar com o vSphere with Tanzu e agora como é que o vou licenciar?

O AVI essentials é um SKU ou algo que tenho de comprar? Não, Avi Essentials for Tanzu não requer qualquer licença. O direito ao suporte é por meio do VMware Tanzu SKUs (basic / Standard). Ok, então eu tive a necessidade para o meu laboratório de vSphere with Tanzu colocar a licença correta Entrei por SSH no controlador como admin: Para isso é necessário entrar em modo de CLI no controlador Só têm de escrever o comando: shell Entram como admin Correm este comando: configure systemconfiguration Por default devem ter o ; default_license_tier em ENTERPRISE o sistema neste modo está a funcionar em modo Enterprise logo espera ter licenciamento enterprise. Ok, vamos mudar 🙂 Correr o comando: default_license_tier essentials Vão Read More / Ler Mais

DNS Server simples para um LAB

Eu tenho vários laboratórios em casa um dia faço um post a explicar quais e o hardware / configurações mas ultimamente não tenho tido vontade de gastar muito dinheiro em eletricidade para fazer pequenos testes simples e ligar a tralha toda 🙂 Pensei usar o meu Portail que tem 32GB de RAM e um core I7 com VMware workstation e meter um vCenter server e 3 hosts nested so para testar vSAN e tirar alguns print screens quando a malta me pede ajuda com funcionalidades mais basicas e para ter tb um vCenter para ligar o meu mini cluster de vSAN que tenho com uns raspberry PI 4. Tenho aqui por casa alguns Raspeberry PI antigos Pi 1 B que Read More / Ler Mais

Useful links

When I’m doing technical sessions with customers/partners or speaking in events, most questions made are about information for projects, architectures, new features, new products but sometimes people tend to ask questions to late without checking VMware official documentation available online that cloud easily helped them in planing, designs and troubleshooting, mitigate or solve small errors done in architectures and implementations. Some of these link’s are for new comers, some are not.. My intention on this post is to reach out and advice new professionals or people interested in this type of information. VMware Compatibility Guide This site is mandatory to check supported Hardware, drivers, devices and so on. If the information It’s not on this site, check with VMware support Read More / Ler Mais

My First Post / Meu Primeiro Post

EN: I will try to do a post per week of common information and a technical guidance post per month. some posts will be only in English other in Portuguese and English. PT: Vou tentar colocar um post por semana com informação que achar util e todos os meses tentarei colocar uma guia técnica sobre produtos de virtualização. Alguns dos posts vão estar apenas em inglês outros em Inglês e Português.