provider-alibaba

module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2022 License: Apache-2.0

README

provider-alibaba

Overview

provider-alibaba is the Crossplane infrastructure provider for Alibaba Cloud. The provider that is built from the source code in this repository can be installed into a Crossplane control plane and adds the following new functionality:

  • Custom Resource Definitions (CRDs) that model Alibaba Cloud infrastructure and services
  • Controllers to provision these resources in Alibaba Cloud based on the users desired state captured in CRDs they create
  • Implementations of Crossplane's portable resource abstractions, enabling Alibaba Cloud resources to fulfill a user's general need for cloud services

Getting Started

In the following, We will deploy flight tracker app using OAM and Alibaba RDS resource:

alt text

Make sure you have installed:

Then set up the environment on first trial:

helm repo add crossplane-master https://charts.crossplane.io/master/
git clone git@github.com:crossplane/addon-oam-kubernetes-local.git ../addon-oam-kubernetes-local
export ACCESS_KEY_ID=<your-access-key-id>
export ACCESS_KEY_SECRET=<your-access-key-secret>

Access key should be obtained via Alibaba cloud.

Then run command:

make demo

This will deploy the Crossplane, addon-oam-kubernetes-local, setting up cloud provider, and finally deploy an OAM app with a cloud RDS database.

Use the following script to wait until the database and the app has been deployed successfully and do port-forward:

#!/usr/bin/env bash

until kubectl port-forward deployment/web-ui 8080:8080 --address 0.0.0.0; do
  sleep 5
done

The demo app could be access at http://localhost:8080 .

Contributing

provider-alibaba is a community driven project and we welcome contributions. See the Crossplane Contributing guidelines to get started.

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please open an issue.

Contact

Please use the following to reach members of the community:

Roadmap

provider-alibaba goals and milestones are currently tracked in the Crossplane repository. More information can be found in ROADMAP.md.

Governance and Owners

provider-alibaba is run according to the same Governance and Ownership structure as the core Crossplane project.

Code of Conduct

provider-alibaba adheres to the same Code of Conduct as the core Crossplane project.

Licensing

provider-alibaba is under the Apache 2.0 license.

FOSSA Status

Directories

Path Synopsis
Package apis contains Kubernetes API for the Alibaba Cloud provider.
Package apis contains Kubernetes API for the Alibaba Cloud provider.
database
Package database contains alibaba database API versions
Package database contains alibaba database API versions
database/v1alpha1
Package v1alpha1 contains managed resources for alibaba database services such as RDS.
Package v1alpha1 contains managed resources for alibaba database services such as RDS.
nas/v1alpha1
Package v1alpha1 contains managed resources for alibaba NAS filesystem +kubebuilder:object:generate=true +groupName=nas.alibaba.crossplane.io +versionName=v1alpha1
Package v1alpha1 contains managed resources for alibaba NAS filesystem +kubebuilder:object:generate=true +groupName=nas.alibaba.crossplane.io +versionName=v1alpha1
oss
oss/v1alpha1
Package v1alpha1 contains managed resources for alibaba OSS Bucket services +kubebuilder:object:generate=true +groupName=oss.alibaba.crossplane.io +versionName=v1alpha1
Package v1alpha1 contains managed resources for alibaba OSS Bucket services +kubebuilder:object:generate=true +groupName=oss.alibaba.crossplane.io +versionName=v1alpha1
slb/v1alpha1
Package v1alpha1 contains API Schema definitions for the SLB v1alpha1 API group +kubebuilder:object:generate=true +groupName=slb.alibaba.crossplane.io
Package v1alpha1 contains API Schema definitions for the SLB v1alpha1 API group +kubebuilder:object:generate=true +groupName=slb.alibaba.crossplane.io
sls
sls/v1alpha1
Package v1alpha1 contains API Schema definitions for the sls v1alpha1 API group +kubebuilder:object:generate=true +groupName=sls.alibaba.crossplane.io
Package v1alpha1 contains API Schema definitions for the sls v1alpha1 API group +kubebuilder:object:generate=true +groupName=sls.alibaba.crossplane.io
v1beta1
Package v1beta1 contains the core resources of the Alibaba Cloud.
Package v1beta1 contains the core resources of the Alibaba Cloud.
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL