A List of Kubernetes Books

Some of these items are books, practice exams or DVDs related to Kubernetes. This list was updated on 4/5/20.

Amazon EKS: User Guide
Building Enterprise JavaScript Applications: Learn to build and deploy robust JavaScript applications using Cucumber, Mocha, Jenkins, Docker, and Kubernetes
Building Microservice Systems with Docker and Kubernetes – Training DVD
Certified Kubernetes Application Developer (CKAD) Complete Video Learning Certification Exam Set (DVD)
Cloud Native DevOps with Kubernetes: Building,

How Do You Change The Port That GitLab Listens on?

Problem scenario
By default GitLab runs on port 8080.  You want to run something else on the server with GitLab.  How do you change the port that GitLab uses?

Solution
1.  Edit the /etc/gitlab/gitlab.rb file.

Find the stanzas with for the “external_url”.

Change it from this:  http://x.x.x.x/

to this:  http://x.x.x.x:555

(where x.x.x.x is either the external IP address or FQDN of the gitlab server and 555 is the desired non-standard port number that you want GitLab to listen on).

What Can You Do to Set up Jira when It Hangs Forever with No Error Messages?

Problem scenario
You connect your Jira instance to an empty SQL database.  For the first time you log into the web UI to set things up.  When you try to create a task, project or story, the web UI hangs forever.  If you close out of the web UI, you have to start all over.  

What do you do when you first connect to a Jira instance via its web UI and it prompts you for a language and other initial settings but hangs when you try to create a task or story?

How Do You Know If a Program Ended Because It Completed Successfully, Had an Error, or Another User Interactively Terminated the Running Program?

Problem scenario
You believe that there are three main ways a program runs:  one it completed successfully, two an error made the program stop, or three another user on the server interactively terminated the program when it was still running.  You want to identify which one of these three possibilities happened.  How do you know if the program that just ran stopped because it completed successfully, had an error,

What Is a Dockerfile and What Is a Docker Image?

Question / Problem scenario
You know what a Docker container is.  What is a Dockerfile and what is a Docker image?

Answer to What is a Dockerfile?
“Dockerfiles are used to define how a container should look at build time, but they do not manage the container’s ongoing state, and cannot be used to manage the Docker host system.” (Page 5 of Docker Up &

Why Do You Have a Discrepancy between the Maximum Number of File Descriptors between Your /etc/security/limits.conf File and What You Are Seeing in the Logs?

Problem scenario
You run a ulimit -Hn command.  You see the limit of the file descriptors to be what you expect.  But in the logs of an application, there is a discrepancy.  Why is one log reporting that the limit to file descriptors is different from the output of a “ulimit -Hn” or “ulimit -Sn” command?

Solution
Root cause
The ulimit -Hn and ulimit -Sn commands do not show the whole story. 

How Do You Enter Data into a Cassandra Table?

Problem scenario
You want to insert data into a Cassandra table.  How do you do this?

Solution
Prerequisites

Install and configure Cassandra.  If you do not know how, click on this link and go to “Possible Solution #5” at the bottom to determine the distribution of Linux that you have.

Procedures
1.  Create the table with this command:
CREATE TABLE contint(
  

How Do You Install Gradle on Any Type of Linux?

Problem scenario
You want to be able to install Gradle on a Debian/Ubuntu Linux server, a Red Hat derivative of Linux (e.g., CentOS/RHEL/Fedora), or Linux SUSE.  How do you do this with the same script?

Prerequisites
i.  Install Java.  If you need directions, see this posting.
ii.  Install unzip. 

  • If you are using Debian or Ubuntu, run this command: 

How Do You Troubleshoot a GitLab Webhook Failing Because of “Execution expired”?

Problem scenario
You try to test an Integration, specifically a Webhook, in GitLab.  The URL is for Jenkins.  You get “Execution expired.”  What could be wrong?

Possible solution #1
See if the GitLab’s IP address or hostname changed.  If the external_url stanza in /etc/gitlab/gitlab.rb uses an old IP address or FQDN, then that may need to be updated.  You may need to run “sudo gitlab-ctl reconfigure” again.