implement :grpc probe action

This commit is contained in:
Sergey Kanzhelev
2021-11-16 19:20:49 +00:00
parent cd6ffff85d
commit b7affcced1
95 changed files with 23730 additions and 20464 deletions

View File

@@ -6538,6 +6538,23 @@
],
"type": "object"
},
"io.k8s.api.core.v1.GRPCAction": {
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"format": "int32",
"type": "integer"
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
"type": "string"
}
},
"required": [
"port"
],
"type": "object"
},
"io.k8s.api.core.v1.GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"properties": {
@@ -8979,6 +8996,10 @@
"format": "int32",
"type": "integer"
},
"gRPC": {
"$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction",
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate."
},
"httpGet": {
"$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction",
"description": "HTTPGet specifies the http request to perform."

View File

@@ -24507,6 +24507,25 @@
}
}
},
"io.k8s.api.core.v1.GRPCAction": {
"type": "object",
"required": [
"port"
],
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"type": "integer",
"format": "int32",
"default": 0
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
"type": "string",
"default": ""
}
}
},
"io.k8s.api.core.v1.GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"type": "object",
@@ -27113,6 +27132,10 @@
"type": "integer",
"format": "int32"
},
"gRPC": {
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.GRPCAction"
},
"httpGet": {
"description": "HTTPGet specifies the http request to perform.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.HTTPGetAction"

View File

@@ -9952,6 +9952,25 @@
}
}
},
"io.k8s.api.core.v1.GRPCAction": {
"type": "object",
"required": [
"port"
],
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"type": "integer",
"format": "int32",
"default": 0
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
"type": "string",
"default": ""
}
}
},
"io.k8s.api.core.v1.GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"type": "object",
@@ -11101,6 +11120,10 @@
"type": "integer",
"format": "int32"
},
"gRPC": {
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.GRPCAction"
},
"httpGet": {
"description": "HTTPGet specifies the http request to perform.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.HTTPGetAction"

View File

@@ -4355,6 +4355,25 @@
}
}
},
"io.k8s.api.core.v1.GRPCAction": {
"type": "object",
"required": [
"port"
],
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"type": "integer",
"format": "int32",
"default": 0
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
"type": "string",
"default": ""
}
}
},
"io.k8s.api.core.v1.GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"type": "object",
@@ -5409,6 +5428,10 @@
"type": "integer",
"format": "int32"
},
"gRPC": {
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.GRPCAction"
},
"httpGet": {
"description": "HTTPGet specifies the http request to perform.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.HTTPGetAction"

View File

@@ -2663,6 +2663,25 @@
}
}
},
"io.k8s.api.core.v1.GRPCAction": {
"type": "object",
"required": [
"port"
],
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
"type": "integer",
"format": "int32",
"default": 0
},
"service": {
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
"type": "string",
"default": ""
}
}
},
"io.k8s.api.core.v1.GitRepoVolumeSource": {
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
"type": "object",
@@ -3717,6 +3736,10 @@
"type": "integer",
"format": "int32"
},
"gRPC": {
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.GRPCAction"
},
"httpGet": {
"description": "HTTPGet specifies the http request to perform.",
"$ref": "#/components/schemas/io.k8s.api.core.v1.HTTPGetAction"