
Update the static pod path by locating and editing the kubelet config yaml with nano, then save to manage all static pods on the node, which recreate after deletion.
Create a pod and attach labels to organize and select subsets of objects. Use kubectl run to define the pod name and image, then kubectl describe to verify the labels.
learn how to taint a node to make it unschedulable and use tolerations to schedule pods, with kubectl commands and YAML configuration to verify scheduling.
Isolate all pods in a namespace by allowing only port 80 via an ingress network policy, created from a YAML file and verified with kubectl describe.
Learn to sort persistent volumes by capacity with kubectl, using the Kubernetes documentation and cheat sheet to copy the command and write results to a text file.
Learn to identify the pod with the highest cpu usage using kubectl top, sorting by cpu for pods labeled environment=process, and capture results to a text file.
Create and configure an ingress resource to expose service on path, copy YAML from docs, set namespace and service name, use port 5678, and deploy with kubectl create -f.
Override the pod label with kubectl label using the override flag, set environment to true, and verify the new label with a describe command.
Learn to create and attach a persistent volume to a pod by configuring a persistent volume claim and mounting it, then verify the binding.
Learn to back up and restore etcd in a Kubernetes environment by verifying data across nodes, capturing etcd snapshots, and restoring from backup on minikube.
Create and set an environment variable in a pod with kubectl, then verify it by echoing inside the container; secrets or config maps are the usual store.
Explore how to apply annotations to a running Kubernetes pod to attach non-identifying metadata, compare annotations with labels, and retrieve the annotated values.
Learn to retrieve all pods across all namespaces with kubectl get pods --all-namespaces, save the output to a text file, and verify the results.
Create a Kubernetes network policy in yaml to allow a pod to egress to two services on ports 8080 and 5432, using an internal policy in the default namespace.
Create a cluster role and a cluster role binding by defining their names and adding get, watch, and list for pods, then verify by listing pods.
Label the namespace, write and save a network policy in YAML, then create the policy from the file to practice Kubernetes networking.
Explore resource management in Kubernetes by setting cpu and memory requests and limits for a pod, updating a yaml file, and recreating the pod with kubectl to verify resource changes.
Troubleshoot a failed pod by checking status, using describe to identify issues, fix a YAML typo, delete the old pod, recreate it from the updated file, and verify it runs.
Create a daemonset by adapting a deployment YAML, deploy a pod on all nodes, and verify it runs on every node across a three-node cluster.
Learn to list all objects in a cluster with kubectl get all all namespaces, spotting what's running and what's not, and save the output to a text file.
Learn to find all pods with a specific label using kubectl get pods, save the output to a label text file, and verify the file.
Create a pod with a sidecar container for logging by adapting a Kubernetes sidecar example from the documentation, editing the yaml file, deploying with kubectl, and verifying it's running.
The lecture demonstrates denying all ingress traffic by applying a default deny network policy, creating a policy file with kubectl create f, and verifying the result.
Learn to collect logs from pods, verify the dev green pod is running, grab the pod name, search for the pattern 'start', and save and verify the output.
Locate the static pod path by sshing into the minikube node, using ps6 to find the config file, copy it, extract the pod path, and verify.
Identify recently deleted pods by tracking events with cube CTL get events, filter results with cut, save output to recent delete text, and verify findings.
Create a pod and define a security context with runAsUser and fsGroup to improve privilege and access control. Save the manifest, apply with kubectl -f, and verify.
Master three-container pod setup by editing and saving a multi-part yaml, deleting and adding resources, then creating the pod with kubectl from a yaml file.
Create and configure a replica set using a deployment template; edit the yaml to three replicas, remove the strategy, deploy, and verify three pods stay running after deleting one.
List all control plane components by running kubectl get pods in the kube-system namespace, save the output to a text file, and verify the results.
Welcome to the Ultimate Practical Kubernetes Course:
“Learn Kubernetes with 100 Questions.“
Are you ready to learn about Kubernetes and become a pro? Look no further! In this course, we’ll guide you through 100 hands-on practice questions that cover every aspect of working with Kubernetes. Say goodbye to boring theory and complicated guides. With our course, all you have to do is sit back, relax, and follow the instructor’s easy-to-understand steps to complete the assignments.
Become CKA Certified!
Are you aiming to achieve the prestigious Certified Kubernetes Administrator (CKA) certification? You’re in luck! Our course is an excellent preparation tool for the CKA exam and to learn Kubernetes. We have meticulously crafted practice questions that closely resemble those you’ll encounter in the exam. Moreover, we’ve gone the extra mile to create an immersive experience in our videos, simulating the real exam scenario as closely as possible.
What will you learn?
We’ve got you covered on all the essential topics to make you a Kubernetes expert:
Cluster Architecture, Installation & Configuration: Learn how to set up and configure Kubernetes clusters like a pro.
Workloads & Scheduling: Understand how to manage and schedule workloads efficiently within Kubernetes.
Services & Networking: Master the art of networking and service management in a Kubernetes environment.
Storage: Discover the best practices for handling storage in Kubernetes and ensure seamless data management.
Troubleshooting: Develop the skills to troubleshoot common issues that may arise in a Kubernetes setup.