A secret in the programming world refers to a sensitive data such as a password, a token, or a key. Kubernetes provides a way to store it on the pod without having to include it in your application image. This mechanism is called a Secret in the Kubernetes world. Secrets are similar to configmap, however, … Continue reading What are Kubernetes Secrets?
Author: Anjana Shankar
My journey to CCSK certification
It took me about 4 weeks from deciding to pursue CCSK certification to getting CCSK certified. This blog post is an attempt to share my journey. About CCSK Certificate of Cloud Security Knowledge or CCSK as popularly known is one of the leading certification in the space of cloud security. It is offered by Cloud … Continue reading My journey to CCSK certification
What is a ConfigMap in Kubernetes?
Today, in the world of application development, it's recommended to separate the configuration from the code. Kubernetes' ConfigMaps helps us do this. Create a ConfigMap ConfigMap allows you to define key and values or a properties file that can be used either at startup of the pod, or as a mount on the pod. https://gist.github.com/anjanashankar9/25cd25e6cc0ecb46da948f1b9b6578fe Create a configmap … Continue reading What is a ConfigMap in Kubernetes?
What is a causal inference?
Overview Causality is the relationship between a cause and effect. In distributed systems, ordering of events is challenging, as timestamps across nodes cannot be compared. This is where causality is useful in the distributed system. Causality and the happens-before relationship Let’s define an event as something happening at one node. This something can be either sending or receiving … Continue reading What is a causal inference?
How to use a liveness probe for applications on Kubernetes?
What is a liveness probe? Liveness probes are used by the kubelet (kubernetes agent) to identify when to restart a container. The kubelet can identify a pod crash and restart the pod in such an event. However, at times, it may happen that the pod is alive but the application is in a state where … Continue reading How to use a liveness probe for applications on Kubernetes?
What is a Zero Trust Network?
A zero trust network is exactly what its name implies, a completely untrusted network. It is also called permiterless security and provides five fundamental assertions on which to build the network: All the data sources and computing services are considered resources.All communication is secured, regardless of network location.Every device, user, and network flow is authenticated and authorized.Policies … Continue reading What is a Zero Trust Network?
Builder Design Pattern – Implementation in Java
I have discussed Singleton Pattern, Observer Pattern, Factory Pattern, Decorator Pattern, and Command Pattern in my previous posts. In this one I will be talking about the Builder Design Pattern. What is the Builder Design Pattern? Builder pattern helps us in creating an immutable class with a large set of state attributes. One of the popular methods of … Continue reading Builder Design Pattern – Implementation in Java
Parsing command-line flags in Go
Golang has a built-in package called flag that enables one to parse command-line flags. The flag package allows you to define String, Bool, or Int flags. To be able to access the parameters passed as arguments to the command line execution of your program, three steps need to be completed. Define the flag.Bind the flag.Parse the flag. Syntax An example of how flag is used … Continue reading Parsing command-line flags in Go
Structure Equality in Golang
What is a struct in Go? A struct or structure in Go is a user-defined type. It helps with composing different types into a single unit. https://gist.github.com/anjanashankar9/d427d0cfe225c01c7631afd71153bdf7 When can you compare two structures? In order to compare two structures, it is imperative that all struct field types are comparable. If the variables being compared belong to different structures, then you will see a … Continue reading Structure Equality in Golang
Command Design Pattern – Implementation in Java
I have discussed Singleton Pattern, Observer Pattern, Factory Pattern and Decorator Pattern in my previous posts. In this one I will be talking about Command Design Pattern. What is a Command Pattern? Command Design Pattern is a pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later … Continue reading Command Design Pattern – Implementation in Java
You must be logged in to post a comment.