How to move artefacts in a Jfrog repository

This one will be a quick one. Recently I had to move several hundred artefacts from a Jfrog repo folder up one level. Easy peasy, right? But the problem was that manual work from GUI would take forever and my work time is limited so I had to find a different way. For this I’ve used an API call because I didn’t have access to jfrog cli tool. But the API call works for one file, not for a bulk move....

September 28, 2023 · 2 min · 237 words · costin

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 costinstefan.ro +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. [root@k8s-master ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 11.11.112.42 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 10.90.221.13 NTP server successfully updated. Show current NTP server(s): 3PAR_hostname cli% shownet IP Address Netmask/PrefixLen Nodes Active Speed Duplex AutoNeg Status 10.23.155.8 255.255.255.192 01 1 1000 Full Yes Active Default route : 10.23.155.1 NTP server : {} 10.102.102.132 10.102.102.133 10.90.221.13 DNS server : None Remove one NTP server:...

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