1 Star 0 Fork 0

andy/fluent-operator-walkthrough

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy-es.sh 952 Bytes
一键复制 编辑 原始数据 按行查看 历史
Patrick Stephens 提交于 3年前 . loki: add support
#!/bin/bash
set -eu
# Simple script to deploy Elastic to a Kubernetes cluster with context already set
ES_NAMESPACE=${ES_NAMESPACE:-elastic}
if [[ "${INSTALL_HELM:-no}" == "yes" ]]; then
# See https://helm.sh/docs/intro/install/
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
fi
helm repo add elasticsearch https://helm.elastic.co || helm repo add elasticsearch https://helm.elastic.co/
helm repo update
helm upgrade --install --namespace="$ES_NAMESPACE" --create-namespace --wait elasticsearch elasticsearch/elasticsearch \
--set replicas=1,minMasterNodes=1
# Kibana is provided primarily for visualisation
helm upgrade --install --namespace="$ES_NAMESPACE" --create-namespace --wait kibana elasticsearch/kibana
echo "Kibana deployed, now set up indexes by going to http://localhost:5601/app/management/kibana/indexPatterns after running:"
echo "kubectl port-forward -n elastic svc/kibana-kibana 5601"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anhongyang/fluent-operator-walkthrough.git
git@gitee.com:anhongyang/fluent-operator-walkthrough.git
anhongyang
fluent-operator-walkthrough
fluent-operator-walkthrough
master

搜索帮助