ModulePlugin [moduleplugins.cluster.alauda.io/v1alpha1]
- 描述
- ModuleConfig is the Schema for the moduleconfigs API
- 类型
object
规格
.spec
- 描述
- ModuleConfigSpec defines the desired state of ModuleConfig
- 类型
object- 必填
deleteabledescriptionlogoname
.spec.affinity
- 描述
- Affinity is the affinity of the plugin.
- 类型
object
.spec.affinity.clusterAffinity
- 描述
- ClusterAffinity defines the cluster affinity
- 类型
object
.spec.affinity.clusterAffinity.matchExpressions
- 描述
- MatchExpressions is the list of match expressions
- 类型
array
.spec.affinity.clusterAffinity.matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.clusterAffinity.matchExpressions[].values
- 描述
- 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.
- 类型
array
.spec.affinity.clusterAffinity.matchExpressions[].values[]
- 类型
string
.spec.affinity.clusterAffinity.matchLabels
- 描述
- MatchLabels is the cluster selector
- 类型
object
.spec.affinity.clusterAntiAffinity
- 描述
- ClusterAntiAffinity defines the cluster anti-affinity
- 类型
object
.spec.affinity.clusterAntiAffinity.matchExpressions
- 描述
- MatchExpressions is the list of match expressions
- 类型
array
.spec.affinity.clusterAntiAffinity.matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.affinity.clusterAntiAffinity.matchExpressions[].values
- 描述
- 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.
- 类型
array
.spec.affinity.clusterAntiAffinity.matchExpressions[].values[]
- 类型
string
.spec.affinity.clusterAntiAffinity.matchLabels
- 描述
- MatchLabels is the cluster selector
- 类型
object
.spec.affinity.pluginAntiAffinity
- 描述
- PluginAntiAffinity defines the plugin anti-affinity
- 类型
array
.spec.affinity.pluginAntiAffinity[]
- 类型
string
.spec.appReleases
- 描述
- AppReleases is the app releases of the module.
- 类型
array
.spec.appReleases[]
- 描述
- AppRelease is the release of an application
- 类型
object- 必填
chartVersionsname
.spec.appReleases[].chartVersions
- 描述
- ChartVersions stands for the app's chart versions
- 类型
array
.spec.appReleases[].chartVersions[]
- 描述
- ChartVersion is the version of the chart
- 类型
object- 必填
namereleaseNameversion
.spec.config
- 描述
- Config is the config of the module.
- 类型
object
.spec.crossClusterDependencies
- 描述
- CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated
- 类型
array
.spec.crossClusterDependencies[]
- 类型
string
.spec.dependencies
- 描述
- Dependencies is the dependencies of the module.
- 类型
array
.spec.dependencies[]
- 描述
- ModuleDependency defines the module dependency
- 类型
object- 必填
moduleName
.spec.dependencies[].versionsMatch
- 描述
- VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.
- 类型
array
.spec.dependencies[].versionsMatch[]
- 类型
string
.spec.deployDescriptors
- 描述
- DeployDescriptors is the descriptors of the module for deployment.
- 类型
array
.spec.deployDescriptors[]
- 描述
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- 类型
object- 必填
pathx-descriptors
.spec.deployDescriptors[].x-descriptors
- 描述
- X-Descriptors is the list of descriptors
- 类型
array
.spec.deployDescriptors[].x-descriptors[]
- 类型
string
.spec.description
- 描述
- Description is the description of the module.
- 类型
object
.spec.editDescriptors
- 描述
- EditDescriptors is the descriptors of the module for edit.
- 类型
array
.spec.editDescriptors[]
- 描述
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- 类型
object- 必填
pathx-descriptors
.spec.editDescriptors[].x-descriptors
- 描述
- X-Descriptors is the list of descriptors
- 类型
array
.spec.editDescriptors[].x-descriptors[]
- 类型
string
.spec.pluginDependencies
- 描述
- PluginDependencies define the plugins dependent relationship
- 类型
object
.spec.pluginDependencies.crossCluster
- 类型
object
.spec.pluginDependencies.crossCluster.oneOf
- 类型
array
.spec.pluginDependencies.crossCluster.oneOf[]
- 类型
object- 必填
clusterNamepluginName
.spec.resourcesBlockRemove
- 描述
- ResourcesBlockRemove stands for the resources reference with can block remove this plugin, all of theses resources must be deleted before you can remove this plugin.
- 类型
array
.spec.resourcesBlockRemove[]
- 描述
- ResourceReference defines the resource reference
- 类型
object
.spec.targetClusterVersions
- 描述
- TargetClusterVersions is the target clusters of the module.
- 类型
array
.spec.targetClusterVersions[]
- 类型
string
.spec.uiContext
- 描述
- UIContext is the additional attributes for module config.
- 类型
object
.spec.uiContext.sizeSettings
- 描述
- SizeSettings defines a list of size config
- 类型
object
.spec.uiContext.sizeSettings.quotaTip
- 描述
- QuotaTip is quota tip
- 类型
object
.spec.uiContext.sizeSettings.sizes
- 描述
- Sizes defines a list of size config
- 类型
array
.spec.uiContext.sizeSettings.sizes[]
- 描述
- SizeConfig defines a list of components config
- 类型
object- 必填
componentsdescriptionnamesize
.spec.uiContext.sizeSettings.sizes[].components
- 描述
- Components defines a list of component config
- 类型
object
.spec.uiContext.sizeSettings.sizes[].description
- 描述
- Description defines description for this size config
- 类型
object
.spec.uiContext.sizeSettings.sizes[].name
- 描述
- Name defines name for this size config
- 类型
object
.spec.upgradeBefore
- 描述
- UpgradeBefore stands for need upgrade before these mouldes
- 类型
array
.spec.upgradeBefore[]
- 描述
- ModuleRef defines the reference for the module
- 类型
object- 必填
moduleName
.spec.upgradeDescriptors
- 描述
- UpgradeDescriptors is the descriptors of the module for upgrade.
- 类型
array
.spec.upgradeDescriptors[]
- 描述
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- 类型
object- 必填
pathx-descriptors
.spec.upgradeDescriptors[].x-descriptors
- 描述
- X-Descriptors is the list of descriptors
- 类型
array
.spec.upgradeDescriptors[].x-descriptors[]
- 类型
string
.spec.valuesTemplates
- 描述
- ValuesTemplates is the values templates of the module.
- 类型
object
.status
- 描述
- ModulePluginStatus defines the observed state of ModulePlugin
- 类型
object
.status.conditions
- 描述
- conditions is the conditions on this plugin
- 类型
array
.status.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // other fields }
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.status.installed
- 描述
- installed are the installed instances of this plugin
- 类型
array
.status.installed[]
- 描述
- InstalledPlugin defines the installed plugin's info
- 类型
object- 必填
clusternamephaseversion
.status.moduleConfigs
- 描述
- moduleConfigs is the module config versions of the ModulePlugin
- 类型
array
.status.moduleConfigs[]
- 描述
- ModuleConfigStatus defines the module config of the plugin
- 类型
object- 必填
namereadyForDeploytargetClusterVersionsversion
.status.moduleConfigs[].affinity
- 描述
- Affinity is the affinity of the plugin
- 类型
object
.status.moduleConfigs[].affinity.clusterAffinity
- 描述
- ClusterAffinity defines the cluster affinity
- 类型
object
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions
- 描述
- MatchExpressions is the list of match expressions
- 类型
array
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values[]
- 类型
string
.status.moduleConfigs[].affinity.clusterAffinity.matchLabels
- 描述
- MatchLabels is the cluster selector
- 类型
object
.status.moduleConfigs[].affinity.clusterAntiAffinity
- 描述
- ClusterAntiAffinity defines the cluster anti-affinity
- 类型
object
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions
- 描述
- MatchExpressions is the list of match expressions
- 类型
array
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[]
- 描述
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values
- 描述
- 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.
- 类型
array
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values[]
- 类型
string
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchLabels
- 描述
- MatchLabels is the cluster selector
- 类型
object
.status.moduleConfigs[].affinity.pluginAntiAffinity
- 描述
- PluginAntiAffinity defines the plugin anti-affinity
- 类型
array
.status.moduleConfigs[].affinity.pluginAntiAffinity[]
- 类型
string
.status.moduleConfigs[].targetClusterVersions
- 描述
- TargetClusterVersions is the target cluster versions of the module config
- 类型
array
.status.moduleConfigs[].targetClusterVersions[]
- 类型
string
.status.targetClusterVersions
- 描述
- targetClusterVersions is the target cluster versions of the ModuleConfig
- 类型
object
API 端点
可用的 API 端点如下:
/apis/cluster.alauda.io/v1alpha1/modulepluginsDELETE: delete collection of ModulePluginGET: list objects of kind ModulePluginPOST: create a new ModulePlugin
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}DELETE: delete the specified ModulePluginGET: read the specified ModulePluginPATCH: partially update the specified ModulePluginPUT: replace the specified ModulePlugin
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/statusGET: read status of the specified ModulePluginPATCH: partially update status of the specified ModulePluginPUT: replace status of the specified ModulePlugin
/apis/cluster.alauda.io/v1alpha1/moduleplugins
- HTTP 方法
DELETE- 描述
- delete collection of ModulePlugin
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ModulePlugin
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ModulePlugin
- 查询参数
- 请求体参数
- HTTP 响应
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ModulePlugin
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ModulePlugin
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ModulePlugin
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ModulePlugin
- 查询参数
- 请求体参数
- HTTP 响应
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ModulePlugin
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ModulePlugin
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ModulePlugin
- 查询参数
- 请求体参数
- HTTP 响应