Completek8s Classroomnotes 03/Oct/2023

Troubleshooting kubernetes

  • Workflow for Troubleshooting kubernetes
    Preview

Common kuberentes Errors

  • CreateContainerConfigError:
    • This is result of a missing secret or config map
  • CrashLoopBackoff:
    • This issued is due to pod not scheduled on node which can happen due to
      • insufficient resources
      • pod did not succeed in mounting volumes
      • hostPort
  • ErrImagePull or ImagePullBackOff
    • This is result of failure occured as the image couldnot be pulled from registryt
  • Node not Ready

Setting up metrics server on kubernetes

  • To setup metrics server the command is
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
  • This doesnot work out of box for kubeadm
  • Make changes in the args of container of deployment spec of metrics server
    Preview
    Preview
  • Kuberentes dashboard Refer Here
  • Refer Here for steps

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Integration by Acurax Wordpress Developers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube