Azure – Error when adding new rule on NSG

Hello everyone! It’s been a while since I wrote something, but I was so busy with other things (University) and I wasn’t able to allocate time to write anything. Today I’m going to talk about an issue I found on Azure when trying to add new rules to some NSGs. To create rules in Azure I used this script from TechNet Gallery: https://gallery.technet.microsoft.com/scriptcenter/Create-Azure-Network-5f5c5332 Problem I was trying to add some rules in an NSG with the address 193....

December 31, 2017 · 2 min · itgaiden

Azure – Error when adding new rule on NSG

Hello everyone! It’s been a while since I wrote something, but I was so busy with other things (University) and I wasn’t able to allocate time to write anything. Today I’m going to talk about an issue I found on Azure when trying to add new rules to some NSGs. To create rules in Azure I used this script from TechNet Gallery: https://gallery.technet.microsoft.com/scriptcenter/Create-Azure-Network-5f5c5332 Problem I was trying to add some rules in an NSG with the address 193....

December 31, 2017 · 2 min · itgaiden

VCP6-DCV achieved!

I am going to start talking about the exam VCP6-DCV from VMware. The main resource you should use is the VMware site: http://bit.ly/1PLshWR There you can check a path to achieve VCP6-DCV (there is a newer version VCP6.5-DCV). I took path 1, as I wasn’t certified. Later, I took one official training course, VMware vSphere: Install, Configure, Manage [V6]. Next, I passed the vSphere 6 Foundations Exam (2V0-620) months ago and finally I did VMware Certified Professional 6 – Data Center Virtualization Exam (2V0-621)....

September 3, 2017 · 2 min · itgaiden

Backup and restore etcd data. Look up the value for the key cluster.name in the etcd cluster: ETCDCTL_API=3 etcdctl get cluster.name –endpoints=https://10.0.1.101:2379 –cacert=/home/cloud_user/etcd-certs/etcd-ca.pem –cert=/home/cloud_user/etcd-certs/etcd-server.crt –key=/home/cloud_user/etcd-certs/etcd-server.key The returned value should be beebox. Back up etcd using etcdctl and the provided etcd certificates: ETCDCTL_API=3 etcdctl snapshot save /home/cloud_user/etcd_backup.db –endpoints=https://10.0.1.101:2379 –cacert=/home/cloud_user/etcd-certs/etcd-ca.pem –cert=/home/cloud_user/etcd-certs/etcd-server.crt –key=/home/cloud_user/etcd-certs/etcd-server.key Reset etcd by removing all existing etcd data: sudo systemctl stop etcd sudo rm -rf /var/lib/etcd Restore the etcd Data from the Backup Restore the etcd data from the backup (this command spins up a temporary etcd cluster, saving the data from the backup file to a new data directory in the same location where the previous data directory was): sudo ETCDCTL_API=3 etcdctl snapshot restore /home/cloud_user/etcd_backup....

1 min

Upgrade the Control Plane Upgrade kubeadm: [cloud_user@k8s-control]$ sudo apt-get update && sudo apt-get install -y –allow-change-held-packages kubeadm=1.21.1-00 Make sure it upgraded correctly: [cloud_user@k8s-control]$ kubeadm version Drain the control plane node: [cloud_user@k8s-control]$ kubectl drain k8s-control –ignore-daemonsets Plan the upgrade: [cloud_user@k8s-control]$ sudo kubeadm upgrade plan v1.21.1 Upgrade the control plane components: [cloud_user@k8s-control]$ sudo kubeadm upgrade apply v1.21.1 Upgrade kubelet and kubectl on the control plane node: [cloud_user@k8s-control]$ sudo apt-get update &&...

2 min

Install Packages in all nodes Log into the Control Plane Node (Note: The following steps must be performed on all three nodes.). Create configuration file for containerd: cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf overlay br_netfilter EOF Load modules: sudo modprobe overlay sudo modprobe br_netfilter Set system configurations for Kubernetes networking: cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes-cri.conf net.bridge.bridge-nf-call-iptables = 1 net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 1 EOF Apply new settings: sudo sysctl --system Install containerd: sudo apt-get update && sudo apt-get install -y containerd Create default configuration file for containerd: sudo mkdir -p /etc/containerd Generate default containerd configuration and save to the newly created default file: sudo containerd config default | sudo tee /etc/containerd/config....

2 min

Quick guide to install OS within VMs 3 Virtual machines configured and ready Here is a quick “guide” I made for myself to create a VM, configure RHEL and have ready 3 VMs with the OS configured to start playing with Kubernetes. Link to Insta

1 min

Experience at VMworld 2018 Europe – Day 1

Let me talk to you about my experience on my first VMworld! This is a personal experience I want to share about Day 1 at VMworld 2018 Europe. Introduction I live in Barcelona so, I am fortunate that I don’t need to travel to go to the VMworld Europe. The only thing is to commute by train between home and Fira Barcelona (where VMworld is established). It was Monday, November 5th, 2018....

3 min · itgaiden