![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kubernetes
文章平均质量分 71
Kubernetes
我滴那个梦
每天一点点,总还是可以的。
展开
-
elasticsearch集群配置
Enabling shard allocation awareness (分片分配感知) elasticsearch集群部署在k8s集群上,遇到了这样一个问题,索引的某个主分片和其副本分片都分配到一个node上。万一出现node挂掉的情况,将出现数据无法恢复,数据缺失的情况。这里可以使用shard allocation awareness来解决这个问题。 # 集群增加如下配置 node.attr.node_name: 'node1' cluster.routing.allocation.awareness.原创 2021-10-24 20:04:12 · 2100 阅读 · 0 评论 -
Kubernetes权威指南:从Docker到Kubernetes实践全接触(第4版)笔记——深入掌握Service
深入掌握Service 通过创建Service,可以为一组具有相同功能的容器应用提供一个统一的入口地址,并且将请求负载分发到后端的各个容器应用上。 Service定义 apiVersion: v1 kind: Service metadate: name: namespace: labels: names: annotations: name: spec: selector: [] type: clusterIP:原创 2021-10-17 11:10:19 · 373 阅读 · 0 评论