Spring IOC: dependency injection

4. Dependency injection of IOC container The initialization process of IoC container is analyzed in detail. The main work of this initialization process is to establish BeanDefinition data mapping in IoC container. In this process, I didn't see IoC container injecting Bean dependencies. Next, I'll analyze how IoC container injects Bean depende ...

Added by AustinP on Fri, 24 Dec 2021 20:21:04 +0200

k8s restart strategy, health check, environment variable, initialization container

Basic concepts of Pod Pod is the smallest unit created and managed by Kubernetes. A pod consists of one container or multiple containers, which share storage and network. Pod features A Pod can be understood as an application instance that provides servicesThe container in the Pod is always deployed on one NodeThe containers in the Pod s ...

Added by scarface222 on Fri, 24 Dec 2021 06:42:44 +0200

Resource scheduling (nodeSelector, nodeAffinity, taint, Tolrations)

Resource scheduling (nodeSelector, nodeAffinity, taint, Tolrations) Kubernetes is a master-slave distributed architecture consisting mainly of Master Node and Worker Node, as well as client command line tools kubectl and other add-ons. Master Node: As a control node, dispatch management of the cluster; Master Node consists of API Server, Sche ...

Added by salih0vicX on Fri, 24 Dec 2021 04:15:19 +0200

Resource scheduling of k8s

Resource scheduling of K8s Overall architecture of K8s Kubernetes belongs to the master-slave distributed architecture, which is mainly composed of Master Node and Worker Node, as well as the client command line tool kubectl and other additional items. Master Node: as a control node, it performs scheduling management on the cluster; Th ...

Added by john0117 on Thu, 23 Dec 2021 22:42:57 +0200

On container virtualization network

After we install Docker, it will handle all things related to network virtualization for us, but behind this, Docker actually uses multiple features provided by Linux to complete all this. This is also the reason why Docker was criticized as "old wine in a new bottle" when it was first released, In fact, Docker just packages the capab ...

Added by kiwibrit on Thu, 23 Dec 2021 21:45:11 +0200

C++ STL Standard Template Library

1. Basic concept of STL STL(Standard Template Library)STL is broadly divided into container, algorithm and iteratorContainers and algorithms are seamlessly connected through iteratorsAlmost all STL code uses template classes or template functions 2. Six STL components STL is generally divided into six components: container, algorithm, it ...

Added by Boo-urns on Wed, 22 Dec 2021 05:49:46 +0200

Docker's Learning Notes

Docker's Learning Notes 1. Overview of Docker Virtual Machine Data Model: VM Data Disadvantages: High resource usageToo many redundant stepsStart very slowly Containerized technology model: Compare Docker with virtual machine technology: Traditional virtual machines virtualize a piece of hardware, run a complete operating system, ...

Added by PAFTprod on Tue, 21 Dec 2021 09:59:47 +0200

Docker compose orchestration syntax

1, Foreword Docker compose has great learning significance in the application of docker container. Docker compose is a sharp tool for integrating and publishing applications. When using docker compose, it is important to know how to arrange the docker compose configuration file. For the docker compose technology, you can view the official ...

Added by angelkay73 on Thu, 16 Dec 2021 20:43:58 +0200

kind teaching practice

brief introduction Kind (Kubernetes in Docker) is a Kubernetes incubation project. Kind is a set of out of the box Kubernetes environment construction scheme. As the name suggests, it is convenient to build Kubernetes clusters by deploying all components required by Kubernetes in a Docker container. Kind has been widely used in the CI environ ...

Added by jthomp7 on Thu, 16 Dec 2021 06:50:26 +0200

[Spring] IOC core container and XML management Bean

1, IOC (control reversal) Dependency Injection (DI) has the same meaning as control inversion (Ioc), but the same concept is described from different angles. 1. Inversion of control (IoC): leave the creation and calling of objects to Spring for management; (1) IoC purpose: reduce coupling (2) IoC underlying principles: xml parsing, factory ...

Added by thryb on Thu, 16 Dec 2021 00:11:36 +0200