Skip to content

Commit

Permalink
auto push
Browse files Browse the repository at this point in the history
  • Loading branch information
go-bai committed May 19, 2024
1 parent 30ca2c0 commit 4f4dcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/kube/kubevirt-sidecar.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags: [kubevirt,sidecar,grpc]
sidecar container与main container(compute)通过gRPC通讯, 有两种主要的sidecar hooks

1. `OnDefineDomain`: 这个hook帮助自定义libvirt的XML, 并通过gRPC协议返回最新的XML以创建vm
2. `preCloudInitIso`: 这个hook帮助定义cloud-init配置, 它运行并返回最新的cloud-init data
2. `PreCloudInitIso`: 这个hook帮助定义cloud-init配置, 它运行并返回最新的cloud-init data
3. `Shutdown`: 这个是`v1alpha3`版本才支持的

使用hook sidecar功能需要在`kv.spec.configuration.developerConfiguration.featureGates`中开启`Sidecar`功能
Expand Down

0 comments on commit 4f4dcd8

Please sign in to comment.