Kubedm deployment K8S

kubeadm is a tool launched by the official community for rapid deployment of kubernetes clusters. This tool can complete the deployment of a kubernetes cluster through two instructions: Create a Master node kubedm initJoin the Node to the current cluster $kubedm join < IP and port of the master Node > Installation requirements Before y ...

Posted by avario on Sat, 30 Oct 2021 13:06:42 -0700

Implementation of Leader election in k8s client go

introduce In recent years, with the increasing demand for reliable systems and infrastructure, the term "high availability" has become more and more popular. In distributed systems, high availability usually involves maximizing uptime and making the system fault-tolerant. In high availability, a common practice is to use redunda ...

Posted by Rheves on Fri, 29 Oct 2021 22:54:48 -0700

Kubernetes binary deployment single node (super detailed) 2

catalogue ​ 5, Deploy master components 1. Operate on the master01 node 6, Deploying Woker Node components 1. Operate on the master01 node 2. Operate on node01 node 3. Operate on the master1 node 4. Operate on node01 node 5. Operate on the master01 node   6. Operate on node01 node 7.node02 node deployment (method 1) node02 node ...

Posted by thefamouseric on Thu, 28 Oct 2021 06:52:12 -0700

Cloud native Java architecture practice K8s+Docker+KubeSphere+DevOps

Introduction: excerpt from Yu que document of Lei Fengyang, a teacher from Shangsi Valley Cloud platform Learn to use pay as you go cloud servers for cost-effective development and testing Private network VPC Network related concepts, how to open a cluster on ECS An ECS has two IPS: public IP and private IP Public IP: the access to ex ...

Posted by tryingtolearn on Tue, 26 Oct 2021 03:27:22 -0700

k8s replicaset controller analysis - core processing logic analysis

replicaset controller analysis Introduction to replicaset controller Replicaset controller is one of many controllers in Kube controller manager component. It is the controller of replicaset resource object. It monitors replicaset and pod resources. When these two resources change, it will trigger the replicaset controller to tune the corresp ...

Posted by glueater on Sun, 24 Oct 2021 15:08:03 -0700

Demo of setting up and deploying Java Web Application in stand-alone K8s environment

Write in front I see it in the book. Take it out and tidy it up separately. Generally, it is cluster deployment. Sometimes learning K8s is too heavy and I don't know how to start:Here I hope to have a preliminary understanding of K8S through my blog.The content of the blog includes: Setup of stand-alone version in K8s environmentTomcat+my ...

Posted by RobinTibbs on Fri, 15 Oct 2021 20:13:57 -0700

A k8s Cluster -- cross cloud server deployment

Poor students can only afford new preferential servers from cloud manufacturers. If they want to play distributed, they can only build cross cloud clusters. However, it is not a cloud manufacturer that is not under the same vpc network. I hereby record many pits Two servers, one Qingyun 4c8g and one Tencent cloud 2c4g 1. Install Docker sudo ...

Posted by tomcurcuruto on Fri, 15 Oct 2021 19:36:19 -0700

k8s! Ingress service

I. ingress Background: The way service exposes services is not appropriate in the actual production environment: ClusterIP Can only be accessed within the cluster. NodePort In this way, the test environment is OK. When dozens or hundreds of services are running in the cluster, NodePort Port management is a disaster. LoadBalance The met ...

Posted by dreamscape on Tue, 12 Oct 2021 20:12:23 -0700

Upgrade, backup, maintenance and resource objects of K8S cluster

1. Upgrade of kubernetes cluster be careful: Small version upgrade, less general problems.For large version upgrade, adaptation and testing must be done well. Rolling upgrade is recommended: master node: First remove a master node from the Kube LB on the node node, and then add it again after upgrading.Then remove the remaining tw ...

Posted by ta2 on Thu, 07 Oct 2021 13:06:15 -0700

Kubernetes (k8s) Ingress principle

1, Overview Kubernetes exposes services in three ways: loadlander Service, NodePort Service and progress. The official website defines ingress as a collection of rules for managing external services to services in the cluster. Generally speaking, it defines rules to allow requests to enter the cluster to be forwarded to the correspondin ...

Posted by sheen4him on Thu, 07 Oct 2021 11:28:51 -0700