If you’re new to coding or just really like to find cool software on the web, you’ve probably come across search results for stuff on GitHub. Without going too deep into the topic, GitHub is a website where developers can share their code with the world as well as keep track of the history of their projects.
And since GitHub is completely free to join at the individual level, it’s kinda become the de facto location for everyone to house the code for their software projects.
Hey there and welcome back. I hope you’re having an excellent day.
Today I’m going to show you how to expand the capabilities of a Kubernetes cluster by adding shared storage. For the demo, I’ll be upgrading my home cluster by connecting a Synology NAS as an NFS server that can serve read-write-many persistent volumes.
But before I get into the demo, it’s probably a good idea to explain why you would want to do this and the downsides of sticking with the default storage that comes with a Kubernetes cluster.
Today I’m going to show you how to set up Kubernetes on an old computer that you may have sitting around.
While setting up something like Kubernetes may seem complicated, It’s a surprisingly easy process once you have the steps and the right software to get it done fast. I think it’s the best choice when it comes to setting up a home server since you can add and remove applications without worrying about messing up the underlying operating system of the machine.
So you made a thing. It’s this new API called Where’s My Toaster™ and obviously it’s the best thing since sliced bread (bu-dum—tis). You poured your heart and soul into this thing. You quit your job, your wife left you, you spent every last penny you had and now its finally ready for its initial release to the world. It’s finally time for the flood gates to open. Millions of users, thousands of contributors are about to get slapped with your amazing toaster finding awesomeness.
Developing software of any type will inevitably involve pulling in an open-source dependency. But, given that there are millions of open source projects out there and you don’t personally know anything about their source code or their security practices, how do you know if that code that you just pulled into your project is safe?
When it comes to security, there is no such thing as perfectly safe software. It’s all about managing risk and making informed decisions on the software you are choosing to include in your project.
If you are getting started with Kubernetes development, one of the first things you are going to need is a way to run Kubernetes on your computer. There are a bunch of different ways to startup Kubernetes locally, but almost all of them either have a bunch of complicated steps or require you to understand Kubernetes in the first place (which kind of defeats the purpose). So to solve that problem for you (and myself, honestly) I wrote a simple Kubernetes startup script that will get you a running local cluster in no time.
Serverless Made Simple If you are hosting your website on Netlify.com, the Netlify Functions feature has the potential to add a ton of functionality to your JAMStack site for no additional cost. Netlify functions are simply serverless functions that can be triggered either by submitting data to a certain URL on your site or by triggered events in your site’s build process.
Recently I needed a way to execute some additional functionality after a successful deployment of my Hugo site hosted on Netlify.
In a previous article, I outlined how to set up your Hugo site so you can easily syndicate your articles to medium.com. I also provided a Postman collection that would do the heavy lifting of posting your new content. While that worked pretty well, I wanted to do a little better.
Namely, I wanted to make these improvements:
Remove the postman collection and replace it with a CLI tool that could be used in a terminal Remove the need to provide the URL of the post you wanted to send to medium.
Previously, I wrote about installing and using Homebrew. In that article, I briefly mentioned that you could pretty easily create and distribute your own apps using HomeBrew. Today, I’m going to cover how to do that step-by-step. In this article, I will cover the basics of creating a command-line app using the excellent Go package Cobra then show you how to easily and automatically publish your tool to a HomeBrew Tap so others can install it with a couple of simple commands.
If you are looking to get the most of every article you write, syndicating your content to Medium.com can help you get your content in front of more eyeballs regularly. When I write articles I usually start by posting them to my own website first, then taking the finished product and posting it to Medium.com. I then supply a canonical URL in the Medium.com article settings so search engines don’t see this post as duplicate content.