30 Commits

Author SHA1 Message Date
a1e390287d Merge pull request #7 from alexohneander/dependabot/npm_and_yarn/zod-3.23.8
build(deps): bump zod from 3.21.4 to 3.23.8
2024-08-12 10:01:36 +02:00
351eff1e15 Merge pull request #5 from alexohneander/dependabot/npm_and_yarn/sharp-0.32.6
build(deps): bump sharp from 0.32.1 to 0.32.6
2024-08-12 10:01:24 +02:00
dependabot[bot]
3114fca069 build(deps): bump sharp from 0.32.1 to 0.32.6
Bumps [sharp](https://github.com/lovell/sharp) from 0.32.1 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.32.1...v0.32.6)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 08:01:06 +00:00
b14b975ef6 Merge pull request #6 from alexohneander/dependabot/npm_and_yarn/babel/traverse-7.25.3
build(deps): bump @babel/traverse from 7.22.5 to 7.25.3
2024-08-12 10:01:02 +02:00
87fbaff137 Merge pull request #8 from alexohneander/dependabot/npm_and_yarn/postcss-8.4.41
build(deps): bump postcss from 8.4.24 to 8.4.41
2024-08-12 10:00:38 +02:00
dependabot[bot]
ecf293c153 build(deps): bump postcss from 8.4.24 to 8.4.41
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.24 to 8.4.41.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.24...8.4.41)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 08:00:18 +00:00
d7566f1472 Merge pull request #4 from alexohneander/dependabot/npm_and_yarn/vite-4.5.3
build(deps): bump vite from 4.3.9 to 4.5.3
2024-08-12 10:00:02 +02:00
7c08062e35 Merge pull request #3 from alexohneander/dependabot/npm_and_yarn/braces-3.0.3
build(deps): bump braces from 3.0.2 to 3.0.3
2024-08-12 09:59:54 +02:00
0aa7005de9 Merge pull request #2 from alexohneander/dependabot/npm_and_yarn/undici-5.28.4
build(deps): bump undici from 5.22.1 to 5.28.4
2024-08-12 09:59:43 +02:00
dependabot[bot]
e536f05258 build(deps): bump zod from 3.21.4 to 3.23.8
Bumps [zod](https://github.com/colinhacks/zod) from 3.21.4 to 3.23.8.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.21.4...v3.23.8)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:59:24 +00:00
48346c9c6f Merge pull request #1 from alexohneander/dependabot/npm_and_yarn/fast-xml-parser-4.4.1
build(deps): bump fast-xml-parser from 4.2.6 to 4.4.1
2024-08-12 09:59:20 +02:00
dependabot[bot]
2e28aa45bb build(deps): bump @babel/traverse from 7.22.5 to 7.25.3
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.5 to 7.25.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:58:52 +00:00
dependabot[bot]
3516342fea build(deps): bump vite from 4.3.9 to 4.5.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.9 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:58:49 +00:00
dependabot[bot]
98beb48e6d build(deps): bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:58:48 +00:00
dependabot[bot]
555d0a011e build(deps): bump undici from 5.22.1 to 5.28.4
Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:58:44 +00:00
dependabot[bot]
157cc7780a build(deps): bump fast-xml-parser from 4.2.6 to 4.4.1
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.2.6 to 4.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.6...v4.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 07:58:44 +00:00
974236e5a4 Create dependabot.yml 2024-08-12 09:57:59 +02:00
Alex Wellnitz
c141f27773 ci: update container image 2024-06-25 14:50:18 +02:00
Alex Wellnitz
30f08c832c feature: add new experience 2024-06-25 14:48:23 +02:00
3ff0c470a6 feat: Update Article 2023-11-03 23:39:43 +01:00
18ef7639f6 ci: Update Image version 2023-11-03 23:11:42 +01:00
864ce4bb42 feat: Add Image in Article 2023-11-03 23:11:17 +01:00
dd8a19de73 ci: Update Image Version 2023-11-03 22:41:18 +01:00
8e72b765f7 feat: New Article 2023-11-03 22:40:40 +01:00
c9c18dad91 Update vscode-debug-settings-collection.md 2023-09-29 10:54:44 +02:00
Alex Wellnitz
688230661f ci: Update container image 2023-09-26 14:55:08 +02:00
Alex Wellnitz
05de27abe9 2.3.10 2023-09-26 14:54:30 +02:00
Alex Wellnitz
1209346a71 fix: update packag.json 2023-09-26 14:54:23 +02:00
Alex Wellnitz
3db6264f66 feat: update sitemap plugin 2023-09-26 14:53:44 +02:00
4c08105626 Update values-prod.yaml 2023-09-25 18:04:01 +02:00
7 changed files with 1141 additions and 323 deletions

11
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

View File

@@ -2,7 +2,7 @@ image:
repository: alexohneander/alexohneander-astro
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v2.3.8"
tag: "v2.3.14"
ingress:
enabled: true

1329
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "alexohneander-astro",
"version": "2.3.7",
"version": "2.3.10",
"scripts": {
"dev": "astro check --watch & astro dev",
"start": "astro dev",
@@ -27,7 +27,7 @@
},
"devDependencies": {
"@astrojs/react": "^2.1.3",
"@astrojs/sitemap": "^1.3.1",
"@astrojs/sitemap": "^1.4.0",
"@astrojs/tailwind": "^3.1.2",
"@divriots/jampack": "^0.11.2",
"@tailwindcss/typography": "^0.5.9",

View File

@@ -0,0 +1,90 @@
---
author: Alex Wellnitz
pubDatetime: 2023-11-03T19:20:50+02:00
title: Highly scalable Minecraft cluster
postSlug: highly-scalable-minecraft-cluster
featured: true
draft: false
tags:
- kubernetes
- minecraft
- cluster
ogImage: ""
description: How to build and configure a highly scalable Minecraft server
---
Are you planning a very large Minecraft LAN party? Then this article is for you. Here I show you how to set up a highly scalable Minecraft cluster.
### What is a Minecraft cluster?
A Minecraft cluster is a Minecraft server network that consists of multiple Minecraft servers. These servers are connected to each other via a network and can therefore be shared. This means that you can play with your friends on a server that consists of multiple servers.
### How does a Minecraft cluster work?
A Minecraft cluster consists of several components.
<!-- Image -->
![Minecraft cluster](https://github.com/MultiPaper/MultiPaper/raw/main/assets/multipaper-diagram.jpg)
#### Master database
First, there is the master database. This database allows servers to store data in a central location that all servers can access. Servers store chunks, maps, level.dat, player data, banned players, and more in this database. This database also records which chunk belongs to which server and coordinates communication between servers.
#### Server
The master database is great for storing data, but not so good at synchronizing data in real time between servers. This is where peer-to-peer communication comes in. Each server establishes a connection to another server so that data between them can be updated in real time. When a player on server A attacks another player on server B, server A sends this data directly to server B so that server B can damage the player and apply any knockback.
#### Load Balancer
The load balancer is the last component of the cluster. A load balancer is required to distribute players evenly across your servers. A load balancer automatically distributes players between servers to distribute the load evenly across the individual servers.
### Why do I need multiple servers?
By having multiple servers, we can distribute the load across multiple servers. This means that we can have more players on our servers without the servers becoming overloaded. With this setup, we can also easily add new servers if we get more players. If the number of players decreases again, the server can be removed again.
## Preparation
You should be familiar with Kubernetes and have set up a Kubernetes cluster. I recommend [k3s](https://k3s.io/).
You should also be familiar with Helm. I recommend [Helm 3](https://helm.sh/docs/intro/install/).
## Installation
First, you should clone the repository.
```bash
git clone git@github.com:alexohneander/MultiPaperHelm.git
cd MultiPaperHelm/
```
I installed the entire setup in a separate namespace. You can create this namespace with the following command.
```bash
kubectl create namespace minecraft
```
Next, we install the Minecraft cluster with Helm.
```bash
helm install multipaper . --namespace minecraf
```
Once the Helm chart is installed, you can view the port of the proxy service.
```bash
kubectl describe service multipaper-master-proxy -n minecraft
```
This port is the port that you need to enter in your Minecraft client.
## Configuration
The Helm chart creates several ConfigMaps. In these ConfigMaps, you can customize the configuration of your cluster.
For example, you can set the number of maximum players or change the description of the server.
For more information on the individual config files, see [MultiPaper](https://github.com/MultiPaper/MultiPaper).
## Conclusion
With this setup, you can easily set up a highly scalable Minecraft cluster. You can easily add new servers if you get more players and remove them again if the number of players decreases again.
You can test this setup under the following Server Address: `minecraft.alexohneander.de:31732`
If you have any questions, feel free to contact me on [Email](mailto:moin@wellnitz-alex.de) or on [Matrix](https://matrix.to/#/@alexohneander:dev-null.rocks).

View File

@@ -29,3 +29,19 @@ description: In this post, we will show you how to create a MySQL server backup
]
}
```
### Java Remote VSCode debugging
**launch.json:**
```json
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Attach)",
"projectName": "MyApplication",
"request": "attach",
"hostName": "localhost",
"port": 8787
}
]
```

View File

@@ -49,6 +49,18 @@ Agency for internet and design founded in 1998, established in Kastellaun in the
## Projects
### DevOps Engineer, Cofinity-X
**since 2023**
Cofinity-X is the first operator of the Catena-X network, connecting automotive partners at every level of the value chain. As a DevOps engineer, I was responsible for the enablement services.
- Deployment of various open source Projects with GitOps and ArgoCD
- Managing projects on a Kubernetes clusters
- Communication with end customers (support, troubleshooting)
- Analysis of problems and spikes in load
- Planning new projects and deploying to the Kubernetes clusters
### DevOps Engineer, Amamed
**until 2023**