Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

exekube/demo-alicloud-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-alicloud-project

Try out Exekube with Alibaba Cloud Container Service for Kubernetes

⚠️

  • This is a work in progress
  • Cluster creation can be really slow (20+ minutes)
  • Free trial on Alibaba Cloud does NOT include NAT gateways fees
  • Connecting to the cluster is not yet automated

⚠️

Tutorial

  1. Register an account with Alibaba Cloud.
  2. Enable the following APIs on Alibaba Cloud:
  3. Get an Access Key ID and Access Key Secret: https://www.alibabacloud.com/help/doc-detail/28955.htm
    • Save Access Key ID to live/dev/secrets/kube-system/alicloud/access-key
    • Save Access Key Secret to live/dev/secrets/kube-system/alicloud/secret-key
  4. (Optional) Run xk aliyun configure and enter details to use Alibaba Cloud CLI

... to be continued ...

Known issues and limitations

  • Can't store Terraform state in Alibaba Cloud

    • OSS (Alibaba Cloud object storage service, equivalent to GCS / AWS S3) has not been added as a backend to store Terraform state
    • There is a PR open to add OSS as backend: hashicorp/terraform#16927
    • SOLUTION: A workaround is to store our Terraform state in a GCS bucket
    • We configure the GCS bucket using TFSTATE_BUCKET and TFSTATE_BUCKET_KEY env variables in docker-compose.yaml
  • StackValidationFailed Message: The service 'vpc' is not enabled. Please enable service firstly.

  • If you run into problems with enable VPC service, try switching to the "old console": https://www.alibabacloud.com/help/doc-detail/66173.htm

  • RiskControl, This operation is forbidden by Aliyun Risk Control system. Possible a limitation of Free Trial, or missing security groups for VPC (?)

  • Cluster creation stuck at ALIYUN::ROS::WaitCondition (?) Not stuck, just takes a long time

About

A demo Exekube project on Alibaba Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages