D8D Developer 4e4cbcf65f
All checks were successful
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Successful in 4m40s
feat(eci): 添加EIP注解支持并优化配置逻辑
- 新增EIP相关注解支持:k8s.aliyun.com/eci-with-eip和k8s.aliyun.com/eci-eip-instanceid
- 添加EipInstanceId字段到CreateContainerGroupRequest结构体
- 优化EIP配置逻辑:当未配置EIP注解时默认启用自动创建EIP
- 移除硬编码的AutoCreateEip设置,改为基于注解的灵活配置
2025-09-08 12:22:14 +00:00
2020-01-04 19:47:29 +08:00
2019-06-14 12:54:53 -07:00
2019-06-14 12:54:53 -07:00
2025-09-08 11:19:28 +00:00
2025-07-01 03:47:55 +00:00
2019-06-04 14:29:23 -07:00
2020-01-04 19:47:29 +08:00
2020-01-04 19:47:29 +08:00
2019-06-17 11:33:52 -07:00

Alibaba Cloud ECI

Alibaba Cloud ECI(Elastic Container Instance) is a service that allow you run containers without having to manage servers or clusters.

You can find more infomation via alibaba cloud ECI web portal

Alibaba Cloud ECI Virtual-Kubelet Provider

Alibaba ECI provider is an adapter to connect between k8s and ECI service to implement pod from k8s cluster on alibaba cloud platform

Prerequisites

To using ECI service on alibaba cloud, you may need open ECI service on web portal, and then the ECI service will be available

Deployment of the ECI provider in your cluster

configure and launch virtual kubelet

export ECI_REGION=cn-hangzhou
export ECI_SECURITY_GROUP=sg-123
export ECI_VSWITCH=vsw-123
export ECI_ACCESS_KEY=123
export ECI_SECRET_KEY=123

VKUBELET_TAINT_KEY=alibabacloud.com/eci virtual-kubelet --provider alibabacloud

confirm the virtual kubelet is connected to k8s cluster

$kubectl get node
NAME                                 STATUS                     ROLES     AGE       VERSION
cn-shanghai.i-uf69qodr5ntaxleqdhhk   Ready                      <none>    1d        v1.9.3
virtual-kubelet                      Ready                      agent     10s       v1.8.3

Schedule K8s Pod to ECI via virtual kubelet

You can assign pod to virtual kubelet via node-selector and toleration.

apiVersion: v1
kind: Pod
metadata:
  name: mypod
spec:
  nodeName: virtual-kubelet
  containers:
  - name: nginx
    image: nginx
  tolerations:
  - key: alibabacloud.com/eci
    operator: "Exists"
    effect: NoSchedule

Alibaba Cloud Serverless Kubernetes

Alibaba Cloud serverless kubernetes allows you to quickly create kubernetes container applications without having to manage and maintain clusters and servers. It is based on ECI and fully compatible with the Kuberentes API.

You can find more infomation via alibaba cloud serverless kubernetes product doc

Description
No description provided
Readme 1.6 MiB
Languages
Go 96.7%
Dockerfile 1.6%
Makefile 1.4%
Shell 0.3%