All Projects → kubeup → Kube Aliyun

kubeup / Kube Aliyun

Licence: apache-2.0
Aliyun Essentials for Kubernetes (SLB, Routes and Volumes)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Kube Aliyun

Iotkit Embedded
高速镜像: https://code.aliyun.com/linkkit/c-sdk
Stars: ✭ 461 (+361%)
Mutual labels:  aliyun
Cms Grafana Builder
helps you run a grafana server that include aliyun cms dashboard.
Stars: ✭ 26 (-74%)
Mutual labels:  aliyun
Waliyun
阿里云Node.js Open API SDK(完整版)
Stars: ✭ 40 (-60%)
Mutual labels:  aliyun
Aliyun Sdk Js
阿里云 SDK for Javascript,支持在浏览器和 Nodejs 环境使用,支持大部分阿里云服务。
Stars: ✭ 727 (+627%)
Mutual labels:  aliyun
Funcraft
(have) Fun with Serverless(API Gateway & Function Compute)
Stars: ✭ 833 (+733%)
Mutual labels:  aliyun
Alibaba Cloud Sdk Go
Alibaba Cloud SDK for Go
Stars: ✭ 876 (+776%)
Mutual labels:  aliyun
Midway
🍔 A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. 🌈
Stars: ✭ 5,080 (+4980%)
Mutual labels:  aliyun
Shadowsocks Tutorial
🐱给小白的Shadowsocks和V2ray翻墙教程
Stars: ✭ 1,273 (+1173%)
Mutual labels:  aliyun
Sls Logrus Hook
Logrus hook for aliyun sls
Stars: ✭ 23 (-77%)
Mutual labels:  aliyun
Icpr2018
ICPR 2018 挑战赛一:网络图像的文本识别 / ICPR 2018 挑战赛二:网络图像的文本检测
Stars: ✭ 40 (-60%)
Mutual labels:  aliyun
Aliyungo
Go SDK for Aliyun (Alibaba Cloud) - Golang API for ECS, OSS, DNS, SLB, RDS, RAM, MNS, STS, SLS, MQ, Push, OpenSearch, DM, Container Service etc.
Stars: ✭ 756 (+656%)
Mutual labels:  aliyun
Prometheusalert
Prometheus Alert是开源的运维告警中心消息转发系统,支持主流的监控系统Prometheus,Zabbix,日志系统Graylog和数据可视化系统Grafana发出的预警消息,支持钉钉,微信,华为云短信,腾讯云短信,腾讯云电话,阿里云短信,阿里云电话等
Stars: ✭ 822 (+722%)
Mutual labels:  aliyun
Aliyun Oss
Aliyun oss for Laravel5, also support flysystem adapter
Stars: ✭ 31 (-69%)
Mutual labels:  aliyun
Aliyunoss
阿里云 OSS 官方 SDK 的 Composer 封装,支持任何 PHP 项目,包括 Laravel、Symfony、TinyLara 等等。
Stars: ✭ 481 (+381%)
Mutual labels:  aliyun
Esp8266 aliyun mqtt app
基于ESP8266官方SDK快速接入阿里云物联网平台
Stars: ✭ 81 (-19%)
Mutual labels:  aliyun
Openapi Sdk Php
Alibaba Cloud SDK for PHP
Stars: ✭ 423 (+323%)
Mutual labels:  aliyun
Certbot Letencrypt Wildcardcertificates Alydns Au
certbot'renewing letencrypt certificate plugin - automatic verification aliyun/tencentyun/godaddy dns
Stars: ✭ 839 (+739%)
Mutual labels:  aliyun
Xdupdate
Android 自动更新 / 阿里云 OSS 一键上传更新 (Android auto update / upload update by aliyun OSS)
Stars: ✭ 92 (-8%)
Mutual labels:  aliyun
Letscertbot
Let's Certbot is a tool builds automated scripts base on Certbot for obtaining, renewing, deploying SSL certificates.
Stars: ✭ 84 (-16%)
Mutual labels:  aliyun
Alibabacloud Console Design
阿里云管平台研发解决方案
Stars: ✭ 36 (-64%)
Mutual labels:  aliyun

Kube Aliyun

CircleCI

Aliyun essentials for Kubernetes. It provides SLB, Routes controllers and a Volume plugin for Kubernetes to function properly on Aliyun instances.

Features

  • Service load balancers sync (TCP & UDP)
  • Routes sync
  • Volumes / PersistentVolumes
  • Centralized attach/detach control. No credentials needed on nodes.
  • PersistentVolumes dynamic provisioning

Docker Image

kubeup/kube-aliyun

registry.aliyuncs.com/kubeup/kube-aliyun

Dependency

Due to Kubernetes v1.6.0 flexvolume api break, the master currently supports k8s v1.6+.

To use the last v1.5.x compatible versionn, use tag k8s-1.5.

Components

There are two components.

aliyun-controller is a daemon responsible for service & route synchronization, attach/detach control and PV provisioning. It has to run on all master nodes.

aliyun-flexv is a binary plugin responsible for volumes operations on nodes. It has to be deployed on all nodes and will be called by kubelets/controller-manager when needed.

Deploy to Aliyun

aliyun-controller

  1. Make sure all node names are either ip addresses or routable names
  2. Make sure node cidr will be allocated by adding --allocate-node-cidrs=true --configure-cloud-routes=false to kube-controller-manager commandline.
  3. Update the required fields in manifests/aliyun-controller.yaml
  4. Upload it to pod-manifest-path-of-kubelets on all your master nodes
  5. Use docker logs to check if the controller is running properly

If your nodes can't access Aliyun metadata somehow, you need to specify 3 more variables in env:

  - ALIYUN_REGION
  - ALIYUN_VPC
  - ALIYUN_VSWITCH

aliyun-flexv

  1. Add two env variables to kube-controller-manager:
  - ALIYUN_ACCESS_KEY
  - ALIYUN_ACCESS_KEY_SECRET
  1. Make flexv binary available on every node in a ./ailyun~flexv/ folder under the kubelet volume plugin path. Or for your convenience, run this on every node.

FLEXPATH=/usr/libexec/kubernetes/kubelet-plugins/volume/exec/aliyun~flexv; sudo mkdir $FLEXPATH -p; docker run -v $FLEXPATH:/opt kubeup/kube-aliyun:master cp /flexv /opt/

Usage

Services

Just create Loadbalancer Services as usual. Currently only TCP & UDP types are supported. Some options can be customized through annotaion on Service. Please see pkg/cloudprovider/providers/aliyun/loadbalancer.go for details.

Routes

Since we are using k8s to allocate node cidrs, we need a way to make that effective on containers. There are several ways to do this.

  • Use kubenet plugin. Details here
  • Pass --bip={subnet} and --ip-masq=false to docker daemon

Volumes

Use flexVolume in any volume/PV/PVC spec.

Checkout following examples.

Volume Example

Static PersistentVolumes

Dynamic PersistentVolumes and StorageClass

More Examples

Please find a more complete setup example here which Archon is able to deploy automatically.

License

Apache Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].