
This video will give you an overview about the course.
Introduction to planning and installation of a Kubernetes cluster.
• Explain architectural decisions
• Select the install options
• Links for refences
Introduction to resource management in Kubernetes.
• Learn what a resource is and its types
• Learn about Pod
• Troubleshoot resource management issues
Pod fails to get scheduled due to insufficient cluster capacity.
• Look at Pod related events, for an indication on resource shortage
• Look at node details, to find out allocated and available capacity
• Reduce Pod resource requirement or add more capacity
Introduction and troubleshooting of issues with PSP.
• Check Pod related events for indication of PSP errors
• Check policy, role, and role bindings
• Create and modify the role and role bindings
Understand Kubernetes network model and basic network info gathering.
• Get an overview of the Kubernetes network model
• Understand the troubleshooting steps
• Perform Calico specific debugging
Introduction to network debug tool and it’s usage in troubleshooting.
• Use sample YAML
• Use ‘dig’ command
Pods unable to resolve network service.
• Deploy network debug tool in Pod network. and run basic network debug commands
• Look at network settings on the host
• Modify Kubernetes network settings or host network settings as required
Kubernetes dashboard loading is slow.
• Look at dashboard Pods and logs for any errors
• Look at the node running dashboard Pods for resource starvation, stats, and errors
• Modify Kubernetes network settings or host network settings as required
Introduction to multi-platform cluster, scheduling, node selectors, and node affinity.
• Understand what Kubernetes multiplatform clusters are
• Learn about Kubernetes scheduling primitives
• Explore node selectors and node affinity
Introduction to taints and tolerations.
• Introduction to both
• Look at Pod details and related events
• Look at further Pod details and related events
Explore the Pod restarting and in CrashLoopBackOff state post deployment, in a multi-platform cluster.
• Look at Pod related events
• Look at Pod logs
• Modify Pod specs for targeted deployment
Pod status remains in pending state.
• Look at Pod details and related events
• Look at cluster node details
• Modify Pod specs or update cluster as required
Introduce the options available for managing the Kubernetes cluster.
• Understand the lifecycle operations
• Have a look on Kubernetes dashboard
• Explore the kubectl command
Creating Kubernetes objects using kubectl CLI.
• Understand different approaches for object creation
• Explore kubectl create command
• Implement kubectl apply and delete commands
Viewing Kubernetes objects using kubectl CLI.
• Have a look at different examples
• Explore the usage of the get command
• Explore the usage of the describe command
Modify Kubernetes objects using kubectl CLI.
• Explore examples of Kubernetes object modification using the CLI
• Understand an example where a Pod getting OOMKilled due to low memory limit
Common issue when mixing declarative and imperative approaches with kubectl CLI.
• Understand an example where one person creates and scales the development
• Update to the container image
Introduction to Kubernetes dashboards.
• Explore the dashboard
• Explore the OpenShift dashboard
Introduction to logging in Kubernetes, and how to use basic logging in Kubernetes.
• Types of Kubernetes logging architecture
• Know about basic logging
Introduction to cluster level logging in Kubernetes, with details on logging patterns and visualizations.
• Understand cluster-level logging
Root cause missing logs in Kubernetes logging infrastructure.
• Look at basic Pod logs
• Look at node details
• Make node or Pod changes as required
Modifying the logging configuration as per requirement.
• Explore the dashboard
• Modify log on CLI
Introduction to monitoring and alerting in Kubernetes cluster, with brief details on RED and USE method.
• Understand the monitoring architecture and its steps
• Know the USE and RED method
Key resources and metrics to monitor the Kubernetes cluster.
• Know the key metrics to monitor – node, cluster, and pod
• View the metrics data
• Explore Grafana based monitoring dashboard
Introduction to alerting in Kubernetes and the creation of sample alerts.
• Know what alerting in Kubernetes cluster with Prometheus is
• Explore the Prometheus console
• Configure a new alert
This video aims explain replication controllers.
• Creating the replica set YAML Pod
• Limit the number of replicas
• Create service with N replicas
This video aims to deploy with replica sets.
• Create service with N replicas
• Get information about running replicas
This video aims to explore jobs.
• Submit job to K8S
• Specify restart strategy
• Gather info about the running job
This video aims to explain how to use deployments.
• Redeploy application
• Use rolling update strategy
• Analyze instances
This video aims to explain how to use DaemonSets.
• Create DaemonSet YAML definition
• Analyze selectors
This video aims to explain how to target deployment to specific nodes.
• Deploy using DaemonSet
• Specify rollout of the service
• Get the DaemonSet running
This video aims to explore how do we set the limits.
• Create autoscaling rule
• Specify minimum and maximum limit
• Create dynamic auto scale rule
This video aims to explore Capabilities and security policies.
• Create cert and key
• Create Pod that uses security
• Validate the same
This video aims to troubleshoot few application deployments issues.
• Deploy the Pod
• Get detailed info about state of the Pod
• Get the logs
This video aims to explain how to handle out of memory errors.
• Create Pod definition with memory limit
• Start Pod with limit
• Analyze memory limit of running pod
This video aims to explain how to handle garbage collection and eviction thresholds.
• Look at eviction threshold available in k8s
• See the ways of setting threshold for different type of limits
This video aims to explain the services which are available for Kubernetes.
• Create the load balancing service
• Add deployment
• Expose service and deployment on K8s
This video aims to explain service discovery and routing in Kubernetes.
• Create two independent services
• Expose both using k8s service discovery
• Test the connection between services
This video aims to demonstrate how to add ingress resources to your service.
• Add ingress to service
• Get IP and ports
• Use curl to put ingress traffic to the service
This video aims to demonstrate how to troubleshoot application access issues.
• Create service with N instances
• Troubleshoot the access problem
• Solve problem with exposing service deployment
Containers are changing the way applications are developed, deployed, and managed. Consequently, container orchestration has become a critical piece of infrastructure for enterprises on their digital transformation journey. Kubernetes is an open-source container orchestration platform for automating the deployment, scaling, and management of containerized applications. It has become the de-facto standard for container orchestration.
This course provides a tour of how to debug issues with the Kubernetes cluster infrastructure and presents a working conceptual model of how clusters operate. You will be addressing common problems faced by developers in cluster management, monitoring, and logging. Subsequently, we examine common issues when creating and deploying apps on Kubernetes.
By the end of the course, you'll have gained full control of your Kubernetes infrastructure and will be able to manage it with ease.
Please note a working knowledge of Kubernetes is required for this course.
About the Author
Pradipta Kumar Banerjee
IBM, Senior Technical Staff Member, Bangalore, India
Pradipta is a Senior Technical Staff Member for the IBM Cloud Private platform and leads cloud-native platform initiatives for IBM Power Microprocessor. He comes with an extensive infrastructure and cloud background and has worked on many first-of-a-kind projects for large enterprise customers across various industries, focusing primarily on virtualization, cloud, and container technologies. Pradipta is an IBM Master Inventor with many patents and received the Best of IBM and Outstanding Technical Achievement awards.