[Dockerfile in root directory] IDEA integrates docker. When packaging, the image is automatically built and pushed to the remote docker server
Write in front
IDEA integrates docker. Port 2375 of docker needs to be opened
Docker opens 2375 port to realize remote access: https://blog.csdn.net/single_0910/article/details/121201709
environment
Linux Environmental Science: Ubuntu18.04 LTS
IDEA Version: 2019.3.5
Install Docker plug-in
slightly
IDEA 2019 Version and above, installed ...
Posted by stuffradio on Tue, 09 Nov 2021 02:39:50 +0100
Kubernetes--Pod management and configuration apiversion: v1kind: configmapmetadata: Name: cm appvarsdata: apploglevel:
1, Configuration management of Pod
The best practice of application deployment is to separate the configuration information required by the application from the program, so that the application can be reused better, and better functions can be realized through different configurations. After the application is packag ...
Posted by apocryia on Sun, 07 Nov 2021 01:28:18 +0100
Remember to empty the gitlab code warehouse and restore the disk again
preface
The story happened on a dark and windy night. An unusual phone call came and said that the business was in a hurry to go online, but their API package could not be uploaded to the company's maven private library. The leader asked me to support and see how to solve it. After years of unreliable intuition, the disk should be full. So he ...
Posted by akrytus on Tue, 02 Nov 2021 10:10:37 +0100
How to access the host from within the docker container
Recently, I started envoy proxy, pulled the envoyproxy/envoy:latest image, and conducted a local test. However, when the proxy failed, I recorded the whole process.
Configure agent
Refer to envoyproxy official Front end agent sample configuration As a blueprint, it has changed to its own configuration. The contents are as follows:
static_res ...
Posted by craigerjs on Tue, 02 Nov 2021 08:05:43 +0100
Continuous integration (CI) and container management learning notes
1. DockerMaven plug-in
Microservice deployment method:
Manual deployment: package and generate jar s based on the source code and upload them to the server.Automatic deployment through Maven plug-in.
1.1 automatic deployment steps of Maven plug-in:
Modify the docker configuration of the host so that it can be accessed remotely. Add - h ...
Posted by LacOniC on Mon, 01 Nov 2021 18:56:52 +0100
How Kubernetes Controller Manager works
Original text connection: https://blog.ihypo.net/15763910382218.html
This article is based on reading the source code of Kubernetes v1.16. The article has a certain source code, but I will try to describe it clearly through the drawings
In the Kubernetes Master node, there are three important components: ApiServer, ControllerManager and Sched ...
Posted by Arrow on Mon, 01 Nov 2021 08:01:37 +0100
hadoop basic configuration and pseudo distribution implementation
hadoop basic configuration and pseudo distribution implementation
catalogue
1, Basic environmental preparation
Operating system preparation
Installing ubuntu virtual machines Mirror address: https://mirrors.nju.edu.cn/ubuntu-releases/18.04/ubuntu-18.04.6-desktop-amd64.iso If docker is used docker pull ubuntu:18.04 Source change
...
Posted by FFEMTcJ on Tue, 26 Oct 2021 16:07:53 +0200
k8s log collection and deployment efk elastic search + fluent D + kibana
k8s log collection and deployment efk elastic search + fluent D + kibana
After the k8s cluster is built, because the pods are distributed in different node s, the log viewing becomes more complicated. When the number of pods is small, you can query the log through the log command provided by kubectl. With the increase of the number of pods, ...
Posted by pestilence669 on Tue, 26 Oct 2021 07:14:08 +0200
Container service update and discovery of docker consumer
1, Consul overview
(1) What is service registration and discovery Service registration and discovery is an indispensable component in microservice architecture. At first, services are single node, which does not guarantee high availability, and does not consider the pressure bearing of services. Calls between services are simply accessed t ...
Posted by MBDesktop on Mon, 25 Oct 2021 13:50:01 +0200
Enterprise operation and maintenance practice -- k8s learning notes and k8s scheduling
1. Introduction to kubernetes dispatching
The scheduler uses kubernetes' watch mechanism to discover newly created pods in the cluster that have not yet been scheduled to nodes. The scheduler will schedule each unscheduled Pod found to run on a suitable Node.
Kube scheduler is the default scheduler for Kubernetes clusters and is part of the c ...
Posted by jakebrewer1 on Mon, 25 Oct 2021 06:12:18 +0200