k8s cluster deployment and container application deployment
Because the departmental oa system is deployed in the form of multi tenancy in k8s, it usually only solves some common errors in k8s. I have always wanted to seriously study the deployment process of k8s. After all, I know that the problems can be solved faster after the deployment process, so I took the time to study it.
1, k8s common compo ...
Added by mosherben on Fri, 04 Mar 2022 01:42:14 +0200
Java framework born of "cloud": building native executable files
Today, let's take a look at how fast the native executable built by Quarkus can be faster than the Spring application. The maturity of ecology is not discussed here.
TLDR
First, let's draw a conclusion and make a comparison with the Spring Web application with only one Controller.
Application start time: 0.012s vs 2.294s
...
Added by dfownz on Thu, 03 Mar 2022 22:45:29 +0200
Kubernetes(k8s) -- cluster deployment
catalogue
1, Introduction to Kubernets
1.1 Kubernetes advantages
1.2 Kubernetes architecture design
1.3 kubernete service architecture
2, Kubernetes deployment
2.1 basic environment configuration
2.2 disable swap partition
2.3 configure yum source of kubernetes and install components
2.4 setting kubernetes command completion function
...
Added by broheem on Thu, 03 Mar 2022 09:41:11 +0200
Using nacos as the configuration center
nacos Alibaba is an open source application architecture. Its core is "service", which provides a series of functions such as service discovery, configuration center and micro service management around services.
The reason for choosing nacos is Chinese ecology, which is simple and easy to use.
Key features of nacos (extracted from o ...
Added by mrinfin1ty on Wed, 02 Mar 2022 10:52:44 +0200
Binary installation Kubernetes (k8s) v1 23.4 ---
6.k8s component configuration (different from point 4)All k8s nodes create the following directoriesmkdir -p /etc/kubernetes/manifests/ /etc/systemd/system/kubelet.service.d /var/lib/kubelet /var/log/kubernetes6.1. Create apiserver (all master nodes)6.1.1master01 node configurationcat > /usr/lib/systemd/system/kube-apiserver.service << ...
Added by pranav_kavi on Tue, 01 Mar 2022 05:51:45 +0200
Introduction to k8s actual combat
preface
This blog will introduce how to deploy and access an nginx service in a k8s cluster. This article is a brief introduction to the following five concepts. The details are in the subsequent blog posts of the column.
Namespace
introduce
Namespace is a very important resource in k8s system. Its main function is to realize resource i ...
Added by cypher235 on Mon, 28 Feb 2022 16:18:28 +0200
Gopher to Rust hot eye grammar ranking
Gopher to Rust hot eye grammar rankingAuthor: Zhongyi - sealos author, sealer initiatorTOP 10 often forget to write semicolonsfn add_with_extra(x: i32, y: i32) -> i32 {
let x = x + 1; // sentence
let y = y + 5; // sentence
x + y // expression
}When you first turn from golang, you must often forget to write semicolons. For Rust la ...
Added by N1CK3RS0N on Mon, 28 Feb 2022 11:32:54 +0200
Docker: deploy Nginx reverse proxy
Docker: deploy Nginx reverse proxy
Environmental preparation
The following services are required
DockerDocker compose (Docker Desktop under Windows / MacOS comes with it, which can be installed without additional installation)Node. JS (used to start an express back-end service. If there are other services such as java+tomcat and golang, ...
Added by robinstott on Mon, 28 Feb 2022 11:20:38 +0200
Basic knowledge review of Docker relearning series
Docker
Official document address: https://www.docker.com/get-started Chinese Reference Manual: https://docker_practice.gitee.io/zh-cn/
What is Docker
Official definition
# 1. Official introduction
- We have a complete container solution for you - no matter who you are and where you are on your containerization journey.
- translat ...
Added by rajb on Mon, 28 Feb 2022 07:46:15 +0200
A case study of kubernetes Service concept
This paper mainly illustrates with examples:
As shown below, a Pod collection that provides web services is composed of two copies of Tomcat containers. The service port number provided by each container is 8080:
apiVersion: apps/v1
kind: Deployment
metadata:
name: webapp
spec:
replicas: 2
selector:
matchLabels:
app: webap ...
Added by tckephart on Sat, 26 Feb 2022 09:52:48 +0200