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