极客时间对于推广渠道会有返利优惠,比如山月在极客时间买了一门课,再把课程分享给好友购买,这时极客时间会向山月返利20元左右。
而我现在做了一个返利平台,你可以在上边通过山月的链接购买课程,此时极客时间会向我返利。为了共同学习,而你可以添加我的微信 (shanyue94),我将把极客时间给我的返利发一个红包全部返给你

# 在 k8s 集群中部署 ES

# 通过 helm 部署

# WARNING

Elasticsearch requires some changes in the kernel of the host machine to
work as expected. If those values are not set in the underlying operating
system, the ES containers fail to boot with ERROR messages.

More information about these requirements can be found in the links below:

  https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html
  https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html

This chart uses a privileged initContainer to change those settings in the Kernel
by running: sysctl -w vm.max_map_count=262144 && sysctl -w fs.file-max=65536
$ sysctl -w vm.max_map_count=262144 && sysctl -w fs.file-max=65536

# 查看状态

$ kubectl get pods
es-elasticsearch-coordinating-only-54d9f9698f-5mhdx   1/1       Running            0          7h26m
es-elasticsearch-coordinating-only-54d9f9698f-xgnsb   1/1       Running            0          7h26m
es-elasticsearch-data-0                               1/1       Running            79         7h26m
es-elasticsearch-master-0                             1/1       Running            79         7h26m

# 部署成功

$ curl es-elasticsearch-coordinating-only:9200
{
  "name" : "es-elasticsearch-coordinating-only-54d9f9698f-5mhdx",
  "cluster_name" : "elastic",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "7.7.1",
    "build_flavor" : "oss",
    "build_type" : "tar",
    "build_hash" : "ad56dce891c901a492bb1ee393f12dfff473a423",
    "build_date" : "2020-05-28T16:30:01.040088Z",
    "build_snapshot" : false,
    "lucene_version" : "8.5.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

关于山月

我的项目:
我的微信:shanyue94,欢迎交流
Last Updated: 7/21/2019, 11:25:08 AM