Posts
Video Streaming Protocols
What is a Video Streaming Protocol? A streaming protocol is a set of rules that define how data communicates from one device or system to another across the Internet. Video streaming protocols standardized the method of segmenting a video stream into smaller chunks that are more easily transmitted.
A codec is the part of a video streaming protocol that makes your files smaller by deleting unimportant information. For example, when a codec processes a video with a still background that remains the same for a minute.
Posts
Reduce Load Balancer Cost in Kubernetes
Reducing load balancer costs in Kubernetes involves optimizing your load balancing resources and configurations. Here are some strategies to help you lower your load balancer costs:
Use Ingress Controllers:
Instead of creating individual load balancers for each service, consider using an Ingress controller. Ingress controllers allow you to define routing rules and SSL termination for multiple services using a single load balancer. Utilize NodePort Services:
NodePort services expose your application on a static port on each node in the cluster.
Posts
Kubectl Commands
GETTING STARTED This section contains the most basic commands for getting a workload running on your cluster.
run will start running 1 or more instances of a container image on your cluster. expose will load balance traffic across the running instances, and can create a HA proxy for accessing the containers from outside the cluster. Once your workloads are running, you can use the commands in the WORKING WITH APPS section to inspect them.
Posts
Kubectl Cheatsheet
Command line tool (kubectl) 1: kubectl Cheat Sheet 2: kubectl Commands 3: kubectl 4: JSONPath Support 5: kubectl for Docker Users 6: kubectl Usage Conventions Kubernetes provides a command line tool for communicating with a Kubernetes cluster’s control plane, using the Kubernetes API.
This tool is named kubectl.
For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.
Posts
Retrieves Multiple Variable in Gcp Secret Manager With Json Format
To create a Google Cloud Function in Go that retrieves variables from Google Cloud Secret Manager in JSON format, you’ll need to use the Google Cloud Functions SDK and the Secret Manager client libraries. Here’s a step-by-step guide on how to do it:
Set up your development environment:
Make sure you have the Go programming language installed on your machine. Install the Google Cloud SDK and set up your Google Cloud project.
Posts
Find Replace in Vim or Vi
Find and Replace in Vim / Vi This article describes how to find and replace text in Vim / Vi.
Vim is the most popular command-line text editor. It comes preinstalled on macOS and most Linux distributions. Finding and replacing text in Vim is quick and easy.
In Vim, you can find and replace text using the :substitute (:s) command.
To run commands in Vim, you must be in normal mode, the default mode when starting the editor.
Posts
Find Command in Linux or Unix
Find Command in Linux (Find Files and Directories) The find command is one of the most powerful tools in the Linux system administrators arsenal. It searches for files and directories in a directory hierarchy based on a user given expression and can perform user-specified action on each matched file.
You can use the find command to search for files and directories based on their permissions, type, date, ownership, size, and more.
Posts
Google Cloud Platform Guide
A guide for getting started with Google Cloud including the Tools and Applications that will make you a better and more efficient engineer with Google Cloud. Note: You can easily convert this markdown file to a PDF in VSCode using this handy extension Markdown PDF.
Table of Contents Google Cloud Learning Resources
Developer Resources GCP Training & Courses GCP Books YouTube Tutorials Google Cloud Tools
Google Cloud Devops Tools Integration
Posts
Different Types of Api
There are several types of APIs commonly used on the internet. Before you dive too deep into the details of using Postman, it is worth knowing a bit about the different kinds of APIs and how to recognize and test them. In the following sections, I will provide brief explanations of the three most common types of APIs that you will see on the internet.
REST APIs We’ll start with what is probably the most common type of API you’ll come across on the modern web, the RESTful API.