Showing posts from November, 2019

Configure Nginx Ingress Kubernetes with TLS

Secure your kubernetes cluster with nginx ingress with TLS and LetsEncrypt. Note  : Make sure you have intalled helm in your pc. Role : Create role for accessing helm to the cluster. $ kubectl create clusterrolebinding tiller-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default $ helm init Installation :  Install Nginx ingress using helm. $ helm install stable/nginx-ingress --namespace kube-system Deploy :  Deploy Sample Example App. We will deploy nginx webserver in our cluster and access it with nginx ingress, You can deploy whatever app you want. $ helm install stable/nginx --name nginx-app Expose :  Expose it to the Cluster IP. Expose the deployed nginx app to the cluster ip so that ingress can communicate with it. $ kubectl expose deployment nginx-app --type=ClusterIP Ingress :  Create Ingress object to access. Now we will create Nginx ingress to access our app. apiVersion: extensions/v1beta1 kind: Ingress metadata: name

How to Install Go 1.13 on Ubuntu - Linux Guru

How to Install Go 1.13 on Ubuntu. Reference : go-seeklogo Go is an opensource programing language developed by google. It's very popular and many companies using their application in go. It has robust set of library and tools. Many applications such as Docker and Kubernetes are written in Go. In this tutorial i will help you to install Go version  1.13.4  in Ubuntu 18.04. Remove the existing golang You have to remove existing golang from your machine. sudo apt-get purge golang* Download Go. Download the latest version of the Go from it's official website. Click here to more. Extract it in /usr/local using the command below, You have to replace the filename with the actual filename based on the version you have downloaded. tar -C /usr/local -xzf go1.13.4.linux-amd64.tar.gz Create .go directory in home. mkdir /go Set up the environment variables. GOROOT=/usr/local/go GOPATH=~/go PATH=$PATH: