Installation Environment Vmware Workstation pro It is recommended to use the snapshot to store the state of each installation stage to avoid installation failures and causing the installation to start from scratch. Ubuntu 22.04 windows 11 Hardware settings create 3 VM: 4 cores and 4G memory and 100G capacity Before installing K8s (All use the root user) set host: 192.168.47.135 master 192.168.47.131 node1 192.168.47.132 node2 set root ssh connection: sudo su - echo "PermitRootLogin yes" >> /etc/ssh/sshd_config systemctl restart sshd sudo passwd ssh-keygen for i in {master,node1,node2}; do ssh-copy-id root@$i; done set Ipvs and conf create conf file: for i in {master,node1,node2}; do ssh root@$i 'cat << EOF > /etc/modules-load.d/containerd.conf overlay br_netfilter EOF'; done execute conf: for i in {master,node1,node2}; do ssh root@$i 'modprobe overlay;modprobe br_netfilter;'; done create 99-kubernetes-cri.conf file: for i in {maste...
Designing programs is a common job for every engineer, so templates help simplify the job of designing each program.
Update History
Let everyone know the latest version and update information.
background
Write down why we need this program and what is the background for building this program.
Target
Target functionality
The goal of the program, what function to achieve, the main module and submodule, and these modules' relationship.
Target performance
Specific benchmarks such as QPS or milliseconds to evaluate programs.
Target architecture
Stability.
Readability.
Maintainability.
Extendability.
...
Others Target
Overall design
Design principles and thinking
Explain how and why the program was designed.
Overall architecture
An overall architectural picture.
Dependency
Module dependencies on other modules or programs.
Detail design
Program flow design
Program flow design diagram.
API design
The details of the API, and how to interact with the frontend or backend or modules.
Database design
Concrete SQL syntax.
Implement detail
Explain details not included in the overall design diagram or flowchart.
Compatible design.
Compatible design explanation
Compatible versions between modules, especially whether the client version and server version are compatible.
version dependency
List all version dependencies.
Event Tracking Design
Implementation of program event tracking, how it is collected, and benefits.
Test
The test range
Describe the scope of testing, how many modules, and whether stress testing or stability testing is required.
Test plan
Concrete test cases, including different environments and each test step.
performance test
Test programs under high pressure with large volumes of requests or data.
Online Planning and Risk Assessment
Online Planning
The online version and upgrade steps.
Risk Assessment
If there is a problem with the upgrade, how to deal with it or what are the overall rollback steps.
Unsolved problems
Leaves unsolved or needs discussion questions here.
留言
張貼留言