docudile/hack/data.json
2025-03-21 16:12:53 +01:00

1358 lines
78 KiB
JSON

{
"swagger": "2.0",
"info": {
"title": "Kubernetes",
"version": "1.32"
},
"definitions": {
"com.coreos.monitoring.v1.ServiceMonitor": {
"description": "The `ServiceMonitor` custom resource definition (CRD) defines how `Prometheus` and `PrometheusAgent` can scrape metrics from a group of services.\nAmong other things, it allows to specify:\n* The services to scrape via label selectors.\n* The container ports to scrape.\n* Authentication credentials to use.\n* Target and metric relabeling.\n\n`Prometheus` and `PrometheusAgent` objects select `ServiceMonitor` objects using label and namespace selectors.",
"type": "object",
"required": [
"spec"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
},
"spec": {
"description": "Specification of desired Service selection for target discovery by\nPrometheus.",
"type": "object",
"required": [
"endpoints",
"selector"
],
"properties": {
"attachMetadata": {
"description": "`attachMetadata` defines additional metadata which is added to the\ndiscovered targets.\n\nIt requires Prometheus >= v2.37.0.",
"type": "object",
"properties": {
"node": {
"description": "When set to true, Prometheus attaches node metadata to the discovered\ntargets.\n\nThe Prometheus service account must have the `list` and `watch`\npermissions on the `Nodes` objects.",
"type": "boolean"
}
}
},
"bodySizeLimit": {
"description": "When defined, bodySizeLimit specifies a job level limit on the size\nof uncompressed response body that will be accepted by Prometheus.\n\nIt requires Prometheus >= v2.28.0.",
"type": "string",
"pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$"
},
"endpoints": {
"description": "List of endpoints part of this ServiceMonitor.\nDefines how to scrape metrics from Kubernetes [Endpoints](https://kubernetes.io/docs/concepts/services-networking/service/#endpoints) objects.\nIn most cases, an Endpoints object is backed by a Kubernetes [Service](https://kubernetes.io/docs/concepts/services-networking/service/) object with the same name and labels.",
"type": "array",
"items": {
"description": "Endpoint defines an endpoint serving Prometheus metrics to be scraped by\nPrometheus.",
"type": "object",
"properties": {
"authorization": {
"description": "`authorization` configures the Authorization header credentials to use when\nscraping the target.\n\nCannot be set at the same time as `basicAuth`, or `oauth2`.",
"type": "object",
"properties": {
"credentials": {
"description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"type": {
"description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"",
"type": "string"
}
}
},
"basicAuth": {
"description": "`basicAuth` configures the Basic Authentication credentials to use when\nscraping the target.\n\nCannot be set at the same time as `authorization`, or `oauth2`.",
"type": "object",
"properties": {
"password": {
"description": "`password` specifies a key of a Secret containing the password for\nauthentication.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"username": {
"description": "`username` specifies a key of a Secret containing the username for\nauthentication.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"bearerTokenFile": {
"description": "File to read bearer token for scraping the target.\n\nDeprecated: use `authorization` instead.",
"type": "string"
},
"bearerTokenSecret": {
"description": "`bearerTokenSecret` specifies a key of a Secret containing the bearer\ntoken for scraping targets. The secret needs to be in the same namespace\nas the ServiceMonitor object and readable by the Prometheus Operator.\n\nDeprecated: use `authorization` instead.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"enableHttp2": {
"description": "`enableHttp2` can be used to disable HTTP2 when scraping the target.",
"type": "boolean"
},
"filterRunning": {
"description": "When true, the pods which are not running (e.g. either in Failed or\nSucceeded state) are dropped during the target discovery.\n\nIf unset, the filtering is enabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase",
"type": "boolean"
},
"followRedirects": {
"description": "`followRedirects` defines whether the scrape requests should follow HTTP\n3xx redirects.",
"type": "boolean"
},
"honorLabels": {
"description": "When true, `honorLabels` preserves the metric's labels when they collide\nwith the target's labels.",
"type": "boolean"
},
"honorTimestamps": {
"description": "`honorTimestamps` controls whether Prometheus preserves the timestamps\nwhen exposed by the target.",
"type": "boolean"
},
"interval": {
"description": "Interval at which Prometheus scrapes the metrics from the target.\n\nIf empty, Prometheus uses the global scrape interval.",
"type": "string",
"pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$"
},
"metricRelabelings": {
"description": "`metricRelabelings` configures the relabeling rules to apply to the\nsamples before ingestion.",
"type": "array",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"type": "object",
"properties": {
"action": {
"description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"",
"type": "string",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
]
},
"modulus": {
"description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.",
"type": "integer",
"format": "int64"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.",
"type": "array",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.",
"type": "string",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$"
}
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.",
"type": "string"
}
}
}
},
"oauth2": {
"description": "`oauth2` configures the OAuth2 settings to use when scraping the target.\n\nIt requires Prometheus >= 2.27.0.\n\nCannot be set at the same time as `authorization`, or `basicAuth`.",
"type": "object",
"required": [
"clientId",
"clientSecret",
"tokenUrl"
],
"properties": {
"clientId": {
"description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.",
"type": "object",
"properties": {
"configMap": {
"description": "ConfigMap containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"secret": {
"description": "Secret containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"clientSecret": {
"description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"endpointParams": {
"description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"noProxy": {
"description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.",
"type": "string"
},
"proxyConnectHeader": {
"description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.",
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"description": "SecretKeySelector selects a key of a Secret.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
},
"x-kubernetes-map-type": "atomic"
},
"proxyFromEnvironment": {
"description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.",
"type": "boolean"
},
"proxyUrl": {
"description": "`proxyURL` defines the HTTP proxy server to use.",
"type": "string",
"pattern": "^http(s)?://.+$"
},
"scopes": {
"description": "`scopes` defines the OAuth2 scopes used for the token request.",
"type": "array",
"items": {
"type": "string"
}
},
"tlsConfig": {
"description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.",
"type": "object",
"properties": {
"ca": {
"description": "Certificate authority used when verifying server certificates.",
"type": "object",
"properties": {
"configMap": {
"description": "ConfigMap containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"secret": {
"description": "Secret containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"cert": {
"description": "Client certificate to present when doing client-authentication.",
"type": "object",
"properties": {
"configMap": {
"description": "ConfigMap containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"secret": {
"description": "Secret containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"insecureSkipVerify": {
"description": "Disable target certificate validation.",
"type": "boolean"
},
"keySecret": {
"description": "Secret containing the client key file for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"maxVersion": {
"description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0.",
"type": "string",
"enum": [
"TLS10",
"TLS11",
"TLS12",
"TLS13"
]
},
"minVersion": {
"description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0.",
"type": "string",
"enum": [
"TLS10",
"TLS11",
"TLS12",
"TLS13"
]
},
"serverName": {
"description": "Used to verify the hostname for the targets.",
"type": "string"
}
}
},
"tokenUrl": {
"description": "`tokenURL` configures the URL to fetch the token from.",
"type": "string",
"minLength": 1
}
}
},
"params": {
"description": "params define optional HTTP URL parameters.",
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"path": {
"description": "HTTP path from which to scrape for metrics.\n\nIf empty, Prometheus uses the default value (e.g. `/metrics`).",
"type": "string"
},
"port": {
"description": "Name of the Service port which this endpoint refers to.\n\nIt takes precedence over `targetPort`.",
"type": "string"
},
"proxyUrl": {
"description": "`proxyURL` configures the HTTP Proxy URL (e.g.\n\"http://proxyserver:2195\") to go through when scraping the target.",
"type": "string"
},
"relabelings": {
"description": "`relabelings` configures the relabeling rules to apply the target's\nmetadata labels.\n\nThe Operator automatically adds relabelings for a few standard Kubernetes fields.\n\nThe original scrape job's name is available via the `__tmp_prometheus_job_name` label.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"type": "array",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"type": "object",
"properties": {
"action": {
"description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"",
"type": "string",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
]
},
"modulus": {
"description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.",
"type": "integer",
"format": "int64"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.",
"type": "array",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.",
"type": "string",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$"
}
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.",
"type": "string"
}
}
}
},
"scheme": {
"description": "HTTP scheme to use for scraping.\n\n`http` and `https` are the expected values unless you rewrite the\n`__scheme__` label via relabeling.\n\nIf empty, Prometheus uses the default value `http`.",
"type": "string",
"enum": [
"http",
"https"
]
},
"scrapeTimeout": {
"description": "Timeout after which Prometheus considers the scrape to be failed.\n\nIf empty, Prometheus uses the global scrape timeout unless it is less\nthan the target's scrape interval value in which the latter is used.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.",
"type": "string",
"pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$"
},
"targetPort": {
"description": "Name or number of the target port of the `Pod` object behind the\nService. The port must be specified with the container's port property.",
"x-kubernetes-int-or-string": true
},
"tlsConfig": {
"description": "TLS configuration to use when scraping the target.",
"type": "object",
"properties": {
"ca": {
"description": "Certificate authority used when verifying server certificates.",
"type": "object",
"properties": {
"configMap": {
"description": "ConfigMap containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"secret": {
"description": "Secret containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"caFile": {
"description": "Path to the CA cert in the Prometheus container to use for the targets.",
"type": "string"
},
"cert": {
"description": "Client certificate to present when doing client-authentication.",
"type": "object",
"properties": {
"configMap": {
"description": "ConfigMap containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key to select.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the ConfigMap or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"secret": {
"description": "Secret containing data to use for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
}
}
},
"certFile": {
"description": "Path to the client cert file in the Prometheus container for the targets.",
"type": "string"
},
"insecureSkipVerify": {
"description": "Disable target certificate validation.",
"type": "boolean"
},
"keyFile": {
"description": "Path to the client key file in the Prometheus container for the targets.",
"type": "string"
},
"keySecret": {
"description": "Secret containing the client key file for the targets.",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
"type": "string"
},
"name": {
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
"description": "Specify whether the Secret or its key must be defined",
"type": "boolean"
}
},
"x-kubernetes-map-type": "atomic"
},
"maxVersion": {
"description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0.",
"type": "string",
"enum": [
"TLS10",
"TLS11",
"TLS12",
"TLS13"
]
},
"minVersion": {
"description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0.",
"type": "string",
"enum": [
"TLS10",
"TLS11",
"TLS12",
"TLS13"
]
},
"serverName": {
"description": "Used to verify the hostname for the targets.",
"type": "string"
}
}
},
"trackTimestampsStaleness": {
"description": "`trackTimestampsStaleness` defines whether Prometheus tracks staleness of\nthe metrics that have an explicit timestamp present in scraped data.\nHas no effect if `honorTimestamps` is false.\n\nIt requires Prometheus >= v2.48.0.",
"type": "boolean"
}
}
}
},
"fallbackScrapeProtocol": {
"description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\n\nIt requires Prometheus >= v3.0.0.",
"type": "string",
"enum": [
"PrometheusProto",
"OpenMetricsText0.0.1",
"OpenMetricsText1.0.0",
"PrometheusText0.0.4",
"PrometheusText1.0.0"
]
},
"jobLabel": {
"description": "`jobLabel` selects the label from the associated Kubernetes `Service`\nobject which will be used as the `job` label for all metrics.\n\nFor example if `jobLabel` is set to `foo` and the Kubernetes `Service`\nobject is labeled with `foo: bar`, then Prometheus adds the `job=\"bar\"`\nlabel to all ingested metrics.\n\nIf the value of this field is empty or if the label doesn't exist for\nthe given Service, the `job` label of the metrics defaults to the name\nof the associated Kubernetes `Service`.",
"type": "string"
},
"keepDroppedTargets": {
"description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.",
"type": "integer",
"format": "int64"
},
"labelLimit": {
"description": "Per-scrape limit on number of labels that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.",
"type": "integer",
"format": "int64"
},
"labelNameLengthLimit": {
"description": "Per-scrape limit on length of labels name that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.",
"type": "integer",
"format": "int64"
},
"labelValueLengthLimit": {
"description": "Per-scrape limit on length of labels value that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.",
"type": "integer",
"format": "int64"
},
"namespaceSelector": {
"description": "`namespaceSelector` defines in which namespace(s) Prometheus should discover the services.\nBy default, the services are discovered in the same namespace as the `ServiceMonitor` object but it is possible to select pods across different/all namespaces.",
"type": "object",
"properties": {
"any": {
"description": "Boolean describing whether all namespaces are selected in contrast to a\nlist restricting them.",
"type": "boolean"
},
"matchNames": {
"description": "List of namespace names to select from.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"nativeHistogramBucketLimit": {
"description": "If there are more than this many buckets in a native histogram,\nbuckets will be merged to stay within the limit.\nIt requires Prometheus >= v2.45.0.",
"type": "integer",
"format": "int64"
},
"nativeHistogramMinBucketFactor": {
"description": "If the growth factor of one bucket to the next is smaller than this,\nbuckets will be merged to increase the factor sufficiently.\nIt requires Prometheus >= v2.50.0.",
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
"x-kubernetes-int-or-string": true
},
"podTargetLabels": {
"description": "`podTargetLabels` defines the labels which are transferred from the\nassociated Kubernetes `Pod` object onto the ingested metrics.",
"type": "array",
"items": {
"type": "string"
}
},
"sampleLimit": {
"description": "`sampleLimit` defines a per-scrape limit on the number of scraped samples\nthat will be accepted.",
"type": "integer",
"format": "int64"
},
"scrapeClass": {
"description": "The scrape class to apply.",
"type": "string",
"minLength": 1
},
"scrapeClassicHistograms": {
"description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\nIt requires Prometheus >= v2.45.0.",
"type": "boolean"
},
"scrapeProtocols": {
"description": "`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.",
"type": "array",
"items": {
"description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`",
"type": "string",
"enum": [
"PrometheusProto",
"OpenMetricsText0.0.1",
"OpenMetricsText1.0.0",
"PrometheusText0.0.4",
"PrometheusText1.0.0"
]
},
"x-kubernetes-list-type": "set"
},
"selector": {
"description": "Label selector to select the Kubernetes `Endpoints` objects to scrape metrics from.",
"type": "object",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"type": "array",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"type": "object",
"required": [
"key",
"operator"
],
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"type": "array",
"items": {
"type": "string"
},
"x-kubernetes-list-type": "atomic"
}
}
},
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"x-kubernetes-map-type": "atomic"
},
"selectorMechanism": {
"description": "Mechanism used to select the endpoints to scrape.\nBy default, the selection process relies on relabel configurations to filter the discovered targets.\nAlternatively, you can opt in for role selectors, which may offer better efficiency in large clusters.\nWhich strategy is best for your use case needs to be carefully evaluated.\n\nIt requires Prometheus >= v2.17.0.",
"type": "string",
"enum": [
"RelabelConfig",
"RoleSelector"
]
},
"targetLabels": {
"description": "`targetLabels` defines the labels which are transferred from the\nassociated Kubernetes `Service` object onto the ingested metrics.",
"type": "array",
"items": {
"type": "string"
}
},
"targetLimit": {
"description": "`targetLimit` defines a limit on the number of scraped targets that will\nbe accepted.",
"type": "integer",
"format": "int64"
}
}
}
},
"x-kubernetes-group-version-kind": [
{
"group": "monitoring.coreos.com",
"kind": "ServiceMonitor",
"version": "v1"
}
],
"x-kubernetes-selectable-fields": []
}
},
"parameters": {
"allowWatchBookmarks-HC2hJt-J": {
"uniqueItems": true,
"type": "boolean",
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"name": "allowWatchBookmarks",
"in": "query"
},
"body-2Y1dVQaQ": {
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions"
}
},
"body-78PwaGsr": {
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch"
}
},
"command-Py3eQybp": {
"uniqueItems": true,
"type": "string",
"description": "Command is the remote command to execute. argv array. Not executed within a shell.",
"name": "command",
"in": "query"
},
"container-1GeXxFDC": {
"uniqueItems": true,
"type": "string",
"description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
"name": "container",
"in": "query"
},
"container-_Q-EJ3nR": {
"uniqueItems": true,
"type": "string",
"description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
"name": "container",
"in": "query"
},
"container-i5dOmRiM": {
"uniqueItems": true,
"type": "string",
"description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
"name": "container",
"in": "query"
},
"continue-QfD61s0i": {
"uniqueItems": true,
"type": "string",
"description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"name": "continue",
"in": "query"
},
"fieldManager-7c6nTn1T": {
"uniqueItems": true,
"type": "string",
"description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"name": "fieldManager",
"in": "query"
},
"fieldManager-Qy4HdaTW": {
"uniqueItems": true,
"type": "string",
"description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"name": "fieldManager",
"in": "query"
},
"fieldSelector-xIcQKXFG": {
"uniqueItems": true,
"type": "string",
"description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"name": "fieldSelector",
"in": "query"
},
"follow-9OIXh_2R": {
"uniqueItems": true,
"type": "boolean",
"description": "Follow the log stream of the pod. Defaults to false.",
"name": "follow",
"in": "query"
},
"force-tOGGb0Yi": {
"uniqueItems": true,
"type": "boolean",
"description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"name": "force",
"in": "query"
},
"gracePeriodSeconds--K5HaBOS": {
"uniqueItems": true,
"type": "integer",
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"name": "gracePeriodSeconds",
"in": "query"
},
"ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj": {
"uniqueItems": true,
"type": "boolean",
"description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"name": "ignoreStoreReadErrorWithClusterBreakingPotential",
"in": "query"
},
"insecureSkipTLSVerifyBackend-gM00jVbe": {
"uniqueItems": true,
"type": "boolean",
"description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
"name": "insecureSkipTLSVerifyBackend",
"in": "query"
},
"labelSelector-5Zw57w4C": {
"uniqueItems": true,
"type": "string",
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"name": "labelSelector",
"in": "query"
},
"limit-1NfNmdNH": {
"uniqueItems": true,
"type": "integer",
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"name": "limit",
"in": "query"
},
"limitBytes-zwd1RXuc": {
"uniqueItems": true,
"type": "integer",
"description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
"name": "limitBytes",
"in": "query"
},
"namespace-vgWSWtn3": {
"uniqueItems": true,
"type": "string",
"description": "object name and auth scope, such as for teams and projects",
"name": "namespace",
"in": "path",
"required": true
},
"orphanDependents-uRB25kX5": {
"uniqueItems": true,
"type": "boolean",
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"name": "orphanDependents",
"in": "query"
},
"path-QCf0eosM": {
"uniqueItems": true,
"type": "string",
"description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
"name": "path",
"in": "query"
},
"path-oPbzgLUj": {
"uniqueItems": true,
"type": "string",
"description": "Path is the URL path to use for the current proxy request to pod.",
"name": "path",
"in": "query"
},
"path-rFDtV0x9": {
"uniqueItems": true,
"type": "string",
"description": "Path is the URL path to use for the current proxy request to node.",
"name": "path",
"in": "query"
},
"path-z6Ciiujn": {
"uniqueItems": true,
"type": "string",
"description": "path to the resource",
"name": "path",
"in": "path",
"required": true
},
"ports-91KROJmm": {
"uniqueItems": true,
"type": "integer",
"description": "List of ports to forward Required when using WebSockets",
"name": "ports",
"in": "query"
},
"pretty-tJGM1-ng": {
"uniqueItems": true,
"type": "string",
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"name": "pretty",
"in": "query"
},
"previous-1jxDPu3y": {
"uniqueItems": true,
"type": "boolean",
"description": "Return previous terminated container logs. Defaults to false.",
"name": "previous",
"in": "query"
},
"propagationPolicy-6jk3prlO": {
"uniqueItems": true,
"type": "string",
"description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"name": "propagationPolicy",
"in": "query"
},
"resourceVersion-5WAnf1kx": {
"uniqueItems": true,
"type": "string",
"description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"name": "resourceVersion",
"in": "query"
},
"resourceVersionMatch-t8XhRHeC": {
"uniqueItems": true,
"type": "string",
"description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"name": "resourceVersionMatch",
"in": "query"
},
"sendInitialEvents-rLXlEK_k": {
"uniqueItems": true,
"type": "boolean",
"description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"name": "sendInitialEvents",
"in": "query"
},
"sinceSeconds-vE2NLdnP": {
"uniqueItems": true,
"type": "integer",
"description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
"name": "sinceSeconds",
"in": "query"
},
"stderr-26jJhFUR": {
"uniqueItems": true,
"type": "boolean",
"description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
"name": "stderr",
"in": "query"
},
"stderr-W_1TNlWc": {
"uniqueItems": true,
"type": "boolean",
"description": "Redirect the standard error stream of the pod for this call.",
"name": "stderr",
"in": "query"
},
"stdin-PSzNhyUC": {
"uniqueItems": true,
"type": "boolean",
"description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
"name": "stdin",
"in": "query"
},
"stdin-sEFnN3IS": {
"uniqueItems": true,
"type": "boolean",
"description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
"name": "stdin",
"in": "query"
},
"stdout--EZLRwV1": {
"uniqueItems": true,
"type": "boolean",
"description": "Redirect the standard output stream of the pod for this call.",
"name": "stdout",
"in": "query"
},
"stdout-005YMKE6": {
"uniqueItems": true,
"type": "boolean",
"description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
"name": "stdout",
"in": "query"
},
"stream-l-48cgXv": {
"uniqueItems": true,
"type": "string",
"description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
"name": "stream",
"in": "query"
},
"tailLines-9xQLWHMV": {
"uniqueItems": true,
"type": "integer",
"description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
"name": "tailLines",
"in": "query"
},
"timeoutSeconds-yvYezaOC": {
"uniqueItems": true,
"type": "integer",
"description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
"name": "timeoutSeconds",
"in": "query"
},
"timestamps-c17fW1w_": {
"uniqueItems": true,
"type": "boolean",
"description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
"name": "timestamps",
"in": "query"
},
"tty-g7MlET_l": {
"uniqueItems": true,
"type": "boolean",
"description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
"name": "tty",
"in": "query"
},
"tty-s0flW37O": {
"uniqueItems": true,
"type": "boolean",
"description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
"name": "tty",
"in": "query"
},
"watch-XNNPZGbK": {
"uniqueItems": true,
"type": "boolean",
"description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"name": "watch",
"in": "query"
}
},
"securityDefinitions": {
"BearerToken": {
"description": "Bearer Token authentication",
"type": "apiKey",
"name": "authorization",
"in": "header"
}
},
"security": [
{
"BearerToken": []
}
]
}