What are other common API versions?

076

In Kubernetes, several common API versions are used for different resource types. Here are some of them:

  1. v1: This is the core API version used for basic resources such as Pods, Services, ConfigMaps, Secrets, and Namespaces.

    • Example: apiVersion: v1
  2. apps/v1: This version is used for managing applications and includes resources like Deployments, StatefulSets, and DaemonSets.

    • Example: apiVersion: apps/v1
  3. batch/v1: This version is used for batch processing resources such as Jobs and CronJobs.

    • Example: apiVersion: batch/v1
  4. extensions/v1beta1: Previously used for resources like Ingress and NetworkPolicy, but many have been moved to stable versions.

    • Example: apiVersion: extensions/v1beta1 (Note: This is deprecated in newer Kubernetes versions)
  5. networking.k8s.io/v1: This version is used for networking resources such as Ingress and NetworkPolicy.

    • Example: apiVersion: networking.k8s.io/v1
  6. rbac.authorization.k8s.io/v1: This version is used for Role-Based Access Control (RBAC) resources like Roles and RoleBindings.

    • Example: apiVersion: rbac.authorization.k8s.io/v1

These API versions help ensure that the resources are managed correctly according to the features and behaviors defined in each version.

0 Comments

no data
Be the first to share your comment!