Posts

Apache tomcat web container

terraform by harsha

Image
Class 1:( Introduction and comparision with cloudformation templates & Azure ARM(Azure resource Manager) Developed by HaashiCorp, free version is available and even paid version is available to get support It uses haashicorp language terraform is semi agnostic i.e terraform tool can be used with most of the public clouds bu twe need to mantain separate configurations for each cloud.So we cannot say terraform can be used with all clouds with same code Modules are available in terraform Challanges with CF and ARM: One major challaneg is if we want to created multiple replicas of resource, lets say 3 ec2 instances we need to duplicate code 3 times, no loops concept is available in CF, In ARM we have this concept but way too complex to implement Advantages of using terraform: Drawbacks of using terraform: Most recent version of terraform will have bugs, so better to use old versions If a new feature was introduced in public clouds eg:Lets say aws then it will take some time to get thos...

jenkins

 Slave node configuration using ssh: here

Kubernetes by Harsha

 Imp points: Class 6:(Pods) kubectl port-forward is used for to forward a local port on to the node, doc here Kops default installation comes with kubenet, which has limitations with routing if cluster nodes count is more than 50.We need to use CNI plugins eg:calico,flannel etc By default all the pods in a cluster can talk to each other(flat network), we can restrict this inter pod communication by using some policy rules with calico or flannel and other plugins

Kubernetes FAQ's and Answers

1. Diff between creating a service and exposing a service Answer: here  and here

Yaml Files

Image
 Kunal notes: here Anchors and extension: here

Git common errors and solutions

1.Pulling without specifying how to reconcile divergent branches Solution: here 2. Git log history is inconsisent if we have merges Reason: here 3. 3 ways of re-writing history  Solution: here 4. git rebase Solution: here