What is the Kubernetes API in the context of cluster operations?
The Kubernetes API is the interface exposed by the kube API server that kubectl curl and other clients use to interact with cluster resources.
In the lecture example what default port does the kube API server listen on?
The kube API server listens on port 6443 by default.
What API path is used in the lecture example to get cluster version information?
The version information is available from the version endpoint on the API server.
What API path is used in the lecture example to get a list of pods from the core API?
The pod list is requested from the path api slash v1 slash pods.
Why does Kubernetes organize its API into groups?
Kubernetes organizes the API into groups so related resources are grouped by purpose and newer features can be added in a structured way.
What are the two top level categories of Kubernetes APIs discussed in the lecture?
The two top level categories are the core group and the named groups.
What kinds of resources are found in the core API group?
The core API group contains foundational resources such as pods services namespaces nodes events configmaps secrets persistent volumes and persistent volume claims.
What kinds of resources are found in named API groups?
Named API groups contain more organized feature areas such as apps networking storage authentication and authorization.
Which resources are mentioned in the apps API group in the lecture?
The apps group includes resources such as deployments replica sets and stateful sets.
Which resource is mentioned in the networking API group in the lecture?
The networking group includes network policies.
Which resource related to certificates is mentioned in the lecture?
The lecture mentions certificate signing requests as an example resource in a named API group.
In Kubernetes API terminology what is a resource?
A resource is an object type exposed by the API such as a pod deployment service or network policy.
In Kubernetes API terminology what is a verb?
A verb is an action you can perform on a resource such as get list create update delete or watch.
Why are API groups resources and verbs important for authorization?
They are important because authorization systems like RBAC grant or deny access based on which verbs a user can perform on which resources in which API groups.
Why might a direct curl request to the Kubernetes API fail for most endpoints?
A direct curl request usually fails because most endpoints require authentication and you must present valid certificates or other credentials.
How can you authenticate to the Kubernetes API directly with curl according to the lecture?
You authenticate by passing the client certificate client key and CA certificate in the curl command.
What does kubectl proxy do?
kubectl proxy starts a local HTTP proxy that uses credentials from your kubeconfig file to forward requests to the kube API server.
Why can kubectl proxy be convenient when exploring the API?
It lets you query the API locally without repeatedly passing certificate files on every curl command.
What local port does kubectl proxy use in the lecture?
kubectl proxy listens locally on port 8001.
What is the difference between kube proxy and kubectl proxy?
kube proxy handles service networking inside the cluster while kubectl proxy is a local client side HTTP proxy for accessing the Kubernetes API server.
What is a useful CKAD exam connection between API groups and kubectl commands?
Understanding API groups helps you read resource documentation faster and makes RBAC and troubleshooting more intuitive during exam tasks.