ModuleConfig [moduleconfigs.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
- 描述
- ModuleConfigStatus defines the observed state of ModuleConfig
- 类型
object
.status.targetClusterVersions
- 描述
- TargetClusterVersions is the target clusters of the module.
- 类型
array
.status.targetClusterVersions[]
- 类型
string
API 端点
可用的 API 端点如下:
/apis/cluster.alauda.io/v1alpha1/moduleconfigsDELETE: delete collection of ModuleConfigGET: list objects of kind ModuleConfigPOST: create a new ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}DELETE: delete the specified ModuleConfigGET: read the specified ModuleConfigPATCH: partially update the specified ModuleConfigPUT: replace the specified ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}/statusGET: read status of the specified ModuleConfigPATCH: partially update status of the specified ModuleConfigPUT: replace status of the specified ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs
- HTTP 方法
DELETE- 描述
- delete collection of ModuleConfig
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ModuleConfig
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ModuleConfig
- 查询参数
- 请求体参数
- HTTP 响应
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ModuleConfig
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ModuleConfig
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ModuleConfig
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ModuleConfig
- 查询参数
- 请求体参数
- HTTP 响应
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ModuleConfig
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ModuleConfig
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ModuleConfig
- 查询参数
- 请求体参数
- HTTP 响应