《kelemetry-global-control-plane-tracing-for-kubernetes-kelemetrydaepxiao-kubernetesxiao-zha-jian-heng-xu-ni-wei-shao-jonathan-chan-bytedance.pdf》由会员分享,可在线阅读,更多相关《kelemetry-global-control-plane-tracing-for-kubernetes-kelemetrydaepxiao-kubernetesxiao-zha-jian-heng-xu-ni-wei-shao-jonathan-chan-bytedance.pdf(35页珍藏版)》请在三个皮匠报告上搜索。
1、KelemetryGlobal Control Plane Tracing for KubernetesTracingSource:https:/opentelemetry.io/docs/demo/screenshots/Trace:a tree of spansRequest-scoped“Any bit of data or metadata that can be bound to lifecycle of a single transactional object in the system”Peter Bourgon(2017)Attach events to scope span
2、RPC:synchronous call scopes define span hierarchyK8s:What qualifies as a transactional object?K8s:An async choreographyK8s apiserver is just an object storeDecentralized controllers react to object changes“Reconciliation”:Move system from current state to desired stateControllers work together to fo
3、rm a feedback systemChoreography for a controllerNodeNodeNodeChoreography for a controllerNodeReplicaSet controllerNodeNodeReplica SetChoreography for a controllerNodePodPodReplicaSet controllerNodePodNodePodPodReplica SetNodePodReplicaSet controllerNodePodPodNodePodPodReplica SetSchedulerChoreograp
4、hy for a controllerNodePodReplicaSet controllerNodePodPodNodePodPodReplica SetSchedulerKubeletChoreography for a controllerChoreography for a controllerNodePodReplicaSet controllerNodePodPodNodePodPodReplica SetSchedulerKubeletEvictionIslands of observabilityObserving single component barely gives i
5、nsight into the entire system.Components can only export data about themselves.I created a pod!I scheduled a pod!I scaled a ReplicaSet!Islands of observabilityHow to connect them together?Operations on the same objectOperations on related objectsI created a pod!I scheduled a pod!I scaled a ReplicaSe
6、t!Both of you are talking about pods/nginx-6a90cBoth of you are working with replicasets/nginxChronological groupingCausal relationship:nice to have,but impossible to inferConsecutive events:most likely relatedSubject object for grouping,time for relevance00:00Create pod00:01Bind pod00:16Image pull