Title: Kubernetes Online Training | 9989971070
1 Kubernetes API Concepts
- Ph No 91- 9989971070
- Visit www.visualpath.in
2- The Kubernetes API is a resource-based(Rest ful)
programmatic interface provided via HTTP. It
supports retrieving, creating, updating, and
deleting primary resources via the standard HTTP
verbs (POST, PUT, PATCH, DELETE, GET), includes
additional sub resources for many objects that
allow fine grained authorization (such as binding
a pod to a node), and can accept and serve those
resources in different representations for
convenience or efficiency.
Visit www.visualpath.in
3Standard API terminology
1. Most Kubernetes API resource types are
objects they represent a concrete
instance of a concept on the cluster, like a pod
or namespace. 2. A smaller number of API
resource types are virtual they often
represent operations rather than objects, such as
a permission check. 3. All objects will have a
unique name to allow idempotent creation and
retrieval, but virtual resource types may not
have unique names if they are not retrievable or
do not rely on idem potency.
Visit www.visualpath.in
4- Kubernetes generally leverages standard Restful
terminology to describe the API concepts - A resource type is the name used in the URL
(pods, namespaces, services) - All resource types have a concrete representation
in JSON (their object schema) which is called
a kind - A list of instances of a resource type is known
as a collection - A single instance of the resource type is called
a resource
Visit www.visualpath.in
5Efficient detection of changes
- To enable clients to build a model of the current
state of a cluster, all Kubernetes object
resource types are required to support consistent
lists and an incremental change notification feed
called a watch. - Every Kubernetes object has a resource Version
field representing the version of that resource
as stored in the underlying database. - When retrieving a collection of resources
(either namespace or cluster scoped), the
response from the server will contain a resource
Version value that can be used to initiate a
watch against the server.
Visit www.visualpath.in
6- The server will return all changes (creates,
deletes, and updates) that occur after the
supplied resource Version. - This allows a client to fetch the current state
and then watch for changes without missing any
updates. - If the client watch is disconnected they can
restart a new watch from the last returned
resource Version or perform a new collection
request and begin again.
Visit www.visualpath.in
7Contact
If you want to Learn Docker and Kubernetes online
Training Contact Visual path. Visual path is
Leading Training Institute for Docker and
Kubernetes online Training in Hyderabad. For
More Details Call Whatsapp _at_9989971070
Visit www.visualpath.in
8THANK YOU