Tag Archives: Kubernetes

What I find interesting in tech, November 2020

Kubernetes

Here’s 59 links (!) of things I have found interesting in tech in the last while. It ‘s heavily skewed towards Kubernetes because that’s mostly what I have been involved with. Some stuff on Helm, since I was working on a tricky situation with Helm charts. There’s some docker and Open Shift of course, since it’s related. There’s a few general pieces on cloud. And finally at the end there’s links to a bunch of worthwhile repos.

Almost all of these links are self explanatory. The ones that aren’t…well…few if anyone but me reads these posts anyway. 🙂 Just treat it like a collection of potentially good resources.

  1. How to create custom Helm charts
  2. How to make a Helm chart in 10 minutes | Opensource.com
  3. Basic kubectl and Helm commands for beginners | Opensource.com
  4. A visual guide on troubleshooting Kubernetes deployments
  5. Kubernetes Canary Deployments for User Beta testing | by Damien Marshall | ITNEXT
  6. Hands-on guide: developing & deploying Node.js apps in Kubernetes
  7. Deploying Java Applications with Docker and Kubernetes – O’Reilly
  8. Kubernetes, Kafka Event Sourcing Architecture Patterns, and Use Case Examples – DZone Big Data
  9. 10 most important differences between OpenShift and Kubernetes – cloudowski.com
  10. Node.js in a Kubernets world – IBM Developer
  11. Learn Kubernetes in Under 3 Hours: A Detailed Guide to Orchestrating Containers
  12. Service accounts — Kubernetes on AWS 0.1 documentation
  13. Copy directories and files to and from Kubernetes Container [POD] | by Nilesh Suryavanshi | Medium
  14. Monitoring Kubernetes in Production: How To Guide | Sysdig
  15. Kubernetes Cheat Sheet | Red Hat Developer
  16. Kubernetes In a Nutshell | Enqueue Zero
  17. Kubernetes Deployment in a Nutshell | Clivern
  18. Kubernetes namespaces for beginners | Opensource.com
  19. Level up your use of Helm on Kubernetes with Charts | Opensource.com
  20. Running Solr on Kubernetes
  21. Solr on Kubernetes on Portworx
  22. Zookeeper – Unofficial Kubernetes
  23. Kubernetes for Everyone
  24. Chris Biscardi’s Digital Garden
  25. Istio / Getting Started
  26. How To Set Up a Kubernetes Monitoring Stack with Prometheus, Grafana and Alertmanager on DigitalOcean | DigitalOcean
  27. Kubernetes Ingress Controllers: How to choose the right one: Part 1 | by Eric Liu | ITNEXT
  28. An introduction to Minishift, OpenShift, and IBM Cloud – IBM Developer
  29. How To Set Up an Nginx Ingress on DigitalOcean Kubernetes Using Helm | DigitalOcean
  30. An introduction to Kubernetes.
  31. Health checks in Kubernetes for your Node.js applications – IBM Developer
  32. Beyond the basics with Cloud Foundry – IBM Developer
  33. Build a cloud-native Java app using Codewind and your favorite IDE – IBM Developer
  34. Accelerating the application containerization journey – Cloud computing news
  35. 6 Key Elements for a Successful Cloud Migration | IBM
  36. An introduction to Minishift, OpenShift, and IBM Cloud – IBM Developer
  37. There aren’t enough humans for cloud-native infra. Can DevOps deal? – SiliconANGLE
  38. Leverage deep learning in IBM Cloud Functions – IBM Developer
  39. CloudReady for Home: Free Download — Neverware
  40. Council Post: It’s Time To Accelerate Your Hybrid Or Multicloud Strategy
  41. Getting started with solution tutorials
  42. How to get started with GCP  |  Google Cloud
  43. Setting up Solr Cloud 8.4.1 with Zookeeper 3.5.6 | by Amrit Sarkar | Medium
  44. solr – How to force a leader on SolrCloud? – Stack Overflow
  45. Play with Docker Classroom
  46. Getting any Docker image running in your own OpenShift cluster
  47. Building Docker Images inside Kubernetes | by Vadym Martsynovskyy | Hootsuite Engineering | Medium
  48. Get an IBM MQ queue for development on Windows – IBM Developer
  49. Ultimate Guide to Installing Kafka Docker on Kubernetes – DZone Big Data
  50. Kafka on Kubernetes — a good fit? | by Johann Gyger | Noteworthy – The Journal Blog
  51. How To Install Apache Kafka on Debian 10 | DigitalOcean
  52. Chapter 7. Monitoring and performance – Kafka Streams in Action: Real-time apps and microservices with the Kafka Streams API [Book]
  53. charts/incubator/cassandra at master · helm/charts · GitHub
  54. atlas-helm-chart/charts/zookeeper at master · xmavrck/atlas-helm-chart · GitHub
  55. nhs-app-helm-chart/solr.yaml at master · pajmd/nhs-app-helm-chart · GitHub
  56. GitHub – manjitsin/atlas-helm-chart: Kubernetes Helm Chart to deploy Apache Atlas
  57. GitHub – IBM/Scalable-WordPress-deployment-on-Kubernetes: This code showcases the full power of Kubernetes clusters and shows how can we deploy the world’s most popular website framework on top of world’s most popular container orchestration platform.
  58. A Dockerfile with (almost) all the tools mentioned in Bite Size Networking by Julia Evans · GitHub
  59. GitHub – sburn/docker-apache-atlas: This Apache Atlas is built from the latest release source tarball and patched to be run in a Docker container.
Quote

A trick to resolve issues with YAML files for Kubernetes

I was going through this exercise for Using Calico network policies to block traffic when I thought that instead of deploying the webserver image using this command:

kubectl run webserver --image=k8s.gcr.io/echoserver:1.10 --replicas=3

I would create a yaml file to deploy the webserver instead. Unfortunately, there was something about my yaml file that preventing things from working. That’s when I came across this trick.

  • Step 1: deploy the web server using the kubectl run command.
  • Step 2:  run the following command to get the YAML back for the deployment


kubectl get deployment webserver --output yaml > webserver.yaml

  • Step 3: edit the webserver.yaml file to remove extra lines. For me, I was able to remove:
    •  the status section
    • the annotations section
    • the strategy section
    • etc.

And just keep the following lines (note, note formatted properly):


apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: webserver
name: webserver
namespace: default
spec:
replicas: 3
selector:
matchLabels:
run: webserver
template:
metadata:
labels:
run: webserver
spec:
containers:
- image: k8s.gcr.io/echoserver:1.10
name: webserver

Now, you do not have to edit the file. But I think this is cleaner than the full version that comes back.

So you can delete the deployment that was the result of the command line and instead build future deployments using the yaml file.

A dozen good pieces on Kubernetes


Here’s twelve articles on Kubernetes, from introductory to advanced.

Some introductory pieces on getting started with Kubernetes:

  1. Getting Started with Kubernetes: Deploy a Docker Container with Kubernetes in 5 minutes
  2. Deploy a Python Flask application in Kubernetes – IBM Developer
  3. Play with Kubernetes Classroom
  4. Three quick ways to start with Kubernetes – Katsuhi
  5. How to deploy a NodeJS app to Kubernetes | Sean McGary
  6. A Kubernetes quick start for people who know just enough about Docker to get by

Some good tutorials from IBM:

  1. Kubernetes Tutorials: 5 Ways to Get You Building Fast | IBM
  2. Learning Path: Kubernetes – IBM Developer

Some harder pieces for if you are already well versed with Kubernetes:

  1. Kubernetes 202 — Making It Fully Operational – uptime 99 – Medium
  2. Kubernetes NodePort vs LoadBalancer vs Ingress? When should I use what?
  3. Kubernetes On Bare Metal

(Image from pexels.com)

Quote

How to get up to speed really quickly on Kubernetes and Docker if you are an infrastructure specialist

If you are an infrastructure person and you are trying to ramp up really quickly on Docker and Kubernetes, here are some good links to get you started:

I also have this repo on github that can help.

Is this the last word? Good lord, no. But it can help you stay in the conversation and helps you map all this stuff to networks and processes and files and VMs and services and other tech you are used to.

How to better understand Kubernetes networking

Kubernetes networking is a non-trivial thing to understand, but if you are going to get into the use of Kubernetes, then you need to understand it. This trio of posts is a good way to do that. Highly recommended.

  1. Understanding kubernetes networking: pods – Google Cloud Platform — Community – Medium
  2. Understanding kubernetes networking: services – Google Cloud Platform — Community – Medium
  3. Understanding kubernetes networking: ingress – Google Cloud Platform — Community – Medium

What I find interesting in tech, November 2017


Here’s an assortment of 42 links covering everything from Kubernetes to GCP and other cloud platforms to IoT to Machine Learning and AI to all sorts of other things. Enjoy! (Image from the last link)

  1. Prometheus Kubernetes | Up and Running with CoreOS , Prometheus and Kubernetes: DeployingKubernetes monitoring with Prometheus in 15 minutes – some good links on using Prometheus here
  2. Deploying a containerized web application  |  Container Engine Documentation  |  Google Cloud Platform – a good intro to using GCP
  3. How to classify workloads for cloud migration and decide on a deployment model – Cloud computing news – great insights for any IT Architects
  4. IP Address Locator – Where is this IP Address? – a handy tool, especially if you are browsing firewall logs
  5. Find a Google Glass and kick it from the networkDetect and disconnect WiFi cameras in that AirBnB you’re staying in– Good examples of how to catch spying devices
  6. The sad graph of software death – a great study on technical deby
  7. OpenTechSchool – Websites with Python Flask – get started building simple web sites using Python
  8. Build Your Own “Smart Mirror” with a Two-Way Mirror and an Android Device – this was something I wanted to do at some point
  9. Agile for Everybody: Why, How, Prototype, Iterate – On Human-Centric Systems – Medium – Helpful for those new or confused by Agile
  10. iOS App Development with Swift | Coursera – For Swift newbies
  11. Why A Cloud Guru Runs Serverless on AWS | ProgrammableWeb – If you are interested in serverless, this is helpful
  12. Moving tech forward with Gomix, Express, and Google Spreadsheets | MattStauffer.com – using spreadsheets as a database. Good for some
  13. A Docker Tutorial for Beginners – More Docker 101.
  14. What is DevOps? Think, Code, Deploy, Run, Manage, Learn – IBM Cloud Blog – DevOps 101
  15. Learning Machine Learning | Tutorials and resources for machine learning and data analysis enthusiasts – Lots of good ML links
  16. Importing Data into Maps  |  Google Maps JavaScript API  |  Google Developers – A fine introduction into doing this
  17. Machine learning online course: I just coded my first AI algorithm, and oh boy, it felt good — Quartz – More ML
  18. New Wireless Tech Will Free Us From the Tyranny of Carriers | WIRED – This is typical Wired hype, but interesting
  19. How a DIY Network Plans to Subvert Time Warner Cable’s NYC Internet Monopoly – Motherboard – related to the link above
  20. Building MirrorMirror – more on IT mirrors
  21. Minecraft and Bluemix, Part 1: Running Minecraft servers within Docker – fun!
  22. The 5 Most Infamous Software Bugs in History – OpenMind – also fun!
  23. The code that took America to the moon was just published to GitHub, and it’s like a 1960s time capsule — Quartz – more fun stuff. Don’t submit pull requests 🙂
  24. The 10 Algorithms Machine Learning Engineers Need to Know – More helpful ML articles
  25. User Authentication with the MEAN Stack — SitePoint – if you need authentication, read this…
  26. Easy Node Authentication: Setup and Local ― Scotch – .. or this
  27. 3 Small Tweaks to make Apache fly | Jeff Geerling – Apache users, take note
  28. A Small Collection of NodeMCU Lua Scripts – Limpkin’s blog – Good for ESP users
  29. Facebook OCP project caused Apple networking team to quit – Business Insider – Interesting, though I doubt Cisco is worried
  30. Hacked Cameras, DVRs Powered Today’s Massive Internet Outage — Krebs on Security – more on how IoT is bad
  31. Learn to Code and Help Nonprofits | freeCodeCamp – I want to do this
  32. A Simple and Cheap Dark-Detecting LED Circuit | Evil Mad Scientist Laboratories – a fun hack
  33. Hackers compromised free CCleaner software, Avast’s Piriform says | Article [AMP] | Reuters – this is sad, since CCleaner is a great tool
  34. Is AI Riding a One-Trick Pony? – MIT Technology Review – I believe it is and if AI proponents are not smart they will run into another AI winter.
  35. I built a serverless Telegram bot over the weekend. Here’s what I learned. – Bot developers might like this.
  36. Google’s compelling smartphone pitch – Pixel 2 first impressions | IT World Canada News – The Pixel 2 looks good. If you are interested, check this out
  37. Neural networks and deep learning – more ML
  38. These 60 dumb passwords can hijack over 500,000 IoT devices into the Mirai botnet – more bad IoT
  39. If AWS is serious about Kubernetes, here’s what it must do | InfoWorld – good read
  40. 5 Ways to Troll Your Neural Network | Math with Bad Drawings – interesting
  41. IBM, Docker grow partnership to drive container adoption across public cloud – TechRepublic – makes sense
  42.  Modern JavaScript Explained For Dinosaurs – fun