Velero is an open source tool to safely backup and restore, perform disaster recovery, and migrate Kubernetes cluster resources and persistent volumes
There are many different ways in which you can backup your kubernetes cluster. The most basic one is to backup the etcd cluster and store it somewhere like amazon S3.
kubectl -n kube-system exec -it etcd-master — sh -c “ETCDCTL_API=3 \ ETCDCTL_CACERT=/etc/kubernetes/pki/etcd/ca.crt ETCDCTL_CERT=/etc/kubernetes/pki/etcd/server.crt \ ETCDCTL_KEY=/etc/kubernetes/pki/etcd/server.key etcdctl — endpoints=https://127.0.0.1:2379 \ snapshot save /var/lib/etcd/snapshot.db “
However, you won’t be able to backup the etcd cluster of kubernetes services like EKS, AKS or GKE as there you don’t have access to…
This is the final blog of our series. In this Blog I’ll help you with:
1. Creating a Jenkins Multi-Branch Project
2. Run Your first build
3. Edit Service and add DNS to your Service Load Balancer
4. Finally, set up your Traffic Manager
This Blog is continuation of part 1
In this blog I’ll help you set up your development environment for our canary project.
$ sudo su - jenkins
$ kubectl versionSETUP FOR UBUNTU USER
1. Add kubectl path to /etc/environment
2. Run source /etc/environment from your terminal
3. Install docker and add Jenkins user to it
$ sudo usermod -aG docker jenkins
4. Install azure cli and login…
In this blog I’ll help you setup your Kubernetes Cluster and Nodes using Azure Kubernetes Service (AKS). This Blog is a part of the series CANARY DEPLOYMENT IN AKS.
Please follow these steps to create your own AKS Cluster
While I was working with Minikube, I tried to run minikube dashboard on my Ec2 Server instance and I faced a problem while accessing it. Either you have to run a secure https connection or you need to run a Remote Desktop to access the localhost on which your dashboard is running.
In this post I’ll be discussing an alternate way to access the Minikube Dashboard. I’ll create a SSH Tunnel to access the dashboard.
Here is the architecture diagram:
I am assuming that you have installed minikube in your EC2 instance. If not then please refer to my this…
Hi Scholars, in this post I will help you setup your kubernetes work environment in Linux Cloud VM like (AWS EC2 instance or AZURE Container).
Throughout this blog, I’ll give some reference of the documentation so that you, if in future something change, you can directly refer the docs for latest update.
So, without wasting our time, let’s begin
To setup kubernetes environment, we need to install the following in our cloud VM:
1. Docker : docker-ce:18.06 or above
Let’s talk about each of them and install them accordingly:
This blog will help you setup your Jenkins on Docker Container.
If you are learning these technologies for the first time, I would suggest you to use Cloud based Virtual Machines like (AWS EC2, or Azure VM or GCP Compute Engine)
I am using Ubuntu O.S. for this Setup
0. Uninstall Old Version of Docker Container
$ sudo apt-get remove docker docker-engine docker.io containerd runc
1. Update the
aptpackage index and install packages to allow
aptto use a repository over HTTPS:
$ sudo apt-get update
$ sudo apt-get install \
>> sudo apt insatll ansible python-pip
>> git clone https://github.com/elastic/ansible-elasticsearch
tox is an automation project we use to run our testing scenarios. It gives us the ability to create a dynamic matrix of many testing scenarios, isolated testing environments and provides a single entry point to run all tests in an automated and repeatable fashion
>> apt install tox
>> cd ansible-elasticsearch
>> mkdir -p roles/elastic.elasticsearch
>> mv defaults/ handlers/ meta/ docs/ filter_plugins/ helpers/ tasks/ templates/ test/ vars/ files/ roles/elastic.elasticsearch
Amazon Textract makes it easy to add document text detection and analysis to your applications. The Amazon Textract Text Detection API can detect text in a variety of documents including financial reports,medical records, and tax forms. For documents with structured data, you can use the Amazon Textract Document Analysis API to extract text, forms and tables.Amazon Textract is based on the same proven, highly scalable, deep-learning technology that was developed by Amazon’s computer vision scientists to analyze billions of images and videos daily. You don’t need any machine learning expertise to use it. Amazon Textract includes simple, easy-to-use APIs that…
This is the continuation of the part one blog. In this blog we’ll write some code, and walk through the process of creating the infrastructure as shown in the previous blog. We’ll use AWS CDK (cloud development kit)to make our infrastructure in python!!! Yes, you don’t need to write cloud formation scripts in YAML or JSON format, you can write it in your favorite language.