Skip to content

Instantly share code, notes, and snippets.

@fktkrt
fktkrt / Elasticsearch + Kibana behind NGINX.MD reverse proxy with TLS.md
Last active September 27, 2023 19:15
Elasticsearch + Kibana behind NGINX reverse proxy with TLS

Prerequirements:

  • Have Elasticseach + Kibana installed
  • Have server.basePath: "/kibana" option configured in your kibana.yml file

i. Install NGINX apt install nginx

ii. Modify nginx.conf

In /etc/nginx/nginx.conf you should have a similar setup:

@fktkrt
fktkrt / Using Curator to reindex your Elasticsearch indices.md
Last active November 11, 2019 09:28
Using Curator to reindex your Elasticsearch indices

i. Installation

First, you need to add the Public Signing Key

wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

Add your distro's correct path to /etc/apt/sources.list.d/ with a .list suffix

deb [arch=amd64] https://packages.elastic.co/curator/5/debian stable main

@fktkrt
fktkrt / k8s-cluster-setup.md
Last active October 9, 2019 08:03
Setting up a k8s cluster on vmware vsphere

i. Prerequisites

  • docker

As root, execute the following commands:

apt-get update && apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main