Setup of the experiment Machine Interface Bridge IP PC1 eth0 vmbr10 192.168.10.2/24 ROUTER eth0 vmbr10 192.168.10.1/24 ROUTER eth1 vmbr20 192.168.20.1/24 PC2 eth0 vmbr20 192.168.20.2/24 Bridge ( vmbr 10 and 20) You can create the bridge by modifying this file (on Proxmox). micro /etc/network/interfa...
Let’s do this step-by-step. We’ll break it into two main phases: Phase 1: Continuous Integration (CI). We’ll set up a workflow where git push automatically builds and publishes your app’s Docker image. Phase 2: Continuous Deployment (CD). We’ll install a tool in K3s tha...
Why Helm Charts are So Useful Think of Helm as apt or brew for Kubernetes. You’ve just seen that deploying even a « simple » app like WordPress requires at least 5-6 separate YAML files (Deployment, Service for WP, Deployment, Service for MySQL, Secret, PVCs, Ingress). Helm bundles all of ...
Persistent Storage: In Docker, you’d use a volume like -v /my/files:/var/www/html to save your data. In Kubernetes, you need a way to do this that works even if your app (Pod) gets moved to a different node. We’ll use PersistentVolumeClaims (PVCs) for this. Secrets: You should never put ...
Set up the app npm init -y Install Express, Mocha, and Chai (for the tests). Here, we install chai@4.3.10 as it handles CommonJS imports, while version 5 does not. npm install express npm install mocha chai@4.3.10 supertest --save-dev Create the Express app Create an app.js file: // app.js const exp...
Resolving Proxmox Update Errors: A Guide for Home Labs proxmox Error: command 'apt-get update' failed: exit code 100 Understanding the Problem Proxmox VE, by default, includes enterprise repositories in its configuration. These repositories provide access to features and updates intended for product...
In the Proxmox terminal: Install ethtool run apt install ethtool -y List the IP Addresses ip addr Search for your network card; in my case: 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000 link/ether 9c:7b:ef:b5:bd:c1 brd ff:ff:...
Setting Up WireGuard with Docker Compose You can deploy WireGuard easily using Docker Compose. Below is an example of a docker-compose.yml file. Modify it to suit your needs. This configuration creates a WireGuard container that listens on UDP port 51820 and maps it to the container’s internal por...
Additionally, compressing images can have a significant impact on your website’s egress costs and the environment. Reducing the overall size of a website means less data is transferred, which lowers bandwidth costs and energy usage. Websites that are lighter and faster are more efficient and eco-f...
How to fix the big image issue ? Pure HTML approach : Non optimized : <img src='https://placeimg.com/800/400/tech' class='img-responsive img-center'> Optimized : In this example we provide multiple urls for the same image. The browser will pick a specific url depending on the width of the scre...
How to check if the website contains blocking JavaScript? Test the website on PageSpeedInsight and look for this warning “Eliminate render-blocking JavaScript in above-the-fold content”. The tool will list the blocking files but I recommend you to double-check in the source code. To do so, look ...
In this step, the server can perform different tasks, like requesting data from a database, calling a web-service, or calculating results… How to check the Time To First Byte? Go to https://WebPageTest.orgi In this example, we can see that the TTFB is 4335 ms, which indicates a TTFB issue. Pay...
Minio Server (Port 9000) The service running on port 9000 is the primary Minio server. This is the main entry point for interacting with the Minio object storage system. Here are its key functions: Object Storage Service: This is where you can upload, download, and manage your objects (files) in the...
I have an ML-2165w printer my dad gave me. It’s a great little laser printer—compact and cheap to run. But I found you can’t install the driver on the newest Mac anymore, even though the hardware works just fine. I didn’t want to throw this printer away, as it’s still worki...