Articles by Peter Jausovec

BIOPeter Jausovec is a software and content engineer at Tetrate.io. He has more than a decade of experience in the field of software development and tech, in various roles such as QA (test), software engineering and leading tech teams. He's been working in the cloud-native space for the past couple of years, and delivering talks and workshops around the world. He authored and co-authored a couple of books, latest being Cloud Native: Using Containers, Functions, and Data to Build Next-Generation Applications.

  • How to configure rate limiter in Istio
    How to configure rate limiter in Istio
    Peter Jausovec
    In this article you'll learn how rate limiting works in Envoy and how to configure a local rate limiter on the worloads inside the mesh, as well as at the edge of the mesh for the ingress and ingress gateways.
  • How to expose custom ports on Istio ingress gateway
    How to expose custom ports on Istio ingress gateway
    Peter Jausovec
    This article explains how to expose custom ports on the Istio ingress and how can you use the same host name, but different port, and route the traffic to two (or more) Kubernetes services.
  • Top Cloud-Native Certifications and Learning Resources
    Top Cloud-Native Certifications and Learning Resources
    Peter Jausovec
    A quick overview of top cloud-native certifications - where to take them, how much the certifications cost and which learning resources to use.
  • Kubernetes CLI (kubectl) tips you didn't know about
    Kubernetes CLI (kubectl) tips you didn't know about
    Peter Jausovec
    A collection of more than 20 Kubernetes CLI tips from the community.
  • Setting up SSL certificates with Istio Gateway
    Setting up SSL certificates with Istio Gateway
    Peter Jausovec
    SSL certificates are a must these days. They helps protect the data being sent between the server and the client by encrypting it, which gives your website more credibility. In this blog post I will explore a couple of different ways you can obtain SSL certificates and configure the Istio Gateway to use them.
  • 在 OCI Ampere A1 计算实例上运行 AI
    在 OCI Ampere A1 计算实例上运行 AI
    Peter Jausovec
    本文将向您展示如何在 OCI Ampere A1 上准备和启动计算密集的 AI 应用程序。使用 Ampere A1,我们将发挥 Ampere Altra 处理器和 Ampere AIO 一流的 AI 推理性能。
  • Running AI On OCI Ampere A1 Instance
    Running AI On OCI Ampere A1 Instance
    Peter Jausovec
    In this article, I will demonstrate easy steps of preparing and launching compute-intensive AI applications on OCI Ampere A1 shape to take advantage of the best-in-class AI inference performance of Ampere Altra processor and Ampere Inference Optimizer (AIO).
  • How to configure Firebase emulators with Next.js?
    How to configure Firebase emulators with Next.js?
    Peter Jausovec
    Firebase emulators are a suite of Firebase service emulators that allow you to run and test your applications locally. This article describes how to configure and use them with Next.js
  • Running Hugo on free Ampere VM (Oracle Cloud Infrastructure)
    Running Hugo on free Ampere VM (Oracle Cloud Infrastructure)
    Peter Jausovec
    In this article, I'll take you on a journey of setting up a free-for-life virtual machine instance running on OCI. We'll be creating the account, a virtual machine instance, creating a Github repository with Hugo, setting up Nginx on the VM, and obtaining a free SSL certificate.
  • Monitoring containers with cAdvisor
    Monitoring containers with cAdvisor
    Peter Jausovec
    Monitoring with cAdvisor allows you to gather information about individual Docker containers. cAdvisor runs as a daemon and collects the information about running containers, crunches the data, and exports it to your backend system of choice (Prometheus, ElasticSearch, StatsD). This article shows you how to install cAdvisor and get the metrics to show up on a dashboard in Grafana.
  • Creating a Kubernetes cluster in Google Cloud (LAB)
    Creating a Kubernetes cluster in Google Cloud (LAB)
    Peter Jausovec
    In this first lab in the series of Kubernetes labs, we'll learn how to create a Kubernetes cluster in Google Cloud
  • Your first Kubernetes Pod and ReplicaSet (LABS)
    Your first Kubernetes Pod and ReplicaSet (LABS)
    Peter Jausovec
    You've created your Kubernetes cluster and now it's time to put it to use. In this second lab you'll create your first Kubernetes Pod and your first Kubernetes ReplicaSet
  • Container Lifecycle Hooks
    Container Lifecycle Hooks
    Peter Jausovec
    The concept of hooks is well-known in the tech world. Events usually trigger hooks, and they allow developers to react to those events and run some custom code. But how can you do the same in the context of Kubernetes and containers?
  • Maybe Convert Wasm Extension Config?
    Maybe Convert Wasm Extension Config?
    Peter Jausovec
    Have you ever said "THIS WORKED YESTERDAY!!". Yeah, me too. This could also be titled Living on the edge with Wasm or The tale of a stray character or How I spent way more time I would like to admit, fixing an issue that was completely my fault
  • GetIstio - CLI, training, and community
    GetIstio - CLI, training, and community
    Peter Jausovec
    GetIstio CLI was released this week. GetIstio features aCLI that offers an easier way to install and upgrade Istio, a free Istio Fundamentals training, and a community, with the first meeting coming up on February 18th.
  • Attach multiple VirtualServices to Istio Gateway
    Attach multiple VirtualServices to Istio Gateway
    Peter Jausovec
    In this post, you'll learn how to expose multiple Kubernetes services running inside your cluster using Istio' Gateway and VirtualService resources.
  • Exploring Kubernetes Volumes
    Exploring Kubernetes Volumes
    Peter Jausovec
    Running stateful workloads inside Kubernetes is different from running stateless services. The reason being is that the containers and Pods can get created and destroyed at any time. If any of the cluster nodes go down or a new node appears, Kubernetes needs to reschedule the Pods. When Pods get rescheduled, what happens with data? This article talks about Kubernetes Volumes and how to use them to store the data outside of your containers.
  • Send a Slack message when Docker images are updated
    Send a Slack message when Docker images are updated
    Peter Jausovec
    I needed a way to send a notification to a Slack channel, whenever I push new versions of Docker images to the registry. This post, I explain how I created a function that uses a container registry webhook to call a serverless function that sends a message to a Slack channel.
  • Kubernetes Network Policy
    Kubernetes Network Policy
    Peter Jausovec
    Using the NetworkPolicy resource, you can control the traffic flow for your applications in the cluster, at the IP address level or port level (OSI layer 3 or 4).
  • Ambassador Container Pattern
    Ambassador Container Pattern
    Peter Jausovec
    The ambassador container pattern aims to hide the primary container's complexity and provide a unified interface through which the primary container can access services outside of the Pod.
  • Start Kubernetes Release
    Start Kubernetes Release
    Peter Jausovec
    Start Kubernetes will teach you everything you need to know to use Kubernetes effectively.
  • Sidecar Container Pattern
    Sidecar Container Pattern
    Peter Jausovec
    The sidecar container aims to add or augment an existing container's functionality without changing the container. In comparison to the init container from the previous article, the sidecar container starts and runs simultaneously as your application container. The sidecar is just a second container you have in your container list, and the startup order is not guaranteed.
  • Kubernetes Init Containers
    Kubernetes Init Containers
    Peter Jausovec
    Init containers allow you to separate your application from the initialization logic and provide a way to run the initialization tasks such as setting up permissions, database schemas, or seeding data for the main application, etc. The init containers may also include any tools or binaries that you don't want to have in your primary container image due to security reasons.
  • Deploying multiple Istio Ingress Gateways
    Deploying multiple Istio Ingress Gateways
    Peter Jausovec
    Istio allows you to enable or disable different components, as well as tweak the configuration for them. However, what do you do if you want to deploy another ingress gateway? In this article, I go through a couple of exercises and try to deploy a second ingress gateway.
  • Branch by Abstraction Pattern
    Branch by Abstraction Pattern
    Peter Jausovec
    The strangler pattern is useful for scenarios where you can intercept the calls at the edge of your monolithic application. But what do you do in a scenario where the functionality you're trying to extract is not called directly from the outside, rather it is being called from multiple other places inside the monolith?
  • The Strangler Pattern
    The Strangler Pattern
    Peter Jausovec
    The strangler pattern is used in scenarios when you're migrating from monolithic systems by extracting pieces of functionality and moving that functionality into new services. This article explains how the pattern works and how to implement it.
  • Kubernetes Development Environment with Skaffold
    Kubernetes Development Environment with Skaffold
    Peter Jausovec
    One part of the Start Kubernetes course I am working on (in addition to the book and videos) is the interactive labs. The purpose of these labs is to help you learn Kubernetes by solving different tasks, such as creating pods, scaling deployments, and so on. What follows is a quick explanation of how the end-user experience looks like and how I've set up my development environment for it.
  • Securing Kubernetes Ingress with Ambassador and Let's Encrypt
    Securing Kubernetes Ingress with Ambassador and Let's Encrypt
    Peter Jausovec
    In addition to routing the incoming requests or exposing service API's through a single endpoint, the ingress gateways does other tasks, such as rate limiting, SSL termination, load balancing, authentication, circuit breaking and more. In this article I will show you how to install the Ambassador Gateway and other components to be able to obtain an SSL certificate for your application.
  • All About the Ingress Resource
    All About the Ingress Resource
    Peter Jausovec
    You deployed your applications to Kubernetes and now you need a way for your users to access them. You can do that with a Kubernetes Ingress resource and an Ingress controller. This article explains all about the Ingress resource and shows you how to expose multiple applications through a domain, subdomain and on a different URL path.
  • How to quarantine Kubernetes pods?
    How to quarantine Kubernetes pods?
    Peter Jausovec
    To investigate and debug the containers within a pod you need to remove the pod from the load balancing pool, so none of the traffic gets sent to it. This tip shows you how to do that.
  • Getting started with Kubernetes
    Getting started with Kubernetes
    Peter Jausovec
    In this multi-part series of articles I'll try and capture everything I think someone who wants to learn and work with Kubernetes should know about. If you have read any of my previous articles or courses you know that I like to learn by practice and trying things out. I'll explain theoretical things, but will focus more on the practical parts.
  • Horizontal partitioning in MongoDB
    Horizontal partitioning in MongoDB
    Peter Jausovec
    In this article, I'll talk a bit about data partitioning. Specifically, I'll talk about horizontal data partitioning or sharding. After a brief 'theoretical' part, I'll show you an example of how you can configure sharding with MongoDB. You will be able to run three MongoDB shards, a configuration server, and a router on your computer, using Docker compose.
  • Docker image tagging scheme
    Docker image tagging scheme
    Peter Jausovec
    In this short article I'll talk about two things - the latest tag in Docker and why you should be careful when using it and how you should come up with your own tagging scheme for your Docker images.
  • Six things to keep in mind when working with Dockerfiles
    Six things to keep in mind when working with Dockerfiles
    Peter Jausovec
    I have been using Docker directly or indirectly for years now. During that time I shot myself in the foot multiple times by not following suggestions and good practices. I have collected tips and practices and separated them into multiple categories. I am calling these categories Dockerfiles, images, and containers. The first part talks about Dockerfiles - I have included 6 tips and practices you should try and adopt.
  • Beginners guide to Docker
    Beginners guide to Docker
    Peter Jausovec
    Understanding concepts around Docker images and containers is crucial for anyone starting in cloud-native. Regardless if you're in development, DevOps or program management (or any other technical role :). Once you grasp the basics of Docker it will be so much easier for you to understand things like Kubernetes, service meshes and pretty much any other cloud-native tool works. You can think of this guide as the first practical guide to learning about cloud-native.
  • Beginners guide to gateways and proxies
    Beginners guide to gateways and proxies
    Peter Jausovec
    Have you heard of gateways, proxies, load balancer, API gateways? This article explains what gateways are, what is their purpose and how they work with practical examples
  • Managing service meshes with Meshery
    Managing service meshes with Meshery
    Peter Jausovec
    If you ever wanted to quickly evaluate service meshes and even run a couple of performace tests, you might want to look into Meshery. Meshery is a multi-service mesh management plane for lifecycle, config and performance management of service meshes.
  • What is circuit breaking?
    What is circuit breaking?
    Peter Jausovec
    A circuit breaker is an automatically operated electrical switch designed to protect an electrical circuit from damage caused by excess current from an overload or short circuit. How does that apply to your services and Istio service mesh?
  • Build and push your Docker images using Github Actions
    Build and push your Docker images using Github Actions
    Peter Jausovec
    This article explains how to build a simple CI using Github Actions. It involves triggering the workflow only on version file changes, parsing the image names and then building, tagging and pushing the images to the Docker registry.
  • Kubernetes and Istio service mesh workshop materials
    Kubernetes and Istio service mesh workshop materials
    Peter Jausovec
    In the past year, I have done multiple workshops on Kubernetes, Istio and cloud-native development. As part of my workshops I usually start with theory and explain the concepts using slides, show some demos, but then it's on you, the participant to try out the technology yourself.
  • Build Netlify-like deployment for React app using Kubernetes pods
    Build Netlify-like deployment for React app using Kubernetes pods
    Peter Jausovec
    Ever wondered how you can build your own system that automatically updates your React app each time you push changes to the repository where your app is hosted? In this article I explain how you can use build a Netlify-like deployment for React apps using a multi-container Kubernetes pod.
  • Six exciting enhancements in Istio 1.4.0
    Six exciting enhancements in Istio 1.4.0
    Peter Jausovec
    Istio 1.4.0 was released on November 14th and it came with a lot of new features and enhancements. In this article I go through my favorite six improvements, including the new and simple way of installing Istio and opening dashboards.
  • Fallacies of Distributed Systems
    Fallacies of Distributed Systems
    Peter Jausovec
    The fallacies of distributed computing or distributed system are a collection of eight statements made by L. Peter Deutsch and others at Sun Microsystems about false assumptions people new to developing distributed applications make. Here's the list of 8 fallacies of distributed systems
  • CAP Theorem Explained
    CAP Theorem Explained
    Peter Jausovec
    The CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed system to simultaneously provide more than two out of the following three guarantees - consistency, high availability, and partition tolerance.
  • Master the Kubernetes CLI (kubectl) - Cheatsheet
    Master the Kubernetes CLI (kubectl) - Cheatsheet
    Peter Jausovec
    This Kubernetes CLI (kubectl) cheatsheet contains the most common commands you will use when working with Kubernetes clusters and Kubernetes resources. If you're working with Kubernetes on daily basis or if you're just learning about Kubernetes you will run into a set of commands that are used often than the other commands. The ones used more often are also usually easy to remember (especially if you're typing them out multiple times a day).
  • Minikube Basics and How to Get Started with Kubernetes
    Minikube Basics and How to Get Started with Kubernetes
    Peter Jausovec
    This post and accompanying video guides you through the Minikube installation process. It explains and introduces a couple of essential Minikube commands you can use to work with your Kubernetes cluster, and shows you how to access your applications inside the cluster when using Minikube.
  • 5 Tips to Be More Productive with Kubernetes
    5 Tips to Be More Productive with Kubernetes
    Peter Jausovec
    I like to read and see how people set up their environments and any tools, tips, and tricks they use to be more productive when working with Kuberentes and Istio. What follows is a collection of 5 tips and tools that I use daily and I think it makes me be more productive with Kuberentes and Istio.
  • What are sticky sessions and how to configure them with Istio?
    What are sticky sessions and how to configure them with Istio?
    Peter Jausovec
    The idea behind sticky sessions is to route the requests for a particular session to the same endpoint that served the first request. That way to can associate a service instance with the caller, based on HTTP headers or cookies. You might want to use sticky sessions if your service is doing an expensive operation on first request, but later caching the value. That way, if the same user makes the request, the expensive operation will not be performed and value from the cache will be used.
  • Debugging Kubernetes applications using Istio
    Debugging Kubernetes applications using Istio
    Peter Jausovec
    This article explains how you can use Istio in combination with ngrok to debug a service running locally on your machine while the production version of the service is running in the cluster
  • Kubernetes Ingress and Istio Gateway Resource
    Kubernetes Ingress and Istio Gateway Resource
    Peter Jausovec
    By default, any service running inside the service mesh is not automatically exposed outside of the cluster which means that we can't get to it from the public Internet. Similarly, services within the mesh don't have access to anything running outside of the cluster either.
  • Zero Downtime Releases using Kubernetes and Istio
    Zero Downtime Releases using Kubernetes and Istio
    Peter Jausovec
    The idea behind zero downtime release is to release a new version of the service, without affecting any users — i.e., users don't even know when a new version of the service is released. A practical example would be if you have a website running, how can you can you release a new version without taking the site down?
  • Traffic Mirroring with Istio Service Mesh
    Traffic Mirroring with Istio Service Mesh
    Peter Jausovec
    In addition to more “traditional” traffic routing between different service versions, that can be based on a variety of incoming requests properties, such as portions of the URL, header values, request method, etc., Istio also supports traffic mirroring.
  • Expose a Kubernetes service on your own custom domain
    Expose a Kubernetes service on your own custom domain
    Peter Jausovec
    You have finally deployed your app to Kubernetes and you bought a cool domain name — ever wondered how to point your cool domain like www.mydomain.com, but cooler, to an application running inside Kubernetes? Well, read on and I'll try to explain how to do just that!
;