CKA Exam - Sources for VPA (Vertical Pod Autoscaler)

Hi,

I’m seeing new questions based on VPA in mock exams on CKA.
In one exam installation of a VPA was also required. I would like to know which sources we can refer to in the exam if we get a question such as this. The official kubernetes section does not have examples or installation guides, but have links to GitHub repositories. Is using them allowed in the exam?

Thanks!

Hi @ravindukrs

It’s been discussed here with a demo.

Hope this helps.

Hi @Santosh_KodeKloud

Thank you for responding to this.

The mock questions expect an answer using

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler

Ex: Ultimate Certified Kubernetes Administrator (CKA) Mock Exam Series - CKA Mock Exam 3 - Task 8

I was not able to find an example or a reference for that CRD in the link you provided (Although, it has a link to a GitHub repo).

1 Like

You can derive the basic structure using k explain vpa.spec, which will work w/o any prohibited web pages. You may need to remember/practice how to do that quickly, but that’s the basis of how you can get the structure of the resource type.

2 Likes

Hey Rob, I’m not sure that answers the question. I also want to know - does the CKA exam include any questions about managing/deploying/troubleshooting VPA resources?

Because there is no information in the official Kubernetes docs, which is because Kubernetes does not include VPA out of the box. So even k explain vpa.spec requires us to first install VPA which is going to require unofficial resources.

1 Like

I also think it’s weird to have VPA without a proper documentation in the official kubernetes page. I don’t think it’s fair to have a question in CKA about one topic that is not properly documented

The Linux Foundation sometimes does these sorts of things. Generally speaking, if a topic does not have approved docs, as is the case here, it will limit the kinds of questions you get on the exam. So you’re unlikely to be asked something for which no docs available.

One thing that can do, that we’ve seen them do recentlly – they can include links to docs in a question that are not on the approved list. So it’s worth being familiar with the VPA docs on Github, even if they are not approved. This happened with Gateway API before it was added to the approved list, which happened a couple of weeks ago. This could, in theory, happen with VPA as well, even if it is not added to the approved list.

I had a question regarding Gateway API, something specific, which is not covered in official docs…
I sent questions regarding GW API and docs to LF, before exam, but they didn’t answered me.
I failed for 3%… :frowning:

Borko

There’s been a change to the allowed materials list for CKA, and the website for Gateway API is now in the permitted materials:

CKA only: Gateway API

1 Like

Yea,
but it costed me passing the exam…
I have second try, but , to be honest, I feel I’m not ready yet… :slight_smile:

Hi.

I had similar question. But i noticed k explain command has --recursive=true arg. It is so good. You can see all sub fields and it shows required fields also

Hello Rob, Thanks for that one. but as I went through the docs/carriculam it does not seem like VPA is part of CKA exam syllabus. will you please clarify ?

We have, with the Linux Foundation people. This comes under the line in the curriculum that says:

Configure workload autoscaling

Right now, the exam has documents in the “allowed materials” list for HPA, but not VPA. But VPA is now released, and is likely to be substantially improved in the next couple of K8s releases. So they want you to learn this material, and they reserve the right to add questions about it in the exam, even if they are apparently not yet doing this as I write this.

but again we can not even do kubectl get vpa like we can do kubectl get hpa. further the VPA also needs to be configured with some external github link. so if the question appears is it safe to assume that specific url will be given ?

You have to install VPA first. The lab does a pretty good job showing you how to do this on your local system. During the exam, if you have a VPA question (again, not so likely just yet), they will have already install VPA for you.