So You Want To Be a Software Developer?: Basic commands with Kubernetes - Technical.ly Baltimore

Software Development

Feb. 11, 2021 10:53 am

So You Want To Be a Software Developer?: Basic commands with Kubernetes

SmartlLogic's Eric Oestrich walks through three commands to help get started in Kubernetes.
Eric Oestrich demos Kubernetes.

Eric Oestrich demos Kubernetes.

(Courtesy photo)

If you’ve heard of Kubernetes, but haven’t seen or used the software development tool, you’re not alone. It has been around since 2014, but started quickly growing in popularity over the last few years as more large enterprises started using it.

That status made Kubernetes a good topic for our latest dev tutorial. We talked with Eric Oestrich, an engineering manager with software development consultancy SmartLogic who brings 10 years of experience, to help walk through the fundamentals.

Kubernetes is an open source container management system used for systems that need to manage scale. If you’re working on a project for a big company or a project with a huge scope, it’s highly likely you’ll run into Kubernetes.

So let’s walk through the basics. According to Oestrich, these are the three commands you’ll need in your back pocket to see and debug what’s running in Kubernetes:

kubectl get pods

  • This command brings up the containers and servers that are running in your project.

kubectl get pods. (Courtesy of Eric Oestrich)

kubectl logs -f ${pod name from the get pods above}

  • This command allows you to check the server as it is running, and catch an error occurring.

Checking the server. (Courtesy of Eric Oestrich)

kubectl exec -ti ${pod name from the get pods above} bash

  • This command allows you to get in there and debug to fix those errors.

Advertisement

Take the Helm

A quick tip for newbies using Kubernetes: Be aware of Helm. Every company that Oestrich has worked with that uses Kubernetes also uses that tool to bundle and deploy their applications.

“Trying to figure out what Helm is, is an excellent next step,” said Osetrich. “It’ll lead you down the path of learning most of Kubernetes.”

Learning is a big part of Oestrich’s job. Over the course of his 10 years at SmartLogic, the company has gone from programming in Ruby to Elixir. And it has bounced around different JavaScript frameworks like Backbone.js, before settling on React.js.

The 2020 RealLIST Engineers honoree has this takeaway from working with software developers and startups at the consultancy: “If you’re not learning, there’s probably something you’re not doing right.”

Technology, he said, “is always evolving. You can always be learning, for better or for worse,” said Oestrich.

Below, check out a video of Oestrich walking through the three commands described above. He talks about their purpose, and what they allow a developer to do:

 

Check out Technical.ly’s additional tutorials on Docker and version control.


Donte Kirby is a 2020-2021 corps member for Report for America, an initiative of The Groundtruth Project that pairs young journalists with local newsrooms. This position is supported by the Robert W. Deutsch Foundation.
Companies: SmartLogic
-30-
CONTRIBUTE TO THE
JOURNALISM FUND

Already a contributor? Sign in here
Connect with companies from the Technical.ly community
New call-to-action

Advertisement

Sign-up for daily news updates from Technical.ly Baltimore