Typical Workloads can help you manage applications of stateless, stateful and daemon.
They all support not only the basic features which are similar to the original Workloads in Kubernetes, but also more advanced abilities like in-place update, configurable scale/upgrade strategies, parallel operations.
The Sidecar containers can be simply defined in the SidecarSet custom resource and Kruise will inject them into all Pods matched.
The implementation is done by using Kubernetes mutating webhooks, similar to what istio does.
However, it allows you to explicitly manage your own sidecars.
This can help you manage applications over nodes with multiple domains,
such as different node pools, available zones, architectures(x86 & arm) or node types(kubelet & virtual kubelet).
请发表评论