Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Troubleshooting Docker
  • Table Of Contents Toc
  • Feedback & Rating feedback
Troubleshooting Docker

Troubleshooting Docker

By : Navid Ahmed Shaikh, Vaibhav Kohli, Dua, John Wooten
1 (1)
close
close
Troubleshooting Docker

Troubleshooting Docker

1 (1)
By: Navid Ahmed Shaikh, Vaibhav Kohli, Dua, John Wooten

Overview of this book

You?re pro Docker? You?ve read all about orchestration with Docker in books? Now learn how to troubleshoot Docker in practice. Gain all the tools to safely see Docker in action with this 2017 book.
Table of Contents (11 chapters)
close
close
Lock Free Chapter
1
1. Understanding Container Scenarios and an Overview of Docker

Debugging Kubernetes issues

In this section, we'll be discussing some of the Kubernetes troubleshooting concerns:

  1. The first step to debug the Kubernetes cluster is to list the number of nodes, using the following command:
    $ kubetl get nodes
    

    Also, verify that all nodes are in the ready state.

  2. Look at the logs in order to figure out issues in the deployed Kubernetes cluster 
        master:
            var/log/kube-apiserver.log - API Server, responsible for serving the API
            /var/log/kube-scheduler.log - Scheduler, responsible for making scheduling 
        decisions
            /var/log/kube-controller-manager.log - Controller that manages replication 
        controllers
        Worker nodes:
    
            /var/log/kubelet.log - Kubelet, responsible for running containers on the 
        node
            /var/log/kube-proxy.log - Kube Proxy, responsible for service load 
        balancing
    
    
  3. If the pod stays in the pending state, use the following command:
    $ cluster/kubectl.sh describe pod podname
    

    This will list events...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Troubleshooting Docker
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon