首页 > 其他分享 >Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster state API

Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster state API

时间:2023-06-24 23:22:45浏览次数:38  
标签:www Cluster 精讲 APIs cluster state API

REST APIs —— Cluster APIs —— Cluster state API

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-state.html#cluster-state

Returns an internal representation of the cluster state for debugging or diagnostic purposes.

返回用于调试或诊断目的的群集状态的内部表示。

1、Request(请求)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-state.html#cluster-state-api-request

        GET /_cluster/state//< target>
    

2、Prerequisites(先决条件)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-state.html#cluster-state-api-prereqs

If the Elasticsearch security features are enabled, you must have the manage cluster privilege to use this API.

如果启用了 Elasticsearch 安全特性,则必须拥有管理集群特权才能使用此 API。

3、Description(描述)

https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-state.html#cluster-state-api-desc

The cluster state is an internal data structure which keeps track of a variety of information needed by every node, including:

集群状态是一种内部数据结构,它跟踪每个节点所需的各种信息,包括:

标签:www,Cluster,精讲,APIs,cluster,state,API
From: https://www.cnblogs.com/zuoyang/p/17501871.html

相关文章

  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster health API
    RESTAPIs——ClusterAPIs——ClusterhealthAPIhttps://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-health.html#cluster-healthReturnsthehealthstatusofacluster.返回集群的健康状态。1......
  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster get settings
    RESTAPIs——ClusterAPIs——ClustergetsettingsAPIhttps://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-get-settings.html#cluster-get-settingsReturnscluster-widesettings.返回集群的设置。......
  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Cluster allocation ex
    RESTAPIs——ClusterAPIs——ClusterallocationexplainAPI(用于提供关于特定分片当前分配情况的解释)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster-allocation-explain.html#cluster-allocation-explainProvidesanexplanationforashar......
  • Elasticsearch专题精讲—— REST APIs —— Cluster APIs —— Node specification
     RESTAPIs——ClusterAPIs—— Nodespecification(节点过滤)https://www.elastic.co/guide/en/elasticsearch/reference/8.8/cluster.html#cluster-nodes Somecluster-levelAPIsmayoperateonasubsetofthenodeswhichcanbespecifiedw......
  • 什么是 Kubernetes cluster 的 Node affinity
    Nodeaffinity在概念上类似于nodeSelector,它允许您根据节点标签来限制Pod可以调度到哪些节点上。有两种类型的节点亲和性:requiredDuringSchedulingIgnoredDuringExecution:除非满足规则,否则调度程序无法将Pod调度到节点上。这类似于nodeSelector,但具有更具表达性的语法。pre......
  • kube-apiserver认证
    kube-apiserver认证kube-apiserver支持多种认证机制,并支持同时开启多个认证功能。当客户端发起一个请求,经过认证阶段时,只要有一个认证器通过,则认证器成功,失败返回401一共九种认证机制BasicAuth认证BasicAuth是一种简单的HTTP协议上的认证机制,客户端将用户,密码写入请......
  • 8086汇编语言精讲1 :基础知识
    基础知识   也就是说伪指令和其他符号在编译器上将汇编指令翻译成的机械码改动,形成新的机械码      8086可以寻址2^16大小的数据量,因为它有16根数据总线,同时是在2进制下计数         ......
  • API网关-APISIX简介
    本文分享自天翼云开发者社区《API网关-APISIX简介》,作者:w****nApacheAPISIX是一个动态、实时、高性能的云原生API网关,提供了负载均衡、动态上游、灰度发布、服务熔断、身份认证、可观测性等丰富的流量管理功能。APISIX构建于nginx+ngx_lua的技术基础之上,充分利用了LuaJIT所......
  • CF1835C. Twin Clusters
    题目大意给出一个长为\(2^{K+1}\)的序列,每个元素在\([0,4^K)\)之间,在序列中找到两个不相交的区间使得二者的异或和相等\(K<=17,\sum2^{K+1}<=2^{18}\)题解好题,但最后没有break出去绝杀失败了,rk70=>rk150因为元素大小是\(4^K\)级别的,和大小相关的算法(FWT)都没用了,所以不如直接......
  • mormot1.18 THttpApiServer
    mormot1.18THttpApiServer官方已经推荐使用mormot2,mormot1.18已经进入只修正bug的阶段。THttpApiServer是对windowshttp.sys通信的封装,因此只适用于windows。//cxg2023-2-12//mormot1.18http.sys适用于WINDOWS2003,XPSP2及以后版本unitsock.httpsys;interfaceus......