diff --git a/dev/schema/defaults.json b/dev/schema/defaults.json index 7139b7e68..6a4813861 100644 --- a/dev/schema/defaults.json +++ b/dev/schema/defaults.json @@ -1,5 +1,45 @@ { "$defs": { + "Affinity": { + "description": "", + "properties": { + "nodeAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/NodeAffinity" + }, + { + "type": "null" + } + ], + "default": null + }, + "podAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/PodAffinity" + }, + { + "type": "null" + } + ], + "default": null + }, + "podAntiAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/PodAffinity" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "title": "Affinity", + "type": "object" + }, "Effects": { "enum": [ "NoExecute", @@ -835,6 +875,206 @@ "title": "KubernetesAppValues", "type": "object" }, + "LabelSelector": { + "description": "", + "properties": { + "matchExpressions": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/LabelSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchexpressions" + }, + "matchLabels": { + "anyOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchlabels" + } + }, + "title": "LabelSelector", + "type": "object" + }, + "LabelSelectorOperator": { + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "title": "LabelSelectorOperator", + "type": "string" + }, + "LabelSelectorRequirement": { + "description": "", + "properties": { + "key": { + "title": "Key", + "type": "string" + }, + "operator": { + "$ref": "#/$defs/LabelSelectorOperator" + }, + "values": { + "default": [], + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "title": "Values", + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "title": "LabelSelectorRequirement", + "type": "object" + }, + "NodeAffinity": { + "description": "", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/PreferredSchedulingTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Preferredduringschedulingignoredduringexecution" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "$ref": "#/$defs/NodeSelector" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "title": "NodeAffinity", + "type": "object" + }, + "NodeSelector": { + "description": "", + "properties": { + "nodeSelectorTerms": { + "items": { + "$ref": "#/$defs/NodeSelectorTerm" + }, + "title": "Nodeselectorterms", + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "title": "NodeSelector", + "type": "object" + }, + "NodeSelectorOperator": { + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist", + "Gt", + "Lt" + ], + "title": "NodeSelectorOperator", + "type": "string" + }, + "NodeSelectorRequirement": { + "description": "", + "properties": { + "key": { + "title": "Key", + "type": "string" + }, + "operator": { + "$ref": "#/$defs/NodeSelectorOperator" + }, + "values": { + "default": [], + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "title": "Values", + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "title": "NodeSelectorRequirement", + "type": "object" + }, + "NodeSelectorTerm": { + "description": "", + "properties": { + "matchExpressions": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/NodeSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchexpressions" + }, + "matchFields": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/NodeSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchfields" + } + }, + "title": "NodeSelectorTerm", + "type": "object" + }, "Operation": { "enum": [ "Exists", @@ -899,6 +1139,90 @@ "title": "PipelineComponent", "type": "object" }, + "PodAffinity": { + "description": "", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/WeightedPodAffinityTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Preferredduringschedulingignoredduringexecution" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/PodAffinityTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Requiredduringschedulingignoredduringexecution" + } + }, + "title": "PodAffinity", + "type": "object" + }, + "PodAffinityTerm": { + "description": "", + "properties": { + "labelSelector": { + "anyOf": [ + { + "$ref": "#/$defs/LabelSelector" + }, + { + "type": "null" + } + ], + "default": null + }, + "namespaces": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Namespaces" + }, + "topologyKey": { + "title": "Topologykey", + "type": "string" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "topologyKey", + "weight" + ], + "title": "PodAffinityTerm", + "type": "object" + }, "PortConfig": { "description": "Base class for the port configuration of the Kafka Streams application.", "properties": { @@ -949,6 +1273,26 @@ "title": "PortConfig", "type": "object" }, + "PreferredSchedulingTerm": { + "description": "", + "properties": { + "preference": { + "$ref": "#/$defs/NodeSelectorTerm" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "title": "PreferredSchedulingTerm", + "type": "object" + }, "ProducerApp": { "additionalProperties": true, "description": "Producer component.\nThis producer holds configuration to use as values for the streams-bootstrap producer Helm chart. Note that the producer does not support error topics.", @@ -1019,7 +1363,7 @@ "description": "streams-bootstrap Helm values" }, "version": { - "default": "3.1.0", + "default": "3.0.1", "description": "Helm chart version", "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(-[a-zA-Z]+(\\.[a-zA-Z]+)?)?$", "title": "Version", @@ -1174,15 +1518,14 @@ "affinity": { "anyOf": [ { - "type": "object" + "$ref": "#/$defs/Affinity" }, { "type": "null" } ], "default": null, - "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.", - "title": "Affinity" + "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity." }, "backoffLimit": { "anyOf": [ @@ -2085,7 +2428,7 @@ "description": "streams-bootstrap Helm values" }, "version": { - "default": "3.1.0", + "default": "3.0.1", "description": "Helm chart version", "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(-[a-zA-Z]+(\\.[a-zA-Z]+)?)?$", "title": "Version", @@ -2278,15 +2621,14 @@ "affinity": { "anyOf": [ { - "type": "object" + "$ref": "#/$defs/Affinity" }, { "type": "null" } ], "default": null, - "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.", - "title": "Affinity" + "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity." }, "autoscaling": { "anyOf": [ @@ -2747,7 +3089,7 @@ "description": "streams-bootstrap Helm values" }, "version": { - "default": "3.1.0", + "default": "3.0.1", "description": "Helm chart version", "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(-[a-zA-Z]+(\\.[a-zA-Z]+)?)?$", "title": "Version", @@ -2903,15 +3245,14 @@ "affinity": { "anyOf": [ { - "type": "object" + "$ref": "#/$defs/Affinity" }, { "type": "null" } ], "default": null, - "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.", - "title": "Affinity" + "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity." }, "commandLine": { "anyOf": [ @@ -3282,7 +3623,7 @@ ], "description": "The operator ('Exists' or 'Equal')." }, - "toleration_seconds": { + "tolerationSeconds": { "anyOf": [ { "type": "integer" @@ -3293,7 +3634,7 @@ ], "default": null, "description": "The duration for which the toleration is valid.", - "title": "Toleration Seconds" + "title": "Tolerationseconds" }, "value": { "anyOf": [ @@ -3419,6 +3760,26 @@ "title": "TopicConfig", "type": "object" }, + "WeightedPodAffinityTerm": { + "description": "", + "properties": { + "podAffinityTerm": { + "$ref": "#/$defs/PodAffinityTerm" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "title": "WeightedPodAffinityTerm", + "type": "object" + }, "kpops__components__streams_bootstrap__streams__model__PersistenceConfig": { "description": "streams-bootstrap persistence configurations.\n\n:param enabled: Whether to use a persistent volume to store the state of the streams app.\n:param size: The size of the PersistentVolume to allocate to each streams pod in the StatefulSet.\n:param storage_class: Storage class to use for the persistent volume.", "properties": { diff --git a/dev/schema/pipeline.json b/dev/schema/pipeline.json index aec5ccbbf..6771de08b 100644 --- a/dev/schema/pipeline.json +++ b/dev/schema/pipeline.json @@ -1,5 +1,45 @@ { "$defs": { + "Affinity": { + "description": "", + "properties": { + "nodeAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/NodeAffinity" + }, + { + "type": "null" + } + ], + "default": null + }, + "podAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/PodAffinity" + }, + { + "type": "null" + } + ], + "default": null + }, + "podAntiAffinity": { + "anyOf": [ + { + "$ref": "#/$defs/PodAffinity" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "title": "Affinity", + "type": "object" + }, "Effects": { "enum": [ "NoExecute", @@ -542,6 +582,206 @@ "title": "KafkaSourceConnector", "type": "object" }, + "LabelSelector": { + "description": "", + "properties": { + "matchExpressions": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/LabelSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchexpressions" + }, + "matchLabels": { + "anyOf": [ + { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchlabels" + } + }, + "title": "LabelSelector", + "type": "object" + }, + "LabelSelectorOperator": { + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist" + ], + "title": "LabelSelectorOperator", + "type": "string" + }, + "LabelSelectorRequirement": { + "description": "", + "properties": { + "key": { + "title": "Key", + "type": "string" + }, + "operator": { + "$ref": "#/$defs/LabelSelectorOperator" + }, + "values": { + "default": [], + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "title": "Values", + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "title": "LabelSelectorRequirement", + "type": "object" + }, + "NodeAffinity": { + "description": "", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/PreferredSchedulingTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Preferredduringschedulingignoredduringexecution" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "$ref": "#/$defs/NodeSelector" + }, + { + "type": "null" + } + ], + "default": null + } + }, + "title": "NodeAffinity", + "type": "object" + }, + "NodeSelector": { + "description": "", + "properties": { + "nodeSelectorTerms": { + "items": { + "$ref": "#/$defs/NodeSelectorTerm" + }, + "title": "Nodeselectorterms", + "type": "array" + } + }, + "required": [ + "nodeSelectorTerms" + ], + "title": "NodeSelector", + "type": "object" + }, + "NodeSelectorOperator": { + "enum": [ + "In", + "NotIn", + "Exists", + "DoesNotExist", + "Gt", + "Lt" + ], + "title": "NodeSelectorOperator", + "type": "string" + }, + "NodeSelectorRequirement": { + "description": "", + "properties": { + "key": { + "title": "Key", + "type": "string" + }, + "operator": { + "$ref": "#/$defs/NodeSelectorOperator" + }, + "values": { + "default": [], + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "items": { + "type": "string" + }, + "title": "Values", + "type": "array" + } + }, + "required": [ + "key", + "operator" + ], + "title": "NodeSelectorRequirement", + "type": "object" + }, + "NodeSelectorTerm": { + "description": "", + "properties": { + "matchExpressions": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/NodeSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchexpressions" + }, + "matchFields": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/NodeSelectorRequirement" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Matchfields" + } + }, + "title": "NodeSelectorTerm", + "type": "object" + }, "Operation": { "enum": [ "Exists", @@ -559,6 +799,90 @@ "title": "OutputTopicTypes", "type": "string" }, + "PodAffinity": { + "description": "", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/WeightedPodAffinityTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Preferredduringschedulingignoredduringexecution" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "anyOf": [ + { + "items": { + "$ref": "#/$defs/PodAffinityTerm" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Requiredduringschedulingignoredduringexecution" + } + }, + "title": "PodAffinity", + "type": "object" + }, + "PodAffinityTerm": { + "description": "", + "properties": { + "labelSelector": { + "anyOf": [ + { + "$ref": "#/$defs/LabelSelector" + }, + { + "type": "null" + } + ], + "default": null + }, + "namespaces": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "title": "Namespaces" + }, + "topologyKey": { + "title": "Topologykey", + "type": "string" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "topologyKey", + "weight" + ], + "title": "PodAffinityTerm", + "type": "object" + }, "PortConfig": { "description": "Base class for the port configuration of the Kafka Streams application.", "properties": { @@ -609,6 +933,26 @@ "title": "PortConfig", "type": "object" }, + "PreferredSchedulingTerm": { + "description": "", + "properties": { + "preference": { + "$ref": "#/$defs/NodeSelectorTerm" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "preference", + "weight" + ], + "title": "PreferredSchedulingTerm", + "type": "object" + }, "ProducerApp": { "additionalProperties": true, "description": "Producer component.\nThis producer holds configuration to use as values for the streams-bootstrap producer Helm chart. Note that the producer does not support error topics.", @@ -679,7 +1023,7 @@ "description": "streams-bootstrap Helm values" }, "version": { - "default": "3.1.0", + "default": "3.0.1", "description": "Helm chart version", "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(-[a-zA-Z]+(\\.[a-zA-Z]+)?)?$", "title": "Version", @@ -834,15 +1178,14 @@ "affinity": { "anyOf": [ { - "type": "object" + "$ref": "#/$defs/Affinity" }, { "type": "null" } ], "default": null, - "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.", - "title": "Affinity" + "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity." }, "backoffLimit": { "anyOf": [ @@ -1745,7 +2088,7 @@ "description": "streams-bootstrap Helm values" }, "version": { - "default": "3.1.0", + "default": "3.0.1", "description": "Helm chart version", "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(-[a-zA-Z]+(\\.[a-zA-Z]+)?)?$", "title": "Version", @@ -1938,15 +2281,14 @@ "affinity": { "anyOf": [ { - "type": "object" + "$ref": "#/$defs/Affinity" }, { "type": "null" } ], "default": null, - "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity.", - "title": "Affinity" + "description": "Map to configure pod affinities https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity." }, "autoscaling": { "anyOf": [ @@ -2384,7 +2726,7 @@ ], "description": "The operator ('Exists' or 'Equal')." }, - "toleration_seconds": { + "tolerationSeconds": { "anyOf": [ { "type": "integer" @@ -2395,7 +2737,7 @@ ], "default": null, "description": "The duration for which the toleration is valid.", - "title": "Toleration Seconds" + "title": "Tolerationseconds" }, "value": { "anyOf": [ @@ -2521,6 +2863,26 @@ "title": "TopicConfig", "type": "object" }, + "WeightedPodAffinityTerm": { + "description": "", + "properties": { + "podAffinityTerm": { + "$ref": "#/$defs/PodAffinityTerm" + }, + "weight": { + "maximum": 100, + "minimum": 1, + "title": "Weight", + "type": "integer" + } + }, + "required": [ + "podAffinityTerm", + "weight" + ], + "title": "WeightedPodAffinityTerm", + "type": "object" + }, "kpops__components__streams_bootstrap__streams__model__PersistenceConfig": { "description": "streams-bootstrap persistence configurations.\n\n:param enabled: Whether to use a persistent volume to store the state of the streams app.\n:param size: The size of the PersistentVolume to allocate to each streams pod in the StatefulSet.\n:param storage_class: Storage class to use for the persistent volume.", "properties": { diff --git a/dev/sitemap.xml.gz b/dev/sitemap.xml.gz index a6a8a5331..760e51b53 100644 Binary files a/dev/sitemap.xml.gz and b/dev/sitemap.xml.gz differ