检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Pod日志采集 本章节将介绍在Pod内进行日志采集,允许用户通过配置容器内自定义路径下的日志文件来采集日志,并通过自定义策略处理,上报到用户kafka日志中心。 资源限制 建议您为Fluent Bit预留50MB的内存。 约束与限制 当前不支持容器中软链路径的日志采集。 当前不支持容器标准输出采集上报到kafka。
"test-endpoint", "namespace" : "test-namespace", "resourceVersion" : "263561274", "selfLink" : "/api/v1/namespaces/test-namespace/endpoints/test-endpoint"
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
Container里产生的数据可以被主容器使用到。 Init Container可以在多种K8S资源里被使用到如Deployment、DaemonSet、Job等,但归根结底都是在Pod启动时,在主容器启动前执行,做初始化工作。 使用场景 部署服务时需要做一些准备工作,在运行服务的pod中使用一个init
"namespace" : "namespace-test", "resourceVersion" : "5162744", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"
ds 表15 io.k8s.api.core.v1.PersistentVolumeClaimSpec 参数 参数类型 描述 accessModes Array of strings AccessModes contains the desired access modes the
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
rules for the pod. podAffinity io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
rules for the pod. podAffinity 否 io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and
StorageClass 查询/apis/storage.k8s.io/v1版本的所有storage class 查询指定的storage class 父主题: Kubernetes API
rules for the pod. podAffinity 否 io.k8s.api.core.v1.PodAffinity object Describes pod affinity scheduling rules (e.g. co-locate this pod in the same
/apis/apps/v1/namespaces/{namespace}/statefulsets/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the StatefulSet namespace 是 String object
"namespace" : "namespace-test", "resourceVersion" : "5165479", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"
"namespace" : "namespace-test", "resourceVersion" : "5161128", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"
"namespace" : "namespace-test", "resourceVersion" : "5161128", "selfLink" : "/apis/extensions/v1beta1/namespaces/namespace-test/ingresses/redis"