ModulePlugin [moduleplugins.cluster.alauda.io/v1alpha1]
- Description
- ModuleConfig is the Schema for the moduleconfigs API
- Type
object
Specification
.spec
- Description
- ModuleConfigSpec defines the desired state of ModuleConfig
- Type
object- Required
deleteabledescriptionlogoname
.spec.affinity
- Description
- Affinity is the affinity of the plugin.
- Type
object
.spec.affinity.clusterAffinity
- Description
- ClusterAffinity defines the cluster affinity
- Type
object
.spec.affinity.clusterAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.spec.affinity.clusterAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.affinity.clusterAffinity.matchExpressions[].values
- Description
- 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.
- Type
array
.spec.affinity.clusterAffinity.matchExpressions[].values[]
- Type
string
.spec.affinity.clusterAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.spec.affinity.clusterAntiAffinity
- Description
- ClusterAntiAffinity defines the cluster anti-affinity
- Type
object
.spec.affinity.clusterAntiAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.spec.affinity.clusterAntiAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.affinity.clusterAntiAffinity.matchExpressions[].values
- Description
- 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.
- Type
array
.spec.affinity.clusterAntiAffinity.matchExpressions[].values[]
- Type
string
.spec.affinity.clusterAntiAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.spec.affinity.pluginAntiAffinity
- Description
- PluginAntiAffinity defines the plugin anti-affinity
- Type
array
.spec.affinity.pluginAntiAffinity[]
- Type
string
.spec.appReleases
- Description
- AppReleases is the app releases of the module.
- Type
array
.spec.appReleases[]
- Description
- AppRelease is the release of an application
- Type
object- Required
chartVersionsname
.spec.appReleases[].chartVersions
- Description
- ChartVersions stands for the app's chart versions
- Type
array
.spec.appReleases[].chartVersions[]
- Description
- ChartVersion is the version of the chart
- Type
object- Required
namereleaseNameversion
.spec.config
- Description
- Config is the config of the module.
- Type
object
.spec.crossClusterDependencies
- Description
- CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated
- Type
array
.spec.crossClusterDependencies[]
- Type
string
.spec.dependencies
- Description
- Dependencies is the dependencies of the module.
- Type
array
.spec.dependencies[]
- Description
- ModuleDependency defines the module dependency
- Type
object- Required
moduleName
.spec.dependencies[].versionsMatch
- Description
- VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.
- Type
array
.spec.dependencies[].versionsMatch[]
- Type
string
.spec.deployDescriptors
- Description
- DeployDescriptors is the descriptors of the module for deployment.
- Type
array
.spec.deployDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.deployDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.deployDescriptors[].x-descriptors[]
- Type
string
.spec.description
- Description
- Description is the description of the module.
- Type
object
.spec.editDescriptors
- Description
- EditDescriptors is the descriptors of the module for edit.
- Type
array
.spec.editDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.editDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.editDescriptors[].x-descriptors[]
- Type
string
.spec.pluginDependencies
- Description
- PluginDependencies define the plugins dependent relationship
- Type
object
.spec.pluginDependencies.crossCluster
- Type
object
.spec.pluginDependencies.crossCluster.oneOf
- Type
array
.spec.pluginDependencies.crossCluster.oneOf[]
- Type
object- Required
clusterNamepluginName
.spec.resourcesBlockRemove
- Description
- 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.
- Type
array
.spec.resourcesBlockRemove[]
- Description
- ResourceReference defines the resource reference
- Type
object
.spec.targetClusterVersions
- Description
- TargetClusterVersions is the target clusters of the module.
- Type
array
.spec.targetClusterVersions[]
- Type
string
.spec.uiContext
- Description
- UIContext is the additional attributes for module config.
- Type
object
.spec.uiContext.sizeSettings
- Description
- SizeSettings defines a list of size config
- Type
object
.spec.uiContext.sizeSettings.quotaTip
- Description
- QuotaTip is quota tip
- Type
object
.spec.uiContext.sizeSettings.sizes
- Description
- Sizes defines a list of size config
- Type
array
.spec.uiContext.sizeSettings.sizes[]
- Description
- SizeConfig defines a list of components config
- Type
object- Required
componentsdescriptionnamesize
.spec.uiContext.sizeSettings.sizes[].components
- Description
- Components defines a list of component config
- Type
object
.spec.uiContext.sizeSettings.sizes[].description
- Description
- Description defines description for this size config
- Type
object
.spec.uiContext.sizeSettings.sizes[].name
- Description
- Name defines name for this size config
- Type
object
.spec.upgradeBefore
- Description
- UpgradeBefore stands for need upgrade before these mouldes
- Type
array
.spec.upgradeBefore[]
- Description
- ModuleRef defines the reference for the module
- Type
object- Required
moduleName
.spec.upgradeDescriptors
- Description
- UpgradeDescriptors is the descriptors of the module for upgrade.
- Type
array
.spec.upgradeDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.upgradeDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.upgradeDescriptors[].x-descriptors[]
- Type
string
.spec.valuesTemplates
- Description
- ValuesTemplates is the values templates of the module.
- Type
object
.status
- Description
- ModulePluginStatus defines the observed state of ModulePlugin
- Type
object
.status.conditions
- Description
- conditions is the conditions on this plugin
- Type
array
.status.conditions[]
- Description
- 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 }
- Type
object- Required
lastTransitionTimemessagereasonstatustype
.status.installed
- Description
- installed are the installed instances of this plugin
- Type
array
.status.installed[]
- Description
- InstalledPlugin defines the installed plugin's info
- Type
object- Required
clusternamephaseversion
.status.moduleConfigs
- Description
- moduleConfigs is the module config versions of the ModulePlugin
- Type
array
.status.moduleConfigs[]
- Description
- ModuleConfigStatus defines the module config of the plugin
- Type
object- Required
namereadyForDeploytargetClusterVersionsversion
.status.moduleConfigs[].affinity
- Description
- Affinity is the affinity of the plugin
- Type
object
.status.moduleConfigs[].affinity.clusterAffinity
- Description
- ClusterAffinity defines the cluster affinity
- Type
object
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values
- Description
- 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.
- Type
array
.status.moduleConfigs[].affinity.clusterAffinity.matchExpressions[].values[]
- Type
string
.status.moduleConfigs[].affinity.clusterAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.status.moduleConfigs[].affinity.clusterAntiAffinity
- Description
- ClusterAntiAffinity defines the cluster anti-affinity
- Type
object
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values
- Description
- 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.
- Type
array
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchExpressions[].values[]
- Type
string
.status.moduleConfigs[].affinity.clusterAntiAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.status.moduleConfigs[].affinity.pluginAntiAffinity
- Description
- PluginAntiAffinity defines the plugin anti-affinity
- Type
array
.status.moduleConfigs[].affinity.pluginAntiAffinity[]
- Type
string
.status.moduleConfigs[].targetClusterVersions
- Description
- TargetClusterVersions is the target cluster versions of the module config
- Type
array
.status.moduleConfigs[].targetClusterVersions[]
- Type
string
.status.targetClusterVersions
- Description
- targetClusterVersions is the target cluster versions of the ModuleConfig
- Type
object
API Endpoints
The following API endpoints are available:
/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 method
DELETE- Description
- delete collection of ModulePlugin
- HTTP responses
- HTTP method
GET- Description
- list objects of kind ModulePlugin
- HTTP responses
- HTTP method
POST- Description
- create a new ModulePlugin
- Query parameters
- Body parameters
- HTTP responses
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}
- HTTP method
DELETE- Description
- delete the specified ModulePlugin
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified ModulePlugin
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified ModulePlugin
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified ModulePlugin
- Query parameters
- Body parameters
- HTTP responses
/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status
- HTTP method
GET- Description
- read status of the specified ModulePlugin
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified ModulePlugin
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified ModulePlugin
- Query parameters
- Body parameters
- HTTP responses