Pod Resource Management for K8s and Creation of Harbor Private Mirror Warehouse (with mirror pull operation, with troubleshooting in the middle)

pod is the smallest unit of k8s management There are multiple containers in a pod and only one in a real production environment Characteristic: 1. Minimum Deployment Unit2. A collection of containers3. A container in a Pod shares a network command space4.Pod is transient Pod container classification: 1:infrastructure container base conta ...

Posted by mhalloran on Sun, 16 Feb 2020 00:15:40 +0100

Building a simple picture server with Tomcat

Prerequisite Tomcat 7.0.90 Method 1: modify the configuration file Add a sub label in < host > in the TOMCAT_HOME/conf/server.xml configuration file: <Context docBase="C:\exambase\" path="/img"/> Method 2: add Servlet Create a new application, add the following Servlet, deploy the application and start Tomcat. package com.lun.se ...

Posted by smokenwhispers on Tue, 11 Feb 2020 18:36:00 +0100

Using external Servlet container in SpringBoot

1, Comparison between the spring boot embedded Servlet container and the external Servlet container The embedded Servlet container application packs the program as Jar package, and the external Servlet container application packs the program as War package. Advantages of embedded Servlet container: s ...

Posted by halfman on Tue, 04 Feb 2020 18:49:04 +0100

idea creates maven's springboot project

1. Create a project: 1. Create a new project: 2. Click next 3. Choice dependency: Select a web project here 4. Customize the project name and path: The structure path of the created project is as follows: Project Start: Click Run to run The startup log is as follows: Indicates ...

Posted by l9pt5 on Sat, 01 Feb 2020 05:52:48 +0100

tomcat deployment under Linux

Install tomcat Environment: java environment configured First, go to the official website to download the Tomcat package, http://tomcat.apache.org/, and choose the version you need. Here's a demonstration of Tomcat 9 There are many options to click in Download tar.gz under the core, upload it to the s ...

Posted by thomas2 on Sat, 01 Feb 2020 01:30:04 +0100

Setting up a Web course in Shandong University

Some insights about the web, the web course really reaps a lot (although the final score is not ideal). From the beginning of the simple coping course to watching the online learning, it can be said that the course can still reap a lot if you study carefully, so if you are browsing this blog post is SDU ...

Posted by lovelys on Fri, 31 Jan 2020 04:51:11 +0100

Get to know SpringBoot in one article

Write before I should have gone to Hangzhou on February 2nd to find a job, because the outbreak of the epidemic had to postpone my trip. Why not do anything at home?Better play games and watch movies than go out and brag with the interviewer.I first came into contact with SpringBoot in Black Malleyou S ...

Posted by theda on Fri, 31 Jan 2020 02:12:37 +0100

Using shell+crontab to clean up logs regularly

Background introduction Scan the specified log directory every hour, empty the file directly after it exceeds 100M, and use it as a temporary means of operation and maintenance. The source code is mainly composed of two functions: reviewLogs() determines the log size and clears it; getdir() determines whether it is a dire ...

Posted by Erestar on Tue, 28 Jan 2020 18:02:16 +0100

Spring Boot with external Tomcat

In this article, I'll run the Spring Boot application on an external Tomcat.For me, this is a real situation and I have to solve this problem, so I also consulted a good teacher and got a lot of help.I hope you can provide some useful information when you encounter similar problems. Let's look at some common problems you might encounter when st ...

Posted by thestars on Thu, 09 Jan 2020 07:48:14 +0100

Nginx+Tomcat realize 80 port forwarding 8080 port

Nginx+Tomcat implements port 80 forwarding port 8080. First Install Nginx Secondly, install jdk, that is, configure java environment, then install Tomcat, and then modify forwarding, proxy address and port. Install and configure Nginx Reference link: https://blog.csdn.net/Sunny_Future/article/details/81353755 Open Nginx, ...

Posted by pb4life55 on Wed, 08 Jan 2020 18:37:55 +0100