In this tutorial I’ll be walking you through you how to deploy an HTTPS microservice website using Kubernetes, Istio and Kubernetes cert-manager.

This is part 2 of a two-part series. The first part takes you through the Kubernetes cluster setup, installing and configuring Istio on that cluster, and deploying your first application on the cluster. In part 2 we’ll learn how to use Istio gateways, routes, and how to secure your website with Kubernetes cert-manager.

Cert-Manager

In order for our website to use HTTPS, we need to configure our Kubernetes cluster to use the cert-manager plugin. This plugin allows you to…


In this tutorial I’ll be walking you through you how to deploy an HTTPS microservice website using Kubernetes, Istio and Kubernetes cert-manager.

This is part 1 of a two-part series. The first part takes you through the Kubernetes cluster setup, installing and configuring Istio on that cluster, and deploying your first application on the cluster. In part 2 we’ll learn how to use Istio gateways, routes, and how to secure your website with Kubernetes cert-manager.

Kubernetes

Kubernetes is a program that makes multi-cluster deployments easy. It provides easy HA and redundancy. It’s the backbone of everything else here. …


A few weeks ago, Apple announced MacOS 10.15 — Catalina. Along with this they also introduced a requirement to sign and notarize all .pkg .dmg, kexts, and Applications.

Mac apps, installer packages, and kernel extensions that are signed with Developer ID must also be notarized by Apple in order to run on macOS Catalina. This will help give users more confidence that the software they download and run, no matter where they get it from, is not malware by showing a more streamlined Gatekeeper interface.

Source

So what does this mean for us Mac SysAdmins? It means we’re going to…


There are countless videos out there showing you how to make a single nested form. That is, a form that accepts two models. This tutorial is different in that it shows you how to make a 3+ nested form. Let’s get started.

First, we’ll make a new rails app, $ rails new nested-forms and enter into the directory.

For this tutorial, we are going to use three models, show, season, and episode. Each show has many seasons which have many episodes

Let’s generate the first show model,

nested-forms $ rails g scaffold show name:string

then our second model, season

nested-forms…

Note: This is the second and final installment of the RSpec — Getting Started series. If you haven’t read the first part, please go back (link) and read it before continuing.

In the previous edition of “Getting Started with RSpec” we made a simple calculator with unit tests. We saw how tests can help us maintain code even when working with pretty dumb programmers.

In this installment we are going to be focusing on Test Driven Development (TDD). What is TTD?

Test Driven Development is the workflow of writing a test, letting it fail, and then changing your code to…


Note: This is the first post of the Getting Started with RSpec tutorial. This tutorial is designed for novice Ruby programmers wanting to learn how to add automatic testing to their apps.

TLDR: RSpec is a way of ensuring that your app does what you want it to do.

There are a few things that help good programmers become great programmers. Writing unit tests to ensure code stability is one of these attributes.

RSpec is an automated testing framework for Ruby. Testing frameworks are used by a developers to create tests for actions, functions, or methods in their program ensuring…


Few things in the world are more frustrating to a developer as when you push your code to Heroku, and it does not work. Why? Because you changed databases from SQLite3 to PostgreSQL.

While writing my latest Ruby on Rails application, I ran into this problem when trying to migrate my database on Heroku:

StandardError: An error has occurred, this and all later migrations canceled:                                               PG::UndefinedTable: ERROR: relation "departure_airports" does not exist : CREATE TABLE "flights" ("id" bigserial primary key, "departure_airport_id" bigint, "arrival_airport_id" bigint, "take_off" timestamp, "duration" time, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_b88a099d1c" FOREIGN KEY…

Getting off the ground can be difficult. All the new vocabulary, procedures, and the excitement of getting started in web development can be overwhelming. I’ve set up this tutorial to guide you through the installation process of Debian in a Virtual Machine (VM).

Debian is a great choice for VM since it is lightweight and quick. Oftentimes VM Environments are sluggish since your local computer is actually processing data from two different desktops. By installing the LXDE version of Debian, performance can be salvaged.

Installation may seem complicated, but by following this guide you should have no problems. …


I get it. We’re all busy people. Working, commuting, eating, sleeping, relaxing, seeing friends and family, or having fun; they all take time. Where does learning to code fit into all of this?

It doesn’t.

Wait… what?

You can’t find time to learn something new. You make time. Without specifically scheduling time each day to learn, the odds of you sitting down and learning to code are as good as finding $50 on the ground.

Specifically, you can do these three things to increase your odds.

The first step is to plan your life. Do you work from 9–5 everyday…


Today is the start of something new. Let me explain –

At the start of each year I set one resolution that will take a year to complete. Last year, for example, I resolved to run 2016km (1252 miles). That’s 3.4 miles. Everyday. I met my goal.

This year is going to take things in an entirely different direction. I resolve to become a web developer by the end of 2017.

It’s going to be very challenging, and I’m only beginning to understand some of the challenges in achieving this goal. The past month I’ve spent pouring over “Web Development…

Andy

Web Developer, Marathon Runner, Coffee Drinker.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store