Container experience of traditional. NET 4.x applications
In Windows Container, how to check the abnormal information of the system without logging?
1 about Windows event log
In the past, when deploying ASP.NET applications based on IIS, if the specified log is not written, we often use the Window event log to view some error messages.
Although the readability and ease of use of the event log are not ...
Added by border20 on Sun, 28 Nov 2021 09:59:13 +0200
[docker series] docker learning VII, DockerFile writing and actual combat
Let's start learning about DockerFileDcokerFile is a file used to build a docker image. It is a command parameter scriptSteps to build a general docker image:1. Write a dockerfile file2. docker build builds into an image3. docker run run image4. docker push publish image (we can publish it to DockerHub or alicloud)Let's see how the official ima ...
Added by AbiusX on Sun, 28 Nov 2021 05:12:47 +0200
Docker series] docker learning 7, DockerFile writing and actual combat
Let's start learning about DockerFile
DcokerFile is a file used to build a docker image. It is a command parameter script
Steps to build a general docker image:
1. Write a dockerfile file
2. docker build builds into an image
3. docker run run image
4. docker push publish image (we can publish it to DockerHub or alicloud)
Let's see how th ...
Added by coderage on Sun, 28 Nov 2021 04:57:04 +0200
Deploy k8s cluster in kubedm mode, v1.19.1, and the whole process is super detailed
Deploying k8s clusters in kubedm mode
Official documents:
<https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/>
Remember to turn off the firewall and selinux. The number of cpu cores should be at least 2
Official documents for kubedm deploying k8s highly available clusters:
<https://kubernet ...
Added by mcdsoftware on Wed, 24 Nov 2021 23:18:58 +0200
Kubernetes Cluster Multi-tenant Resource Management
WeChat Public Number: Operations and Maintenance Development Story, Author: double winter
1. Overview
Start with two important Pod parameters: CPU Request and Memory Request. In most cases, we do not define these two parameters when defining a Pod, and Kubernetes assumes that the Pod requires very few resources and can be scheduled on any a ...
Added by devangel on Wed, 24 Nov 2021 21:47:50 +0200
DRF framework serialization
brief introduction
DRF (Django REST framework) is a powerful and flexible toolkit for building RESTful web APIs. It is a secondary development based on Django framework. It is called DRF framework or REST framework for short.
characteristic
It provides a powerful Serializer serializer, which can serialize and deserialize efficientlyIt provid ...
Added by loweauto on Tue, 23 Nov 2021 22:57:49 +0200
How does the partner system allocate memory
How does the partner system allocate memory
Partner system
The partner system is derived from the Solaris Operating System of Sun company. It is an excellent physical memory page management algorithm on the Solaris Operating System. However, good things are always easy to be stolen or imitated by others, and the partner system has also be ...
Added by power3 on Tue, 23 Nov 2021 09:52:28 +0200
Apes are responsible for maintaining neat Git submission records. Three brochures are for you
background
Everyone has learned how to write code in a standard and concise way, but they rarely learn how to submit code in a standard and concise way. Now we basically use git as a tool for source code management. Git provides great flexibility. We submit / merge codes according to various workflow s. This flexibility is not well controlled ...
Added by bradgrafelman on Mon, 22 Nov 2021 21:25:10 +0200
The java project is manually packaged into the linux docker image
Locally:
This packaging method only needs jar packages. Add maven packaging plug-ins. There are many plug-ins that can be packaged into jar packages. Here are a few.
spring-boot-maven-plugin
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
...
Added by mcog_esteban on Mon, 22 Nov 2021 11:22:50 +0200
Docker network and container interconnection
@[TOC] # Docker network and container interconnection
Resource Recommendation
Configure network on Docker official website: https://docs.docker.com/network/
Docker network details: https://blog.csdn.net/meltsnow/article/details/94490994
Docker has four network modes: https://www.jianshu.com/p/22a7032bb7bd
Use network
Network drivennameOff ...
Added by jane on Sun, 21 Nov 2021 13:10:50 +0200