06|Use your Docker container
I've talked a lot about the principles before, and I've basically explained the general principles of Docker once. This time, we'll run an example to use the Docker container.
Let's start by writing a simple web server program, hello, in Go. Go, and then run it with Docker. The source code for the Go program is as follows:
package main
impor ...
Added by barry_p on Tue, 28 Dec 2021 11:55:15 +0200
Container service update and discovery of docker consumer
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 through interfaces. Unti ...
Added by robert_gsfame on Mon, 27 Dec 2021 17:49:59 +0200
Docker is gone, Podman is about to rise!
Introduction to PodmanWhat is Podman?Podman is an open source container runtime project that can be used on most Linux platforms. Podman provides functions very similar to Docker. As mentioned earlier, it does not need to run any daemons on your system, and it can also run without root privileges.Podman can manage and run any container and cont ...
Added by bombytza on Mon, 27 Dec 2021 16:16:13 +0200
Container Data Volume Technology for Getting Started with docker
Preface
When we start a container, all kinds of data are stored in the container. Once the docker rm command is executed accidentally, the container will be deleted and the data will be lost. The data generated by the docker container must be persisted in the production environment, and the problem of data sharing among multiple contain ...
Added by russian_god on Mon, 27 Dec 2021 10:28:32 +0200
Jenkins continues to integrate entry to mastery
What is continuous integration
Continuous Integration (CI for short) refers to the frequent (multiple times a day) integration of code into the backbone. The purpose of continuous integration is to enable products to iterate quickly while maintaining high quality.. Its core measure is that the code must pass automated testing before being ...
Added by rashu.dr on Mon, 27 Dec 2021 06:51:46 +0200
Resource scheduling (nodeSelector, nodeAffinity, tail, Tolrations)
Resource scheduling (nodeSelector, nodeAffinity, tail, Tolrations)
1.nodeSelector
nodeSelector is the simplest way to constrain. nodeSelector is pod A field of the spec
Use -- show labels to view the labels of the specified node
[root@master haproxy]# kubectl get node node1 --show-labels
NAME STATUS ROLES AGE VERSION LABEL ...
Added by AE117 on Mon, 27 Dec 2021 01:57:40 +0200
Application of kubernetes workload controller
What is the workload controller
Workload Controllers is an abstract concept of K8s, which is used for higher-level objects, deployment and management of Pod Common workload controllers:
Deployment: stateless application deploymentStateful set: stateful application deploymentDaemon set: ensure that all nodes run the same PodJob: one time t ...
Added by rgilchrist on Sun, 26 Dec 2021 19:47:59 +0200
k8s workload controller
k8s workload controller
1.k8s workload controller
Workloads are applications running on kubernetes. Whether your load is a single component or multiple components working together, you can run it in a set of Pods in Kubernetes. In Kuberneres, pod represents a set of containers running on the cluster. Kubernetes Pods has a defined life cyc ...
Added by Skor on Sun, 26 Dec 2021 11:06:10 +0200
Kubernetes workload controller
Workload Controller
Workload Controllers are an abstract concept of K8s for deploying and managing Pod s at higher levels of objects.
Common workload controllers:
Deployment: Stateless application deploymentStatefulSet: Stateful application deploymentDaemonSet: Make sure all Node s run the same PodJob: One-time taskCronjob: Timed tasks
Cont ...
Added by gchouchou on Sat, 25 Dec 2021 21:48:24 +0200
Linux deploys Nacos and configures the MySQL data source. Put the Springboot configuration file into Nacos and use it
preface
Yesterday all sorts of strange things were as like as two peas in the nacos tutorial. They found that the nacos tutorial was basically a bit like the same. They were copied and copied, so that you could configure a lot of things. The introduction of dependencies was also a great surprise. Even the official tutorials of the librar ...
Added by hkay1 on Sat, 25 Dec 2021 17:34:16 +0200