The preparation for the CKA (Certified Kubernetes Administrator) requires lots of practice and practice. Fortunately, we have lots of online playgrounds to keep practicing, there are lots of free courseware available and lots of paid as well are available. In addition to that, we get two attempts to clear the exam
- There is training conducted by the https://training.linuxfoundation.org/ itself who conducts the CKA exams.
- But I felt this course from Udemy is good https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/, it has videos that explain each concept and have lots of practical sessions and mock exams.
- The https://killer.sh/ is another tool where you can practice and the questions asked in the killer.sh are complex and tests real skill. If we subscribe to the CKA exam, we will get two free sessions to solve the problems in the killer.sh
- https://www.katacoda.com/courses/kubernetes this is very useful if you are a beginner in kubernetes. It starts with a very simple usecase/scenario and we can solve in our own pace and try any number of times
- https://killercoda.com/ is another useful online tool that we can use like a playground to solve scenario-based problems
Rolling updates and rollback
Command and Argument
spec:containers:- image: ubuntucommand: ["sleep"]args: ["1000"]
Environment Variables
spec:containers:- image: ubuntucommand: ["sleep"]args: ["1000"]env:- name: APP_COLORvalue: BLUE
ConfigMaps
apiVersion: v1kind: ConfigMapmetadata:name: app-configdata:APP_COLOR: blueAPP_MODE: prodapiVersion: v1kind: podmetadata:spec:containers:- name: webappimage: webapp:v1envFrom:- configMapRef:name: app-config
Secret
apiVersion: v1kind: Secretmetadata:name: app-secretdata:DB_PASSWORD: hjuvhw=apiVersion: v1kind: podmetadata:spec:containers:- name: webappimage: webapp:v1envFrom:-secretRef:name: app-secretvolumes:- name: app-secret-volumesecret:secretName: app-secret