Tech

What is kube config in rancher?

Rancher is a widely-used open-source platform for managing Kubernetes clusters. It provides various features and tools to simplify the deployment, management, and operation of Kubernetes clusters. One important aspect of working with Rancher and Kubernetes is understanding the kube config. What is kube config? In Rancher, the kube config is a configuration file that contains…

TIL

TIL: What is gotmpl

Gotmpl is a command-line tool designed to simplify the management of configuration templates in Go projects. It is inspired by the popular template engine in Go’s standard library, text/template, but adds several enhancements and features tailored specifically for managing configuration files. We can use to for helm configurations Key Features of gotmpl: Templating Engine: Gotmpl…

Helm
Tech

Solving “no matches for kind PodDisruptionBudget in version “policy/v1beta1” in helm install

If you’ve encountered the error message “no matches for kind PodDisruptionBudget in version ‘policy/v1beta1′” while installing a Helm chart, don’t worry; you’re not alone. This error often occurs when trying to deploy Helm charts on Kubernetes versions 1.25 and later because these newer versions no longer support the apiVersion policy/v1beta1 for certain resources, including PodDisruptionBudget….

Tech

Leveraging JSON Files with cURL for Efficient Data Transfer

APIs (Application Programming Interfaces) play a crucial role in enabling communication between different software applications. cURL (Client URL) is a command-line tool widely used to transfer data with URLs, supporting various protocols including HTTP, HTTPS, FTP, and more. When dealing with APIs, often data exchange occurs in JSON (JavaScript Object Notation) format due to its…

Tech

Summary of all SSO Related Concepts

Single Sign-On (SSO) has revolutionized the way users authenticate and access applications in today’s digital landscape. By providing a seamless authentication experience and improving security, SSO has become a cornerstone of modern identity and access management (IAM) solutions. In this blog, we’ll delve into the core concepts of SSO, including its benefits, key components and…

Tech

451. Sort Characters By Frequency

Understanding the Problem: Given a string, our goal is to sort its characters based on their frequency. For example, for the input “tree,” the output should be “eert” or “eetr,” as both have the same characters but with different arrangements based on frequency. Approach: To tackle this problem, we’ll employ a HashMap to store each…

Tech

Components in React

React, a JavaScript library for building user interfaces, relies heavily on the concepts of components and props to create modular and reusable code. Let’s explore these fundamental concepts. Components: What is a Component? In React, a component is a self-contained, reusable building block that encapsulates a piece of the user interface and its behavior. Components…

Tech

React Hooks Overview

React Hooks were introduced in React 16.8 to allow functional components to use state and lifecycle features that were previously only available in class components. Hooks provide a more direct and concise way to manage state, side effects, and other React features within functional components. Key Concept State Hook (useState): useState allows functional components to…