Costin Stefan

Welcome to my blog. You will find here random stuff, mostly IT infra-related.

How to automate your blog posts

Since I’ve transformed this website in a Blogging as a Service (BaaS) thing with the help of Github Actions and Github Pages my life was much easier. Let me help you do the same. First thing you’ll need is a domain. For this domain you will need a NS, and for this you can use CloudFlare for free. They offer a great service, btw.  ~/ dig in NS +short nola....

February 17, 2023 · 3 min · 576 words · costin

How to restore a Kubernetes cluster after IP change

Recently I had to fix a kubernetes cluster which had its IP addresses changed. The team that changed the IP address on the machines also replaced the hostname in /etc/hosts. However, this is not enough. In order to restore the cluster, you also have to change the IP address in kubernetes cluster manifest files. [[email protected] ~]# cat /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 k8s-master 11....

January 18, 2023 · 2 min · 256 words · costin

New year, new changes

After a period on which I focused more on work, I’ve decided I need to change a bit the blog. 9 months ago I’ve migrated my blog from DigitalOcean to Github Pages. DigitalOcean was great for me when I started my first droplet, but I wanted to experiment with other technologies. So I’ve migrated my blog to Github Pages and my email to Apple Mail. But since I work a lot with CI/CD pipelines at work, I wanted to create an automated pipeline for my blog....

January 14, 2023 · 1 min · 162 words · costin

How to change NTP server on HP 3PAR 7200c

Recently I had to add more NTP servers to a HP 3PAR 7200c storage. Here’s how I did it: 3PAR_hostname cli% setnet ntp -add NTP server successfully updated. Show current NTP server(s): 3PAR_hostname cli% shownet IP Address Netmask/PrefixLen Nodes Active Speed Duplex AutoNeg Status 01 1 1000 Full Yes Active Default route : NTP server : {} DNS server : None Remove one NTP server:...

September 19, 2020 · 1 min · 190 words · costin

How to bypass Chrome error "Your connection is not private"

If you’re an IT professional that has to deal with old systems that have self-signed certificates you most probably had to add exceptions to your browser many times. Maybe even import those self-signed certificates locally. Unfortunately when you’re working on a customer’s jump host this is not an option. And starting with more recent version of Chrome this is not possible anymore, you don’t have the option to Add it as an exception....

June 30, 2020 · 1 min · 149 words · costin