SpringBoot combat based on minicube
Nowadays, more Internet companies are trying to move micro services to the cloud. This can manage micro service clusters more easily through some mature cloud container management platforms, thus improving the stability of micro services and improving the team development efficiency. However, there are some technical difficulties in cloud migra ...
Added by parka on Mon, 08 Nov 2021 02:35:30 +0200
Docker from introduction to mastery (illustration + second understanding + the most complete in History)
The article is very long. It is recommended to collect it and read it slowly! Crazy maker circle general catalog language bird version | General directory code cloud version| General directory blog Garden Edition We offer you valuable learning resources:
Free classic books: Java high concurrency core programming (Volume 1) Necessary for inte ...
Added by phpology on Thu, 04 Nov 2021 03:13:19 +0200
Build JVM micro service monitoring based on docker (Prometheus+Grafana)
1, JVM monitoring
Installing node based on docker_ exporter+prometheus+grafana
Download Image package:
docker pull prom/node_exporter
docker pull prom/prometheus
docker pull grafana/grafana
docker pull timonwong/prometheus-webhook-dingtalk
1. Start node exporter
docker run -d --name node_exporter -p 9100:9100 \
-v "/proc:/host/proc:ro ...
Added by bodzan on Tue, 02 Nov 2021 09:27:38 +0200
Docker builds RabbitMQ cluster Nginx+Keepalived high availability
Single nginx agent + mirror queue
Pull image
# Pull image
docker pull rabbitmq:3.8.7-management
# Create mount directory
mkdir -p /data/rabbitmqcluster/{rabbitmq01,rabbitmq02,rabbitmq03}
Create container
# first
docker run -d --hostname rabbitmq01 --restart=always --name rabbitmqCluster01 -v /data/rabbitmqcluster/rabbitmq01:/var/lib/r ...
Added by and1c on Mon, 01 Nov 2021 19:26:55 +0200
k8s cluster deployment - Pod management and resource list
1, Pod management
Pod is the smallest deployable unit that can create and manage Kubernetes computing. A pod represents a process running in the cluster, and each pod has a unique ip.
A pod is similar to a pea pod and contains one or more containers (usually docker s). IPC, Network and UTC namespace are shared among multiple containers.
...
Added by bajer on Fri, 29 Oct 2021 14:05:56 +0300
k8s disk mounted to container volume
1, Data volume type
1 emptyDir
emptyDir: simple empty directory
Data is not stored permanently, but can only be stored temporarily. It is often used to exchange and share data between multiple Docker containers in a pod Create a pod containing two containers that share the same volume
cat <<EOF > fortune-pod.yml
apiVersion: v1
kin ...
Added by milind24 on Mon, 25 Oct 2021 12:41:12 +0300
Docker installation and use
Docker
Install Docker
Uninstall old version
sudo apt-get remove docker docker-engine docker.io containerd runc
Installing using a repository
Before installing Docker engine community on the new host for the first time, you need to set up the Docker repository. After that, you can install and update Docker from the repository.
Set up repo ...
Added by dgudema on Mon, 25 Oct 2021 05:30:39 +0300
Quickly get started with docker Java, which is the most complete example in the whole network. It will take you to step on the pit and fly with you
Step on the pit in advance
As soon as I joined the project team, I began to work with dokcer Java. Since I hadn't contacted it before, I began to look for information throughout the network. Therefore, I found a bunch of blogs, which seem to be similar. Although they can run, my needs have not been realized:
Unable to connect to remote dock ...
Added by anf.etienne on Sat, 23 Oct 2021 13:57:38 +0300
Still using Jenkins? Try Gitlab's CI/CD feature
Before, Jenkins was generally needed to realize automatic packaging deployment. However, Gitlab's CI/CD function can also be deployed automatically, and the operation is simpler. If you are also using Gitlab as a Git repository, you might as well try its CI/CD function.
1, Installation
To realize automatic deployment through Gitlab's CI/CD fu ...
Added by abriggs on Sat, 23 Oct 2021 05:40:01 +0300
Introduction and Example of k8s DaemonSet
We previously said that k8s uses deployment and statefulset workload resources to maintain stateless and stateful applications, respectively. In this short article we will learn how to use DaemonSet to maintain a daemon process (application).
1. What is a DaemonSet?
DaemonSet is a workload resource (daemon) that ensures that a Pod must be r ...
Added by etrooper on Thu, 21 Oct 2021 20:23:34 +0300