MultiClusterApplicationConfiguration
Defines the resources associated with a multicluster application
The MultiClusterApplicationConfiguration custom resource is an envelope used to distribute core.oam.dev/v1alpha2/ApplicationConfiguration
resources in a multicluster environment.
Here is a sample MultiClusterApplicationConfiguration that specifies an ApplicationConfiguration resource to create on the cluster named managed1
. To deploy an example application that demonstrates a MultiClusterApplicationConfiguration, see Multicluster ToDo List.
apiVersion: clusters.verrazzano.io/v1alpha1
kind: MultiClusterApplicationConfiguration
metadata:
name: todo-appconf
namespace: mc-todo-list
spec:
template:
metadata:
annotations:
version: v1.0.0
description: "ToDo List example application"
spec:
components:
- componentName: todo-domain
traits:
- trait:
apiVersion: oam.verrazzano.io/v1alpha1
kind: MetricsTrait
- trait:
apiVersion: oam.verrazzano.io/v1alpha1
kind: IngressTrait
spec:
rules:
- paths:
- path: "/todo"
pathType: Prefix
- componentName: todo-jdbc-config
- componentName: mysql-initdb-config
- componentName: todo-mysql-service
- componentName: todo-mysql-deployment
placement:
clusters:
- name: managed1
secrets:
- tododomain-repo-credentials
- tododomain-jdbc-tododb
- tododomain-weblogic-credentials
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.