GithubHelp home page GithubHelp logo

cka_study's Introduction

CKA! Here are some tips and tricks

Study tips

  • Certified Kubernetes Administrator (CKA) with Practice Tests by Mumshad Mannambeth.
  • CKA-StudyGuide by David-VTUK: LabGuide.
  • Killer.sh (You get 2 free sessions of killer.sh with your exam voucher. The sessions last 36 hours each and the questions are MUCH harder than the real CKA exam. Killer.sh was actually useless in terms of the questions they asked BUT the environment/ layout of the terminal is very similar to the real exam so it helped me become comfortable with how the real exam would look.)

WHAT TO STUDY:

  • Create roles, services, and role bindings
  • Unschedule a node and reschedule the pods
  • Backup and restore ETCD
  • Upgrade a cluster to a specific version
  • NETWORK POLICY
  • Scale deployments
  • NodeSchedulers
  • Pod logs
  • Pod resource usage
  • Persistent Volumes
  • Assigning PVC to pods
  • Sidecar containers
  • Ingress
  • Exposing deployments/ pods
  • Troubleshooting nodes, pods, or networks (practice all)

TIPS FOR THE EXAM

As soon as you enter the terminal run these commands

  • alias k=kubectl Lets you type "k" in place of "kubectl" export do="--dry-run=client -o yaml" This will let you create yaml files when you use the "kubectl run" command [ex: kubectl run nginx --image=nginx $do > nginx.yaml]. Then you can vim into the yaml you created. NEVER create a yaml file from scratch. It takes away too much valuable time. You can copy and paste almost any yaml configuration you will need from Kubernetes.io
  • sudo -i Gives you root privileges. Run this immediately because the user they give you on the exam doesn't seem to have permission to do anything...
  • USE THE RIGHT CONTEXT FOR EACH QUESTION. You will be instructed to use a specific context for each question. They give you the command to switch to the right context so all you have to do is copy and paste it into the terminal before you do anything. I cannot stress how important this step is. If you forget this step and use the wrong context you will most likely get the question wrong.
  • Be VERY familiar with the kubectl cheat sheet and the reference docs. There are a lot of commands on both that will help you out tremendously if you know where to look.

EXAM TOPICS

TIPS

  • 'kn' Alias Magic: Discover the time-saving wonders of the 'kn' alias for efficient Kubernetes management.
  • Imperative Commands Mastery: Learn how to speed through tasks using Kubernetes imperative commands.
  • Crafting with '--dry-run': Unveil the art of creating quick templates and streamline your Kubernetes workflow.
  • Demystifying 'kubectl explain --recursive': Unlock the full potential of Kubernetes resources with this deep-dive command.
  • Verification Tactics: Ensure accuracy in your configurations with practical verification tips, including the use of netcat.
  • Command Syntax Rescue with 'kubectl -h': Never get stuck again, thanks to this handy command helper.
  • Service Account Insights with 'kubectl can-i': Understand and manage service account permissions like a pro.
  • Sidecar & Multipod Solutions: Navigate complex pod configurations with ease.
  • Resource Updates with 'kubectl replace --force': Learn how to make swift and effective updates in your cluster.
  • Vi/Vim Essentials: Overcome the Vi/Vim hurdle with simple, yet powerful command techniques.

Links

cka_study's People

Contributors

sword2yk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.