版本:v1.8

Cloud Resources orchestrated by Crossplane

  1. $ vela addon enable crossplane

KubeVela can support following cloud providers by enabling the Crossplane provider addons.

  1. $ vela addon list | grep crossplane-
  2. crossplane-aws KubeVela Kubernetes Crossplane Controller for AWS [0.0.1] enabled (1.0.0) enabled (1.0.1)

To enable one of them, use the following command:

  1. $ vela addon enable crossplane-xxx

You can also disable, upgrade, check status of an addon by command vela addon.

Apply the application below. Let’s use aws in this example, you can get AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY per aws secret docs.

  1. apiVersion: core.oam.dev/v1beta1
  2. kind: Application
  3. metadata:
  4. name: aws
  5. namespace: vela-system
  6. spec:
  7. components:
  8. - name: aws
  9. type: crossplane-aws
  10. properties:
  11. name: aws
  12. AWS_ACCESS_KEY_ID: xxx
  13. AWS_SECRET_ACCESS_KEY: yyy

After a Crossplane provider is authenticated, you can provision and/or consume cloud resources.

Last updated on 2023年5月6日 by Tianxin Dong