ModulePlugin [moduleplugins.cluster.alauda.io/v1alpha1]

Description
ModuleConfig is the Schema for the moduleconfigs API
Type
object

Specification

PropertyTypeDescription
apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadataObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

specobject

ModuleConfigSpec defines the desired state of ModuleConfig

statusobject

ModulePluginStatus defines the observed state of ModulePlugin

.spec

Description
ModuleConfigSpec defines the desired state of ModuleConfig
Type
object
Required
deleteabledescriptionlogoname
PropertyTypeDescription
affinityobject

Affinity is the affinity of the plugin.

appReleasesarray

AppReleases is the app releases of the module.

cfgFilenamestring

CfgFilename is the plugin config filename in chart.

configobject

Config is the config of the module.

crossClusterDependenciesarray

CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated

deleteBlockDescriptionstring

DeleteBlockDescription is the delete block description of the module.

deleteBlockDescriptionEnstring

DeleteBlockDescriptionEn is the delete block description of the module in English.

deleteRiskDescriptionstring

DeleteRiskDescription is the delete risk description of the module.

deleteRiskDescriptionEnstring

DeleteRiskDescriptionEn is the delete risk description of the module in English.

deleteableboolean

Deleteable indicates whether the module can be deleted.

dependenciesarray

Dependencies is the dependencies of the module.

deployDescriptorsarray

DeployDescriptors is the descriptors of the module for deployment.

descriptionobject

Description is the description of the module.

editDescriptorsarray

EditDescriptors is the descriptors of the module for edit.

entrypointTemplatestring

EntrypointTemplate is the entrypoint template of the module.

labelClusterstring

LabelCluster is the flag of whether label cluster resource.

logostring

Logo is the logo of the module.

mainChartstring

MainChart is the main chart of the module.

mustUpgradeboolean

MustUpgrade is the flag of whether the module must upgrade.

namestring

Name is the name of the module.

pluginDependenciesobject

PluginDependencies define the plugins dependent relationship

resourcesBlockRemovearray

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.

skipPlatformConfigboolean

SkipPlatformConfig stands for skip reference the platform values when renderering the values for AppRelease.

supportedUpgradeVersionsstring

SupportedUpgradeVersions is the supported old versions of the module for upgrade.

targetClusterVersionsarray

TargetClusterVersions is the target clusters of the module.

transitTimeoutinteger

TransitTimeout is the timeout duration for upgrade.

uiContextobject

UIContext is the additional attributes for module config.

upgradeBeforearray

UpgradeBefore stands for need upgrade before these mouldes

upgradeDescriptorsarray

UpgradeDescriptors is the descriptors of the module for upgrade.

upgradeRiskDescriptionstring

UpgradeRiskDescription is the upgrade risk description of the module.

upgradeRiskDescriptionEnstring

UpgradeRiskDescriptionEn is the upgrade risk description of the module in English.

upgradeRiskLevelstring

UpgradeRiskLevel is the upgrade risk level of the module.

valuesTemplatesobject

ValuesTemplates is the values templates of the module.

versionstring

Version is the version of the module.

.spec.affinity

Description
Affinity is the affinity of the plugin.
Type
object
PropertyTypeDescription
clusterAffinityobject

ClusterAffinity defines the cluster affinity

clusterAntiAffinityobject

ClusterAntiAffinity defines the cluster anti-affinity

pluginAntiAffinityarray

PluginAntiAffinity defines the plugin anti-affinity

.spec.affinity.clusterAffinity

Description
ClusterAffinity defines the cluster affinity
Type
object
PropertyTypeDescription
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.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
PropertyTypeDescription
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

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.

.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
PropertyTypeDescription
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.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
PropertyTypeDescription
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

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.

.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
PropertyTypeDescription
chartVersionsarray

ChartVersions stands for the app's chart versions

installConditionstring

InstallCondition is the condition of installing

namestring

Name stands for the release name

namespacestring

Namespace stands for the release namespace

.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
PropertyTypeDescription
namestring

Name stands for the chart's name

releaseNamestring

ReleaseName stands for the release name

versionstring

Version stands for the chart's version

.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
PropertyTypeDescription
instanceNamestring

InstanceName stands for the dependent module's ModuleInfo CR's name

moduleNamestring

ModuleName stands for the dependent module's name

versionsMatcharray

VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.

.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
PropertyTypeDescription
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of 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
PropertyTypeDescription
enstring

En is the English description

zhstring

Zh is the Chinese description

.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
PropertyTypeDescription
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of 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
PropertyTypeDescription
crossClusterobject

.spec.pluginDependencies.crossCluster

Type
object
PropertyTypeDescription
oneOfarray

.spec.pluginDependencies.crossCluster.oneOf

Type
array

.spec.pluginDependencies.crossCluster.oneOf[]

Type
object
Required
clusterNamepluginName
PropertyTypeDescription
clusterNamestring
pluginNamestring

.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
PropertyTypeDescription
apiVersionstring

API version of the referent.

kindstring

Kind of the referent.

namestring

Name of the referent.

namespacestring

Namespace of the referent.

.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
PropertyTypeDescription
sizeSettingsobject

SizeSettings defines a list of size config

.spec.uiContext.sizeSettings

Description
SizeSettings defines a list of size config
Type
object
PropertyTypeDescription
defaultstring

Default is name for default size

quotaTipobject

QuotaTip is quota tip

sizesarray

Sizes defines a list of size config

.spec.uiContext.sizeSettings.quotaTip

Description
QuotaTip is quota tip
Type
object
PropertyTypeDescription
enstring

En is the English text

zhstring

Zh is the Chinese text

.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
PropertyTypeDescription
componentsobject

Components defines a list of component config

descriptionobject

Description defines description for this size config

nameobject

Name defines name for this size config

sizestring

Size is name for this config

.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
PropertyTypeDescription
enstring

En is the English text

zhstring

Zh is the Chinese text

.spec.uiContext.sizeSettings.sizes[].name

Description
Name defines name for this size config
Type
object
PropertyTypeDescription
enstring

En is the English text

zhstring

Zh is the Chinese text

.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
PropertyTypeDescription
moduleNamestring

ModuleName stands for the dependent module's name

.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
PropertyTypeDescription
descriptionstring

Description is the description of the descriptor

displayNamestring

DisplayName is the display name of the descriptor

pathstring

Path is the path of the descriptor

x-descriptorsarray

X-Descriptors is the list of 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
PropertyTypeDescription
conditionsarray

conditions is the conditions on this plugin

installedarray

installed are the installed instances of this plugin

latestVersionstring

latestVersion is the latest version of the ModuleConfig

moduleConfigsarray

moduleConfigs is the module config versions of the ModulePlugin

specHashstring

SpecHash is the hash of the spec

targetClusterVersionsobject

targetClusterVersions is the target cluster versions of the ModuleConfig

.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
PropertyTypeDescription
lastTransitionTimestring

lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

messagestring

message is a human readable message indicating details about the transition. This may be an empty string.

observedGenerationinteger

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

reasonstring

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

statusstring

status of the condition, one of True, False, Unknown.

typestring

type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

.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
PropertyTypeDescription
clusterstring
namestring
phasestring
versionstring

.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
PropertyTypeDescription
affinityobject

Affinity is the affinity of the plugin

namestring

Name is the name of the module config

readyForDeployboolean

ReadyForDeploy indicates whether the module is ready for deployment.

targetClusterVersionsarray

TargetClusterVersions is the target cluster versions of the module config

versionstring

Version is the version of the module config

.status.moduleConfigs[].affinity

Description
Affinity is the affinity of the plugin
Type
object
PropertyTypeDescription
clusterAffinityobject

ClusterAffinity defines the cluster affinity

clusterAntiAffinityobject

ClusterAntiAffinity defines the cluster anti-affinity

pluginAntiAffinityarray

PluginAntiAffinity defines the plugin anti-affinity

.status.moduleConfigs[].affinity.clusterAffinity

Description
ClusterAffinity defines the cluster affinity
Type
object
PropertyTypeDescription
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.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
PropertyTypeDescription
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

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.

.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
PropertyTypeDescription
matchExpressionsarray

MatchExpressions is the list of match expressions

matchLabelsobject

MatchLabels is the cluster selector

.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
PropertyTypeDescription
keystring

The label key that the selector applies to.

operatorstring

Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

valuesarray

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.

.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/moduleplugins
    • DELETE: delete collection of ModulePlugin
    • GET: list objects of kind ModulePlugin
    • POST: create a new ModulePlugin
  • /apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}
    • DELETE: delete the specified ModulePlugin
    • GET: read the specified ModulePlugin
    • PATCH: partially update the specified ModulePlugin
    • PUT: replace the specified ModulePlugin
  • /apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status
    • GET: read status of the specified ModulePlugin
    • PATCH: partially update status of the specified ModulePlugin
    • PUT: replace status of the specified ModulePlugin

/apis/cluster.alauda.io/v1alpha1/moduleplugins

HTTP method
DELETE
Description
delete collection of ModulePlugin
HTTP responses
HTTP codeResponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
list objects of kind ModulePlugin
HTTP responses
HTTP codeResponse body
200 - OKModulePluginList schema
401 - UnauthorizedEmpty
HTTP method
POST
Description
create a new ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
Body parameters
ParameterTypeDescription
bodyModulePlugin schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
202 - AcceptedModulePlugin schema
401 - UnauthorizedEmpty

/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}

HTTP method
DELETE
Description
delete the specified ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
HTTP responses
HTTP codeResponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
read the specified ModulePlugin
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update the specified ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace the specified ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
Body parameters
ParameterTypeDescription
bodyModulePlugin schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
401 - UnauthorizedEmpty

/apis/cluster.alauda.io/v1alpha1/moduleplugins/{name}/status

HTTP method
GET
Description
read status of the specified ModulePlugin
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update status of the specified ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace status of the specified ModulePlugin
Query parameters
ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
Body parameters
ParameterTypeDescription
bodyModulePlugin schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKModulePlugin schema
201 - CreatedModulePlugin schema
401 - UnauthorizedEmpty