Terraform Script example
Write a Terraform script which create a ubuntu ec2-instance and copy a ansible playbook, install ansible and run it.
Read moreDevOps – DevSecOps – SRE – DataOps – AIOps
Lets Learn, Do it & Share! Thats a DevOps!!!
Write a Terraform script which create a ubuntu ec2-instance and copy a ansible playbook, install ansible and run it.
Read moreWhat is jenkins? -Continuation Integration toola tool that is used for automation-have multiple relaeses(like jenkins,enterprise jenkins,jenkinsx etc.,)-integrates all the tools-scheduling capability-feedback capability-Easy Distribution-It works or runs on java as it is written in java-It is available for almost all the popular operating systems -available as a normal installer, as well as a.war file-it is easy to configure-close to 1500+ plugins available-Jenkins will be installed on a server where the central build will take place.-Jenkins allows seamless, ongoing development, testing, and
Read more1.What is Time Series database?-sequence of datapoints collecte at regular intervals over a period of time-High write performance-Data compaction-Fast,easy range queries-fewer queries-writes to recent interval. How prometheus is good for time series metrix? open source monitoring solution-monitoring and alerting tool kit What are components of prometheus?-The Prometheus Server:It collects metrics in the form of time series data from nodes and stores them.The process of collecting metrics is referred to as scraping.-Client Libraries and Exporters: Prometheus stores data in a time
Read moreWrite a Ansible Playbook to create a group called “deploy” 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd” 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6. Write a Ansible Playbook to
Read moreProgram 1 – Write a Ansible Adhoc Commands to create a group called “deploy Program-2 – Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Program 3 – Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Program 4 – Write a Ansible Adhoc commands to start and enable the service named “httpd” Program 5 – Write a Ansible commands to create a file called
Read moreWhat is a Service?-a type of kubernetes resource responsible for exposing an interface to pods enables network access from either within the cluster or between external processes and the service. What are the types Services?1.ClusterIP– exposes a service which is only accessible from within the cluster2.NodePort– exposes a services via static port on each node’s IP which help to access service from outside the cluster3.LoadBalancer– exposes the service via the cloud provider’s load balancer4.ExternalName– Maps a service to a predefined
Read more1.Declarative language. -nonprocedural or very high level ex: JSON,YAML,XML etc.., 2.pros and cons of Declarative language adv: -short & efficient -easy optimisation. dis: -complex
Read more1.What is POD? -Atomic units of scheduling-no POD is duplicated-contains one or more containers-POD will be running as long as containers inside the pod is running. 2.Types of PODS? -Tightly coupling POD/Multi container pod.-Loosly coupled POD/Single container pod. 3.What POD contains? -POD contains single or multiple containers which share same IP address. 4.Lifecycle of the POD?
Read more1.What is Kubernetes? -container archestrator-load balancer -infrastructure abstraction -desired state 2.Why Kubernetes? -kubernetes can manage scalability challenges of containers-we’re starting to view the data center as a computer 3.Kubernetes Architecuture. MASTER NODE -apiserver-cluster store-controller manager-scheduler WORKER NODE-kubelet-container engine-kube-proxy 4.How Kubernetes Works?
Read more