Bump github.com/aws/aws-sdk-go-v2/config from 1.18.19 to 1.20.0 (#307)
Bumps github.com/aws/aws-sdk-go-v2/config from 1.18.19 to 1.20.0.
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Akash Rungta runakash@amazon.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
AWS Cloud Map MCS Controller for K8s
Introduction
The AWS Cloud Map Multi-cluster Service Discovery Controller for Kubernetes (K8s) implements the Kubernetes KEP-1645: Multi-Cluster Services API and KEP-2149: ClusterId for ClusterSet identification, which allows services to communicate across multiple clusters. The implementation relies on AWS Cloud Map for enabling cross-cluster service discovery. We have detailed step-by-step setup guide!
⚠ NOTE: The current version
is in Alpha phase, and NOT intended for production use. The support will be limited to critical bug fixes.
Checkout the Graduation Criteria for moving the project to the next phase.
Installation
Perform the following installation steps on each participating cluster.
Dependencies
Network
Configure CoreDNS
Install the CoreDNS multicluster plugin into each participating cluster. The multicluster plugin enables CoreDNS to lifecycle manage DNS records for
ServiceImportobjects.To install the plugin, run the following commands.
Install Controller
To install the latest release of the controller, run the following commands.
The controller must have sufficient IAM permissions to perform required Cloud Map operations. Grant IAM access rights
AWSCloudMapFullAccessto the controller Service Account to enable the controller to manage Cloud Map resources.Usage
Configure
cluster.clusterset.k8s.ioandclusterset.k8s.iocluster.clusterset.k8s.iois a unique identifier for the cluster.clusterset.k8s.iois an identifier that relates to theClusterSetin which the cluster belongs.Example:
Export services
Then assuming you already have a Service installed, apply a
ServiceExportyaml to the cluster in which you want to export a service. This can be done for each service you want to export.Example: This will export a service with name my-amazing-service in namespace hello
See the
samplesdirectory for a set of example yaml files to set up a service and export it. To apply the sample files run the following commands.Import services
In your other cluster, the controller will automatically sync services registered in AWS Cloud Map by applying the appropriate
ServiceImport. To list them all, run the following command.Releases
AWS Cloud Map MCS Controller for K8s adheres to the SemVer specification. Each release updates the major version tag (eg.
vX), a major/minor version tag (eg.vX.Y) and a major/minor/patch version tag (eg.vX.Y.Z). To see a full list of all releases, refer to our Github releases page.The following command format is used to install from a particular release.
Run the following command to install the latest release.
The following example will install release v0.1.0.
We also maintain a
latesttag, which is updated to stay in line with themainbranch. We do not recommend installing this on any production cluster, as any new major versions updated on themainbranch will introduce breaking changes.To install from
latesttag run the following command.Graduation Criteria
Alpha -> Beta Graduation
Beta -> GA Graduation
Slack community
We have an open Slack community where users may get support with integration, discuss controller functionality and provide input on our feature roadmap. https://awsappmesh.slack.com/#k8s-mcs-controller Join the channel with this invite.
Contributing
aws-cloud-map-mcs-controller-for-k8sis an open source project. See CONTRIBUTING for details.License
This project is distributed under the Apache License, Version 2.0, see LICENSE and NOTICE for more information.