IngressClass

An IngressClass is a cluster-scoped resource that represents an ingress controller implementation. Ingress objects reference an IngressClass by name to select which controller fulfills them.

Container OrchestrationKubernetesLoad BalancingNetworkingService Discovery

Properties

Name Type Description
apiVersion string
kind string
metadata object
spec object IngressClass specification.
View JSON Schema on GitHub

JSON Schema

kubernetes-services-ingressclass-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IngressClass",
  "title": "IngressClass",
  "type": "object",
  "description": "An IngressClass is a cluster-scoped resource that represents an ingress controller implementation. Ingress objects reference an IngressClass by name to select which controller fulfills them.",
  "properties": {
    "apiVersion": {
      "type": "string",
      "const": "networking.k8s.io/v1"
    },
    "kind": {
      "type": "string",
      "const": "IngressClass"
    },
    "metadata": {
      "$ref": "#/components/schemas/ObjectMeta"
    },
    "spec": {
      "type": "object",
      "description": "IngressClass specification.",
      "properties": {
        "controller": {
          "type": "string",
          "description": "Name of the controller that handles Ingresses of this class. Example: ingress.controller.example.com/nginx"
        },
        "parameters": {
          "type": "object",
          "description": "Reference to a custom resource containing controller-specific parameters for this IngressClass."
        }
      }
    }
  }
}