OS
Schema Hub

ForNode

ForNode provides information about which nodes should consume this endpoint.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/discovery.api.k8s.io/ForNode_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/discovery.api.k8s.io/ForNode_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

namestringRequired
name represents the name of the node.