Category: Blog
-
How to Deploy ECS wordpress container with s3 wordpress media offload with RDS?
Hi Friends, I did POC with ECS wordpress container with s3 wordpress media offload with RDS. I used s3-uploads wordpress media plugin. Here container installs s3-uploads wordpresss media during container start so we don’t need persistance storage. Also we can install other plugin and configure during container start. Code is in terraform,bash and Dockerfile Code…
-
How to update Grafana password (via REST API) which used to authenticate with Prometheus ?
This tutorial I explain REST API used in Grafana to update Password which use to authenticate with Prometheus. Following curl script will gather all data source from Grafana Capture data from Data Source from above output like id, name, access, url, etc for your Prometheus data source Now gather info for Prometheus Data Source like…
-
How to Setup Ingress in Kubernetes on Bare-metal?
To setup Ingress on Kubernetes, We need Load Balancer which should load request on all worker node where ingress controller running as deamonset and listen ingress rules to forward on service of deployment/pods All must have below /etc/hosts configuration of client machine from where we surf website /etc/hosts192.168.225.31 test.me Here 192.168.225.31 is our Haproxy address…
-
How to setup Kubernetes Cluster HA on Bare-metal with haproxy and kube-api load balancing
Our Kubernetes Cluster, Haproxy and Worker Nodes as below in /etc/hosts of all Centos Stream 8 Machine (all nodes including worker,master and haproxy) /etc/hosts192.168.225.31 kube-loadbalancer192.168.225.142 kube-master1192.168.225.232 kube-master2192.168.225.228 kube-master3192.168.225.188 kube-worker1192.168.225.32 kube-worker2 Here Following configuration needed on HAPROXY our Kube API load balancer (kube-loadbalancer) #cat /etc/haproxy/haproxy.cfggloballog /dev/log local0 warningchroot /var/lib/haproxypidfile /var/run/haproxy.pidmaxconn 4000user haproxygroup haproxydaemon stats socket /var/lib/haproxy/stats…
-
What is Openstack made of?
Openstack is platform made to provide cloud computing orchestration. Openstack Component
-
How to use Kubernetes on Openstack with Virtual Network Function/VNF/Could-Native Network Function/CNF?
Points as below: Reference URL : https://docs.openstack.org/tacker/latest/user/containerized_vnf_usage_guide.html
-
EKS Load Balancer and TLS Certificate Termination
If you want to configure Load Balancer on EKS then you need to install ALB Controller using helm Two options for Load Balancing Both option support session stickyness means same request connection from same client goes to same pod. Another option is setup session on Redis/Memcached etc in memory database as central session management so…
-
What is Airflow? How to Use it to automate EMR/Spark/ETL jobs and MLops/MLTrain/MLTest ?
Airflow is tool which used to automate jobs specially Data Engineering Pipeline and also if needed ML Training and MLops. Airflow libarary can be used in Python. Airflow has Task and Jobs. One can Schedule Task base on Time schedule or Event base. Airflow shows all task as web visual display. Airflow Can automate Database…
-
From array of numbers, find 3 numbers such that its Sum is Zero Problem solve using python
There are array of numbers from it we need to find 3 numbers whose sum should zero with minimum loops and minimum combinations. I did following code for it. Suggestions are most welcome. Note: For Analytical purpose if you want to add nodes(Graph Nodes or Items) whose price is more or less or equal like…
-
Which correlation coefficient is resistant to outlier?
Spearman Rank correlation coefficient is resistant to outlier. Formula for it is as below: For example X=[x1,x2,x3,x4,x5,x6] and Y=[y1,y2,y3,y4,y5,y6] Now to find rx we need to order data of X in ascending order with marking its position in another arrray. Example X=[1,3,0,5,3,6]. Now lets sort X and mark sorted array position. Array is like X[1]=1,X[2]=3,X[3]=0,X[4]=5,X[5]=3,X[6]=6.…