Commit Graph

14 Commits

Author SHA1 Message Date
D8D Developer
4e4cbcf65f feat(eci): 添加EIP注解支持并优化配置逻辑
All checks were successful
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Successful in 4m40s
- 新增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
D8D Developer
64e6342b95 feat(eci): 支持通过注解指定ECS规格
All checks were successful
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Successful in 4m30s
- 添加对k8s.aliyun.com/eci-use-specs注解的解析
- 将注解值作为InstanceType参数传递给ECI创建请求
2025-07-10 06:18:15 +00:00
D8D Developer
41e03d0f49 🐛 fix(eci): 修正自动创建EIP参数类型
All checks were successful
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Successful in 4m13s
- 将AutoCreateEip参数从布尔值改为使用requests.Boolean类型
- 保持原有功能不变但符合API参数要求
2025-07-01 07:55:52 +00:00
D8D Developer
70ba5ff245 已在 eci/create_container_group.go 文件的 CreateContainerGroupRequest 结构体中添加了 AutoCreateEip 字段
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Failing after 3m50s
2025-07-01 07:42:52 +00:00
D8D Developer
6c0ffc0567 🐛 fix(eci): 移除抢占式实例持续时间配置
All checks were successful
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Successful in 5m16s
- 注释掉 SpotDuration 参数设置
- 在 CreateContainerGroupRequest 结构中注释掉 SpotDuration 字段
2025-07-01 06:51:04 +00:00
df7b5af263 更新 eci.go
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Failing after 3m56s
2025-07-01 05:41:29 +00:00
a01503f2aa 修改 CreatePod 方法以添加抢占式实例配置
Some checks failed
Virtual Kubelet Docker Build and Deploy / build-and-deploy (push) Has been cancelled
2025-07-01 05:40:20 +00:00
Brian Goff
a894106043 Fixup items after move provider from vk/vk 2019-06-14 12:54:49 -07:00
Brian Goff
96024a7a0e Move around some packages (#658)
* Move tracing exporter registration

This doesn't belong in the library and should be configured by the
consumer of the opencensus package.

* Rename `vkublet` package to `node`

`vkubelet` does not convey any information to the consumers of the
package.
Really it would be nice to move this package to the root of the repo,
but then you wind up with... interesting... import semantics due to the
repo name... and after thinking about it some, a subpackage is really
not so bad as long as it has a name that convey's some information.

`node` was chosen since this package deals with all the semantics of
operating a node in Kubernetes.
2019-06-12 13:11:49 +01:00
Brian Goff
6afc53f0e9 Use errdefs package 2019-06-04 14:29:23 -07:00
Brian Goff
6743e4ff20 Decouple vkubelet/* packages from providers (#626)
This makes the concept of a `Provider` wholely implemented in the cli
implementation in cmd/virtual-kubelet.

It allows us to slim down the interfaces used in vkubelet (and
vkubelet/api) to what is actually used there rather than a huge
interface that is only there to serve the CLI's needs.
2019-05-17 17:01:05 -07:00
Brian Goff
00ea9dc763 Use I/O stream for provider logs interface
Providers must still update the implementaiton to actually gain any
benefit here, but this makes the provider interface a bit more sane.
2019-05-08 09:17:29 -07:00
Brian Goff
c346a7f5b8 Refactor exec interface (#578)
This removes the dependence on remotecommand in providers as well as the
need to expose provider ID's for the sake of the ExecInContainer API.
2019-04-26 12:57:56 -07:00
muya-zj
e9e5c47037 [AlibabaCloud] Change alicloud to alibabacloud (#470) 2018-12-26 06:42:56 -08:00