UNPKG

@jkcfg/kubernetes

Version:
18 lines 676 B
{ "$schema": "http://json-schema.org/schema#", "type": "object", "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { "protocol": { "type": [ "string", "null" ], "description": "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP." }, "port": { "description": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.", "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } }