Multicluster and Verrazzano Project
Packages:
clusters.verrazzano.io/v1alpha1
- MultiClusterApplicationConfiguration
- MultiClusterComponent
- MultiClusterConfigMap
- MultiClusterSecret
- VerrazzanoProject
MultiClusterApplicationConfiguration
MultiClusterApplicationConfiguration specifies the multicluster application API.
Field | Description | ||||||
---|---|---|---|---|---|---|---|
apiVersion string |
clusters.verrazzano.io/v1alpha1
|
||||||
kind string |
MultiClusterApplicationConfiguration |
||||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||
spec MultiClusterApplicationConfigurationSpec |
The desired state of a multicluster application resource.
|
||||||
status MultiClusterResourceStatus |
The observed state of a multicluster application resource. |
MultiClusterComponent
MultiClusterComponent specifies the MultiCluster Component API.
Field | Description | ||||
---|---|---|---|---|---|
apiVersion string |
clusters.verrazzano.io/v1alpha1
|
||||
kind string |
MultiClusterComponent |
||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
spec MultiClusterComponentSpec |
The desired state of a MultiCluster Component resource.
|
||||
status MultiClusterResourceStatus |
The observed state of a MultiCluster Component resource. |
MultiClusterConfigMap
MultiClusterConfigMap specifies the MultiCluster ConfigMap API.
Field | Description | ||||
---|---|---|---|---|---|
apiVersion string |
clusters.verrazzano.io/v1alpha1
|
||||
kind string |
MultiClusterConfigMap |
||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
spec MultiClusterConfigMapSpec |
The desired state of a MultiCluster ConfigMap resource.
|
||||
status MultiClusterResourceStatus |
The observed state of a MultiCluster ConfigMap resource. |
MultiClusterSecret
MultiClusterSecret specifies the MultiCluster Secret API.
Field | Description | ||||
---|---|---|---|---|---|
apiVersion string |
clusters.verrazzano.io/v1alpha1
|
||||
kind string |
MultiClusterSecret |
||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
spec MultiClusterSecretSpec |
The desired state of a MultiCluster Secret resource.
|
||||
status MultiClusterResourceStatus |
The observed state of a MultiCluster Secret resource. |
VerrazzanoProject
VerrazzanoProject specifies the Verrazzano Projects API.
Field | Description | ||||
---|---|---|---|---|---|
apiVersion string |
clusters.verrazzano.io/v1alpha1
|
||||
kind string |
VerrazzanoProject |
||||
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||
spec VerrazzanoProjectSpec |
The desired state of a Verrazzano Project resource.
|
||||
status MultiClusterResourceStatus |
The observed state of a Verrazzano Project resource. |
ApplicationConfigurationTemplate
(Appears on:MultiClusterApplicationConfigurationSpec)
ApplicationConfigurationTemplate has the metadata and embedded spec of the OAM applicationConfiguration resource.
Field | Description | ||
---|---|---|---|
metadata EmbeddedObjectMeta |
Metadata describing the application. |
||
spec OAM core/v1alpha2.ApplicationConfigurationSpec |
The embedded OAM application specification.
|
Cluster
(Appears on:Placement)
Cluster contains the name of a single cluster.
Field | Description |
---|---|
name string |
The name of a cluster. |
ClusterLevelStatus
(Appears on:MultiClusterResourceStatus)
ClusterLevelStatus describes the status of the multicluster resource in a specific cluster.
Field | Description |
---|---|
lastUpdateTime string |
Last update time of the resource state in this cluster. |
message string |
Message details about the status in this cluster. |
name string |
Name of the cluster. |
state StateType |
State of the resource in this cluster. |
ComponentTemplate
(Appears on:MultiClusterComponentSpec)
ComponentTemplate has the metadata and embedded spec of the OAM component.
Field | Description | ||||
---|---|---|---|---|---|
metadata EmbeddedObjectMeta |
Metadata describing the component. |
||||
spec OAM core/v1alpha2.ComponentSpec |
The embedded OAM component specification.
|
Condition
(Appears on:MultiClusterResourceStatus)
Condition describes current state of a multicluster resource.
Field | Description |
---|---|
lastTransitionTime string |
(Optional)
Last time the condition transitioned from one status to another. |
message string |
(Optional)
A message with details about the last transition. |
status Kubernetes core/v1.ConditionStatus |
Status of the condition: one of |
type ConditionType |
Type of condition. |
ConditionType
(string
alias)
(Appears on:Condition)
ConditionType identifies the condition of the multicluster resource which can be checked with kubectl wait
.
Value | Description |
---|---|
"DeployComplete" |
DeployComplete means deployment to the specified cluster completed successfully. |
"DeployFailed" |
DeployFailed means the deployment to the specified cluster has failed. |
"DeployPending" |
DeployPending means deployment to the specified cluster is in progress. |
ConfigMapTemplate
(Appears on:MultiClusterConfigMapSpec)
ConfigMapTemplate has the metadata and spec of the Kubernetes ConfigMap.
Field | Description |
---|---|
binaryData map[string][]byte |
Corresponds to the |
data map[string]string |
Corresponds to the |
immutable bool |
Corresponds to the |
metadata EmbeddedObjectMeta |
Metadata describing the ConfigMap. |
EmbeddedObjectMeta
(Appears on:ApplicationConfigurationTemplate, ComponentTemplate, ConfigMapTemplate, SecretTemplate)
EmbeddedObjectMeta is metadata describing a resource.
Field | Description |
---|---|
annotations map[string]string |
(Optional)
Annotations for the resource. |
labels map[string]string |
(Optional)
Labels for the resource. |
name string |
(Optional)
Name of the resource. |
namespace string |
(Optional)
Namespace of the resource. |
MultiClusterApplicationConfigurationSpec
(Appears on:MultiClusterApplicationConfiguration)
MultiClusterApplicationConfigurationSpec defines the desired state of a multicluster application.
Field | Description |
---|---|
placement Placement |
Clusters in which the application is to be created. |
secrets []string |
(Optional)
List of secrets used by the application. These secrets must be created in the application’s namespace before deploying a MultiClusterApplicationConfiguration resource. |
template ApplicationConfigurationTemplate |
Template containing the metadata and spec for an OAM applicationConfiguration resource. |
MultiClusterComponentSpec
(Appears on:MultiClusterComponent)
MultiClusterComponentSpec defines the desired state of a MultiCluster Component.
Field | Description |
---|---|
placement Placement |
Clusters in which the component is to be created. |
template ComponentTemplate |
Template containing the metadata and spec for an OAM component. |
MultiClusterConfigMapSpec
(Appears on:MultiClusterConfigMap)
MultiClusterConfigMapSpec defines the desired state of a MultiCluster ConfigMap.
Field | Description |
---|---|
placement Placement |
Clusters in which the ConfigMap is to be created. |
template ConfigMapTemplate |
The embedded Kubernetes ConfigMap. |
MultiClusterResourceStatus
(Appears on:MultiClusterApplicationConfiguration, MultiClusterComponent, MultiClusterConfigMap, MultiClusterSecret, VerrazzanoProject)
MultiClusterResourceStatus is the runtime status of a multicluster resource.
Field | Description |
---|---|
clusters []ClusterLevelStatus |
Status information for each cluster. |
conditions []Condition |
The current state of a multicluster resource. |
state StateType |
The state of the multicluster resource. State values are case-sensitive and formatted as follows:
|
MultiClusterSecretSpec
(Appears on:MultiClusterSecret)
MultiClusterSecretSpec defines the desired state of a MultiCluster Secret.
Field | Description |
---|---|
placement Placement |
Clusters in which the secret is to be created. |
template SecretTemplate |
The embedded Kubernetes secret. |
NamespaceTemplate
(Appears on:ProjectTemplate)
NamespaceTemplate contains the metadata and specification of a Kubernetes namespace.
Field | Description | ||
---|---|---|---|
metadata Kubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
spec Kubernetes core/v1.NamespaceSpec |
The specification of a namespace.
|
NetworkPolicyTemplate
(Appears on:ProjectTemplate)
NetworkPolicyTemplate contains the metadata and specification of a Kubernetes NetworkPolicy.
NOTE
To add an application NetworkPolicy, see NetworkPolicies for applications.Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
metadata Kubernetes meta/v1.ObjectMeta |
(Optional)
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||
spec Kubernetes networking/v1.NetworkPolicySpec |
The specification of a network policy.
|
Placement
(Appears on:MultiClusterApplicationConfigurationSpec, MultiClusterComponentSpec, MultiClusterConfigMapSpec, MultiClusterSecretSpec, VerrazzanoProjectSpec)
Placement contains the name of each cluster where a resource will be located.
Field | Description |
---|---|
clusters []Cluster |
List of clusters. |
ProjectTemplate
(Appears on:VerrazzanoProjectSpec)
ProjectTemplate contains the list of namespaces to create and the optional security configuration for each namespace.
Field | Description |
---|---|
namespaces []NamespaceTemplate |
The list of application namespaces to create for this project. |
networkPolicies []NetworkPolicyTemplate |
(Optional)
Network policies applied to namespaces in the project. |
security SecuritySpec |
(Optional)
The project security configuration. |
SecretTemplate
(Appears on:MultiClusterSecretSpec)
SecretTemplate has the metadata and spec of the Kubernetes Secret.
Field | Description |
---|---|
data map[string][]byte |
Corresponds to the data field of the struct Secret defined in types.go. |
metadata EmbeddedObjectMeta |
Metadata describing the secret. |
stringData map[string]string |
Corresponds to the |
type Kubernetes core/v1.SecretType |
The type of secret. |
SecuritySpec
(Appears on:ProjectTemplate)
SecuritySpec defines the security configuration for a Verrazzano Project.
Field | Description |
---|---|
projectAdminSubjects []Kubernetes rbac/v1.Subject |
(Optional)
The subjects to bind to the |
projectMonitorSubjects []Kubernetes rbac/v1.Subject |
(Optional)
The subjects to bind to the |
StateType
(string
alias)
(Appears on:ClusterLevelStatus, MultiClusterResourceStatus)
StateType identifies the state of a multicluster resource.
Value | Description |
---|---|
"Failed" |
Failed is the state when deploy to specified cluster has failed. |
"Pending" |
Pending is the state when deploy to specified cluster is in progress. |
"Succeeded" |
Succeeded is the state when deploy to specified cluster is completed. |
VerrazzanoProjectSpec
(Appears on:VerrazzanoProject)
VerrazzanoProjectSpec defines the desired state of a Verrazzano Project.
Field | Description |
---|---|
placement Placement |
Clusters on which the namespaces are to be created. |
template ProjectTemplate |
The project template. |
Generated with gen-crd-api-reference-docs
on git commit 7e2b8b262
.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.