#Python Python 101 : Reading text from a file The below example reads input from the " /home/albert/file " file and prints it: We use " StopIteration " exception to exit a loop so i January 24, 2023 Share
Python 101 : Iterables and variable-length tuples in a list Iterables are objects that we can loop through, like - lists, tuples, sets, dictionaries, strings, ... -. We have the below list with different member January 19, 2023 Share
Python 101 : Iterating through lists an dictionaries We have the below list composed of pairs, we list it using the below: We could also list the pairs as below: We could also list all the elements of the l January 16, 2023 Share
#Istio, #Kubernetes Istio 101 : "Envoy" sidecar injection into a kubernetes deployment Injection of sidecar in a kubernetes application, means that istio is going to modify the deployment's Yaml file of our pods to include a side car January 10, 2023 Share
#Bash Bash 101 : Script default arguments When using a bash script, we could have "replacement" default arguments if none are given. Our example replaces the " $1 " with repla January 04, 2023 Share
#Istio Istio 101 : Loadbalancing, attempts and retries - DestinationRule, VirtualService - Istio provides loadbalancing for kubernetes . It also supports retries for failing pods and circuit breaking to reject requests for pods with a " de January 02, 2023 Share
#Istio Istio 101 : Traffic routing -Virtual services and Destination rules - Istio allows us to set routing rules that dictates how traffic flows to our pods . For that purpose Istio uses DestinationRules and VirtualServices . The December 28, 2022 Share
#Kubernetes Kubernetes 101 : Scaling a stateful set The below diagram represents the scaling down of a statefulset named db1 : Before scaling down our statefulset , we check the pods and we see that there December 23, 2022 Share
#Istio Istio 101 : Manual injection of an Envoy sidecar into a deployment We can inject a sidecar proxy in a running deployment of pods . Envoy is the default proxy for Istio . Below is a diagram that shows an injected Envoy contai December 19, 2022 Share
#ansible Ansible 101 : Configuring the managed machines to communicate with the Ansible controller We start by checking if the ssh server is installed on the managed machine : Then we check its status, to see if the ssh process is running and ready fo December 16, 2022 Share
#kvm, #Virtualization KVM 101 : Virtual machine storage pools and storage volumes Beside the default storage pool created when KVM is installed on, we could set up our directory-based storage . We will start by defining a storage pool December 09, 2022 Share