[from getting started to giving up - Kubernetes] getting started with Kubernetes - expanding and shrinking stateful applications
Preface
Preceding text [from getting started to giving up - Kubernetes] getting started with Kubernetes - expanding and shrinking stateless applications In, we learned how to deploy a stateless application through yaml file and expand and shrink it.
For stateless applications, in case of failure or pod deletion, relevant resources will be relea ...
Posted by jobe1 on Sun, 26 Apr 2020 03:35:12 -0700
Backup and recovery scheme of cloud disk data volume in ACK cluster
The cloud disk data volume is usually used for data storage when deploying stateful services in the Alibaba cloud ACK cluster. The cloud disk itself provides a backup (snapshot) recovery mechanism for data. However, how to integrate the underlying capabilities and K8S services and flexibly provide them to applications is a problem that the clou ...
Posted by Brit on Sat, 25 Apr 2020 02:56:22 -0700
Discovery and automatic update of docker container service based on consumer (principle + deployment)
Preface
In the previous article, I have described some contents of docker's entry level. This article begins to explain other contents of docker in depth. First, it will talk about the principle and practical operation of the discovery and automatic update part of docker container service.
Talk about the concept and advantages (just look at t ...
Posted by php_gromnie on Fri, 24 Apr 2020 04:41:02 -0700
The introduction and use of docker compose
docker compose: a tool for docker automatic arrangement
Preface
In the last two articles, I played with Dockerfile again, mainly building various service images based on Dockerfile. This paper will introduce and demonstrate the concept and use of docker compose, which is an automatic choreographer tool of docker.
What is docker compose?
Before ...
Posted by czs on Wed, 22 Apr 2020 09:05:49 -0700
Perfect integration of Ceph and kubernetes
1. Ceph combined with volumes
Objective: to achieve Ceph RBD and kubernetes volumes integration.
1.1 preparations
1. Creating pool s and users
[root@node-1 ~]# ceph osd pool create kubernetes 8 8
2. Create an authenticated user
[root@node-1 ~]# ceph auth get-or-create client.kubernetes mon 'profile rbd' osd 'profile rbd pool=kubernetes'
[clie ...
Posted by Huntress on Tue, 21 Apr 2020 07:43:27 -0700
nginx for load balancing
nginx for load balancing &&A server failover automatically forwards requests to another server in the upstream load balancing pool.
Add a health check-up address to determine if the service is working
Uptream for nginx currently supports four ways of allocation
Polling (default) Each request is assigned to a different back-end serv ...
Posted by jcombs_31 on Sat, 18 Apr 2020 17:59:29 -0700
(closing) Python Framework FastAPI: A better API framework than Flask and Tornada
0
Preface
Shared them separately the other day (Introduction) A brief analysis of the Python web framework FastAPI - an API framework with higher performance than Flask and Tornada and (Advanced) Python web Framework FastAPI - A better API framework than Flask and Tornada .Today, we welcome you to the end of the FastAPI series, which is a sup ...
Posted by stezz on Thu, 16 Apr 2020 11:21:32 -0700
[Jenkins+Ansible+Gitlab Automated Deployment three swordsmen] learning notes - Chapter 5 5 5-1~5-5 Freestyle Job practice
Chapter 5: 5-1~5-5 Freestyle Job
1, Three swordsmen Environment Introduction (Jenkins, Ansible, Gitlab)
2, Jenkins, Ansible, Gitlab
2.1. Verify the ansible environment and ssh password free login under Jenkisns
2.2. Write nginx? Playbooks file
2.2.1. Enter nginx? Playbooks folder to write deploy.yml file
2.2.2 create dev and p ...
Posted by kingpin393 on Sun, 12 Apr 2020 19:17:07 -0700
linux builds php performance analysis tool
First on the renderings:
Installation environment
Centos,php7,MongoDB3,nginx
php extension
mongodb: http://pecl.php.net/package/mongodbtideways_xhprof: https://github.com/tideways/php-xhprof-extension
Install MongoDB3
By default, MongoDB2 is installed in my environment yum. xhgui requires version 3 or above.
Create a yum source for MongoDB3
vi ...
Posted by dkjariwala on Sat, 11 Apr 2020 08:17:19 -0700
AspNetCore Containerized (Docker) Deployment - Docker Compose Container Arrangement
I. Preface
The last one deployed the most basic helloworld application, created two containers and a network, and it worked.
If the app continues to introduce services such as mysql, redis, job, and so on, the amount of work it takes to publish at one time is conceivable, and Docker Compose is needed.
Docker Compose is a tool for defining an ...
Posted by ondi on Fri, 10 Apr 2020 17:19:11 -0700