Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am manjeet-github on github.
  • I am manjeet (https://keybase.io/manjeet) on keybase.
  • I have a public key ASBUxoyQfM-nJjyk47vwxmNns7Ll6jg0XvuDE-WW1odIqgo

To claim this, I am signing this object:

@manjeet-github
manjeet-github / KRHOWT-workshop-links.md
Created April 21, 2020 17:40 — forked from dewan-ahmed/KRHOWT-workshop-links.md
This is a gist containing helpful links for Kubernetes and OpenShift Workshop of April 21 2020 (by IBM Developer)
@manjeet-github
manjeet-github / 000 - Steps Consul Setup
Last active September 16, 2021 16:02
Steps to Setup Consul Cluster, Consul Clients, On-Board Services, Use Service Discovery, Use Service Mesh scenarios
create user=consul and group=consul ( follow - Setup Consul user)
install consul, jq, wget, unzip, bind-utils, ntp, ruby rubygems, git, ca-certificates binary
create folders (/opt/consul, /opt/consul/tls, /opt/consul/data, /etc/consul.d)
Generate certs from Consul-CA for the node & copy the certs and root-CA into /opt/consul/tls
chown -R consul:consul /opt/consul /etc/consul.d
configure /etc/consul.d/consul.hcl - check the consul.hcl section. Make sure "server=client"
configure /etc/profile.d/consul.sh for eenvironment variables (PATH, CONSUL_ADDR, CONSUL_TOKEN)
Setup Consul-Systemd service (follow - Setup-Consul-Systemd-Service)