Workspace [kubeflow.org/v1beta1]
- 描述
- Workspace is the Schema for the Workspaces API
- 类型
object
规格
.spec
- 描述
- WorkspaceSpec defines the desired state of Workspace
- 类型
object- 必填
kindpodTemplate
.spec.podTemplate
- 描述
- options for "podTemplate"-type WorkspaceKinds
- 类型
object- 必填
optionsvolumes
.spec.podTemplate.options
- 描述
- the selected podTemplate options
- 类型
object- 必填
imageConfigpodConfig
.spec.podTemplate.podMetadata
- 描述
- metadata to be applied to the Pod resource
- 类型
object
.spec.podTemplate.podMetadata.annotations
- 描述
- annotations to be applied to the Pod resource
- 类型
object
.spec.podTemplate.podMetadata.labels
- 描述
- labels to be applied to the Pod resource
- 类型
object
.spec.podTemplate.volumes
- 描述
- volume configs
- 类型
object
.spec.podTemplate.volumes.data
- 描述
- additional PVCs to mount - these PVC must already exist in the Namespace - the same PVC can be mounted multiple times with different `mountPaths` - if `readOnly` is false, the PVC must be RWX (ReadWriteMany, ReadWriteOnce) - if `readOnly` is true, the PVC must be ReadOnlyMany
- 类型
array
.spec.podTemplate.volumes.data[]
- 类型
object- 必填
mountPathpvcName
.status
- 描述
- WorkspaceStatus defines the observed state of Workspace
- 类型
object- 必填
activitypauseTimependingRestartpodTemplateOptionspodTemplatePodstatestateMessage
.status.activity
- 描述
- activity information for the Workspace, used to determine when to cull
- 类型
object- 必填
lastActivitylastUpdate
.status.podTemplateOptions
- 描述
- information about the current podTemplate options (only set for WorkspaceKind of podTemplate kind)
- 类型
object- 必填
imageConfigpodConfig
.status.podTemplateOptions.imageConfig
- 描述
- info about the current imageConfig option
- 类型
object
.status.podTemplateOptions.imageConfig.redirectChain
- 描述
- the chain from the current option to the desired option
- 类型
array
.status.podTemplateOptions.imageConfig.redirectChain[]
- 类型
object- 必填
sourcetarget
.status.podTemplateOptions.podConfig
- 描述
- info about the current podConfig option
- 类型
object
.status.podTemplateOptions.podConfig.redirectChain
- 描述
- the chain from the current option to the desired option
- 类型
array
.status.podTemplateOptions.podConfig.redirectChain[]
- 类型
object- 必填
sourcetarget
.status.podTemplatePod
- 描述
- information about the Pod managed by this Workspace (only set for WorkspaceKind of podTemplate kind)
- 类型
object- 必填
name
.status.podTemplatePod.containers
- 描述
- information about the Pod's containers
- 类型
array
.status.podTemplatePod.containers[]
- 类型
object- 必填
name
.status.podTemplatePod.initContainers
- 描述
- information about the Pod's initContainers
- 类型
array
.status.podTemplatePod.initContainers[]
- 类型
object- 必填
name
API 端点
可用的 API 端点如下:
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspacesDELETE: delete collection of WorkspaceGET: list objects of kind WorkspacePOST: create a new Workspace
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspaces/{name}DELETE: delete the specified WorkspaceGET: read the specified WorkspacePATCH: partially update the specified WorkspacePUT: replace the specified Workspace
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspaces/{name}/statusGET: read status of the specified WorkspacePATCH: partially update status of the specified WorkspacePUT: replace status of the specified Workspace
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspaces
- HTTP 方法
DELETE- 描述
- delete collection of Workspace
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind Workspace
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new Workspace
- 查询参数
- 请求体参数
- HTTP 响应
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspaces/{name}
- HTTP 方法
DELETE- 描述
- delete the specified Workspace
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified Workspace
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified Workspace
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified Workspace
- 查询参数
- 请求体参数
- HTTP 响应
/apis/kubeflow.org/v1beta1/namespaces/{namespace}/workspaces/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified Workspace
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified Workspace
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified Workspace
- 查询参数
- 请求体参数
- HTTP 响应