Hi I have some question about the mock exam 5. In it we had the question to create a VPA. However there is no documentation in the Kubernetes doc regarding VPA definition and the various fields. I had memorized a basic template like so:
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
creationTimestamp: null
name: api-vpa
namespace: services
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: api-deployment
updatePolicy:
updateMode: 'Auto'
However this question required setting CPU and memory limits and requests which was something I had not memorized. Since we do not have access to the VPA doc in GitHub and therefore no information on the fields to use during the exam, will we be required to answer questions like this?
My other questions is with regards to the ingress related question in the same exam. One of the requirements was to set ssl-redirect to false with nginx.ingress.kubernetes.io/ssl-redirect: "false". However this is an annotation specific to nginx ingress controller and not available in the Kubernetes doc. So I want to verify if something like this would appear in the real exam as well?
Thanks in advance!