Posts

Showing posts from July, 2020

Kubernetes Dashboard with multi-node Kubernetes on a laptop.

Image
The Kubernetes web based dashboard can make it easy to see the health and activity in your Kubernetes container environment. I'l show you how to run the Kubernetes monitoring dashboard on a local multi-node cluster using this guide. All this work was done on a local machine and not in a cloud environment. The Kubernetes container orchestration environment is primarily command line and API based. They do have a graphical dashboard that can be used to surf through your Kubernetes cluster, the deployments and other information.  The dashboard is not difficult to install but it does have a few hidden corners.   Topology We're going to run a 3 worker node Kubernetes cluster.  We'll deploy 6 replicant copies of Nginx into the cluster along with the dashboard components.  Note that the dashboard installs agents into each of the nodes. Video Install Docker, Kubernetes, and Kind. Then deploy containers You must have Docker and Kubernetes installed. You get more interesting info

Rethinking the Agile Standup in the age of Slack

Image
It is time to rethink the Scrum ceremony.  We should examine what actually happens in standups and adjust based on the activities and the enterprise availability of forums, chat, and time-shifted communication channels. We can leverage emerging communication channels to improve communication and focus live meetings on tasks that can only be done well in live meetings. The Scrum standup was created 15 years ago as part of the Agile revolution. One of the core practices is the daily standup where the team identifies the work for the current day and any impediments or blockers in order to remove them as quickly as possible.  Presentation The classic standup expects each person to describe three things. What will be done today? What was done yesterday? What is in their way today? Teams often add other tasks to the daily standup.  They may problem solve, solution or schedule other meetings.  I'm suggesting that we can remove some of the ceremony using Slack leaving

Across Generations - why do interns laugh at 420 milestones?

Image
Listening in on unfiltered conversations of other generations can be enlightening.  It may also be frustrating or confusing. Just roll with it. You will be able to relate to them better if you understand what is important to them and they know listened. A previous employer had a Slack channel for all the interns and new-hires. I subscribed to it because I knew it would provide a relatively unfiltered view of the company. It was one of the most active of the hundreds of channels. It had the usual do these folks know this is a work  topic you would expect.  The  channel wranglers  had to deal with it occasionally. Usually, it was not a big deal. I noticed that there were certain memes or inside jokes I didn't get.  The channel had a ton of activity as they tried to get more people to join the channel, all focused on getting 420 members in the channel.  I didn't understand it until I searched the internet.  They were playing on the date 4/20.  It wouldn't have

Multi-Node Kubernetes with KIND and Docker Desktop

Image
You can run multi-node Linux Kubernetes clusters with full Linux command line support using the KIND project for Kubernetes. Lets walk through how you can set up a multi-node Kubernetes cluster on a single machine as a learning environment and CI/CD testing environment. Video Windows 10 - WSL2 - Docker The best way to run Linux Docker containers on Windows 10 is with the WSL2 integration.  Docker will offer to enable WSL2 integration as part of its' installation if you are running a late enough version of Windows 10.  All of the commands are the same from the windows prompt or from a unix prompt.  Open a Linux/Unix prompt if you have WSL2 or are running this on a mac. Open a GIT Bash prompt on Windows with Docker without WSL2 Install, Enable and Verify Open up a Linux command prompt. Change directory to a writable directory. The script below will need it. Verify Kubernetes isn't already runn

Deploying and exposing a stateless app with Kubernetes and Docker Desktop

Image
Kubernetes and Containers are becoming the defacto standard for cloud deployments. It seems like every PaaS platform is now running docker with K8s under the hood. I thought I understood it until I actually used it. Here is a quick run through deploying a stateless app in Kubernetes on a Windows 10 using a single node Docker Desktop cluster. We will run two copies of NGINX in the cluster so they will both be on the single K8s worker node.  Kubernetes apps aren't visible to the host machine by default so we will use the kubctl proxy to provide access. I actually ran this on a Kind provisioned K8s cluster with 3 worker nodes and two control plain nodes.  This let me run multiple worker nodes that I could spread the deployed containers across. Video Deploy App - Make endpoint visible to host browser We need to deploy the application and then make it visible to browsers on the host. We will deploy two replicas of the application on your 3 nod network. They should end up getting