检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查询指定的resourcequota 功能介绍 查询指定的resourcequota(资源用量)。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/resourcequotas/{name} 表1 路径参数 参数 是否必选
查询指定的EIPPool 功能介绍 查询指定的EIPPool的详细信息。 调用方法 请参见如何调用API。 URI GET /apis/crd.yangtse.cni/v1/namespaces/{namespace}/eippools/{name}/status 表1 路径参数
查询指定namespace下的Events 功能介绍 查询Namespace下所有Event的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/events 表1 路径参数 参数 是否必选 参数类型 描述 namespace
查询指定namespace下的ConfigMaps 功能介绍 查询Namespace下所有ConfigMap的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/configmaps 表1 路径参数 参数 是否必选
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy String Indicate how the termination message should be populated
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy 否 String Indicate how the termination message should be populated
查询Service 功能介绍 查询Service的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/services/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String
查询指定namespace下的Networks 功能介绍 查询指定namespace下的所有Network对象。 调用方法 请参见如何调用API。 URI GET /apis/networking.cci.io/v1beta1/namespaces/{namespace}/networks
查询service状态 功能介绍 查询指定的Service的状态。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/services/{name}/status 表1 路径参数 参数 是否必选 参数类型 描述 name
查询指定的EIPPool 功能介绍 查询指定的EIPPool的详细信息。 调用方法 请参见如何调用API。 URI GET /apis/crd.yangtse.cni/v1/namespaces/{namespace}/eippools/{name} 表1 路径参数 参数 是否必选
12kb. Defaults to /dev/termination-log. Cannot be updated. terminationMessagePolicy 否 String Indicate how the termination message should be populated
查询指定namespace下的Endpoints 功能介绍 查询Namespace下所有Endpoints。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/endpoints 表1 路径参数 参数 是否必选 参数类型
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
} }, "terminationMessagePath" : "/dev/termination-log", "terminationMessagePolicy" : "File" } ]
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
如上,这个probe往容器的8080端口发送HTTP GET请求,上面的程序会在第五次请求会返回500状态码,这时Kubernetes会去重启容器。 查看Pod详情。 $ kubectl describe po liveness-http -n $namespace_name Name:
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)