Posts

Istio Service mesh

 ISTIO SERVICE MESH: The proxies are collectively called datapalane in istio

Prometheus

Image
 Prometheus: Exporters: Node Exporter(To get Linux machine metrics): Similarly we gave wmi exporter , to collect metrics of windows machines(not officialy supported) See different exporters: here PromQL: PromQL, short for Prometheus Querying Language, is the main way to query metrics within Prometheus

jenkins

Image
 Jenkins pipeline:

Authentication and Authorization

 Web Authentication Methods: HTTP Basic Authentication HTTP Digest Authentication Session-based Auth Token-Based Authentication One Time Passwords OAuth and OpenID Detailed blog:  here  and video  here (Tested with Postman) HTTP is a stateless protocol.So you need to store state using session(cookies) or tokens. Using Sessions the state is stored in the server side and sent to the clinet in response header.So when client want to talks to the server then again this session information needed to be sent using cookies. It work fine for smal applications which are hosted on single host, but when your appliation is large and requires a load balancing solution we need to store that session information in common location eg:Redis. In order to avaoid this, JWT token info in the client side only.So there is no overhead of maintaining state information on the server side JWT:(JSON Web Token) * Best video on internet: video1 , what is JWT and why we need it * Diff between ...

Kind kubernetes cluster

Kind: Must watch video: here To get config file of the cluster, use command   kind export kubeconfig --name <clustername>  kind get kubeconfig >~/.kube/config(Only if you are connected to the cluster and want to get kubeconfig of that cluster) If you want to use specific version of kubernetes with kind, specify the same using --image option while creating cluster  kind create cluster --name testcluster --image kindest/node:v1.23.10@sha256:f047448af6a656fae7bc909e2fab360c18c487ef3edc93f06d78cdfd864b2d12 Note: Images are available under github->releases. click here kind export logs --name <clustername> It copies all logs into host machine inside /tmp/randomnumbers. It containers all the 

Docker classes

  Day1:

Apache tomcat web container