-
Notifications
You must be signed in to change notification settings - Fork 508
/
K8 exam Prep
65 lines (44 loc) · 1.72 KB
/
K8 exam Prep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
=============================================
K8 CKA exam preparation tips
Set alias
alias k='kubectl'
alias kubecns='kubectl config view | grep namespace:' #to display current namespace#
alias kubens='kubectl config set-context --current --namespace ' #to switch namespace#
Set bash autocompletion
Use kubectl describe command
K create Nginx --image=nginx --dry-run=client -o yaml > pod.yaml
Practice frequently used commands
Familiarize with vim editor: Vim Crash Course | How to edit files quickly in CKAD / CKA exam
Take mock test and try time management
https://kubewiz.com/signin
Setup vim editor for yaml
How to Setup your vim editor for YAML, Ansible Playbook, Kubernetes
============================
https://youtu.be/XnWzbveEdHE
https://yamllint.readthedocs.io/en/stable/text_editors.html
steps to install yaml lint plugin
=================================
mkdir -p ~/.vim/pack/git-plugins/start
git clone --depth 1 https://github.com/w0rp/ale.git ~/.vim/pack/git-plugins/start/ale
pip install —user yamllint
follow the instructions in below web link
https://www.arthurkoziel.com/setting-up-vim-for-yaml/
Add following to your ~/.vimrc file
=====================================
Syntax coloring and functions for YAML
=======================================
download yaml.vim from git repo
Save the file in ~/.vim/yaml.vim
Add the following line to your ~/.vimrc
au BufNewFile,BufRead *.yaml,*.yml so ~/.vim/yaml.vim
===========================
set line number
in ~/.vimrc file
set number
Exam Preparation Tips
https://youtu.be/TJSAcwUP0pE
CKAD& CKA Exam Syllabus
https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.20.pdf
CKAD Mock exam video
https://youtu.be/1ZjAUQi18AA
===========================================