How to parse container images in golang code

Introduction: container image plays an extremely important role in our daily development work. Usually, we package the application into the container image and upload it to the image warehouse, and then pull it down in the production environment. Then, when using containers such as docker/containerd, the image will be started and the applicatio ...

Added by veryconscious on Fri, 07 Jan 2022 12:46:28 +0200

nameko pit avoidance note: avoid frequent instantiation of ClusterRpcProxy

See an article Use and precautions of nameko , there is a paragraph about initiating a remote callrpc is followed by the value of the class variable name in the microservice definition, that is, the microservice name, followed by the rpc method, using call_async is called asynchronously, and result is called_ async. result() will wait for the a ...

Added by lavender on Wed, 05 Jan 2022 15:42:16 +0200

podman container

Reference address Official address What is Docker? Docker is an open source application container engine, which belongs to a package of Linux container. Docker provides a simple and easy-to-use container interface, so that developers can package their applications and dependency packages into a portable container, and then publish them to any ...

Added by quadlo on Wed, 05 Jan 2022 10:01:16 +0200

Docker topic series 9: docker building and configuring maven private server Nexus

1, DOCKER builds MAVEN private server 1. Pull the image docker pull sonatype/nexus3 2. Start the image docker run -d -p 8081:8081 --name nexus sonatype/nexus3 3. Configure authentication information In apache-maven-3.5 Settings under 3 \ conf XML Find label <server> <id>nexus-releases</id> <usernam ...

Added by minifairy on Tue, 04 Jan 2022 20:18:11 +0200

Pagoda panel deployment Qinglong panel sign in cloud music, what is worth buying, station b

Pagoda panel deployment Qinglong panel sign in cloud music, what is worth buying, station b Now we will introduce other applications of Qinglong panel, sign in to various websites and get corresponding points and discounts. If you don't have Qinglong installed, please see our last tutorial: Qinglong panel construction tutorial installation, ...

Added by chrisio on Tue, 04 Jan 2022 18:22:30 +0200

Release container server & private image warehouse | Cloud computing

1. Create a custom image 1.1 problems This case requires two methods to create a custom image. The specific requirements are as follows: Starting containers with centos imagesConfigure yum source in containerInstall software bash completion net tools iproute psmisc VIM enhancedCreate a custom image myos:latestValidate custom image 1.2 ...

Added by bellaso on Tue, 04 Jan 2022 16:01:47 +0200

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool

Prometheus is deployed in containers and monitors nodes with Grafan drawing tool Install docker on the master host Environmental description host nameipmaster192.168.200.144client192.168.200.145 Configure docker CE source [root@master ~]# cd /etc/yum.repos.d/ [root@master yum.repos.d]# curl -o docker-ce.repo https://mirrors.tuna.tsinghua.ed ...

Added by rationalrabbit on Tue, 04 Jan 2022 13:43:54 +0200

Metrics server and HPA in kubernetes

1, K8S monitoring component metrics server Installation steps 1.Add open source warehouse [root@k8s-master ~]# helm repo add kaiyuanshe http://mirror.kaiyuanshe.cn/kubernetes/charts/ #Search metrics server [root@k8s-master ~]# helm search repo metrics-server 2.download metrics-server package helm pull kaiyuanshe/metrics-server 3.decompre ...

Added by enoyhs on Tue, 04 Jan 2022 11:46:05 +0200

kubernetes data persistence

Pod is composed of containers, and after the container is down or stopped, the data will be lost. This means that we have to consider the storage problem when we are doing Kubernetes cluster, and the storage volume is created for pod to save data. There are many types of storage volumes. We usually use four types: emptyDir, hostPath, NFS and ...

Added by jhbalaji on Tue, 04 Jan 2022 08:47:17 +0200

Microservice deployment on k8s platform

Micro services involved demo involving three microservices: Service registration and discovery: Eureka serverManagement service: admin serviceUser service: User Service The management service and User service will register with eureka. When accessing the add user api of the Admin service, the Admin service will call the add user api of the U ...

Added by jcubie on Tue, 04 Jan 2022 00:19:23 +0200