当前位置:网站首页>K8s application (IV) - build a redis5 cluster (for direct external access)
K8s application (IV) - build a redis5 cluster (for direct external access)
2022-06-11 08:47:00 【gmHappy】
Preface
Completed K8S Cluster building , Referable :https://blog.csdn.net/ctwy291314/article/details/124841195
One 、 establish namespace
kubectl create namespace redis-cluster
Two 、 establish NFS Storage
establish NFS Storage is mainly for Redis Provide stable back-end storage , When Redis Of Pod After restart or migration , You can still get the original data . here , We need to create NFS, And then by using PV by Redis Mount a remote NFS route .
2.1 Installation configuration NFS Server side
Due to limited hardware resources , I am here k8s-master To build . Execute the following command to install NFS and rpcbind:
yum -y install nfs-utils rpcbind
among ,NFS Rely on remote procedure calls (RPC) Route requests between the client and server , So you need to install rpcbind service .
边栏推荐
猜你喜欢

一些学习记录i=

Heap can also be regarded as a tree structure. It is specified that the root node must be greater than or less than the left and right child nodes, but the size order of the left and right child nodes

leetcode - 518. 零钱兑换 II

Uniapp plug-in development

go for it Easily manage all types of items with "flying items"

CodeTop - 排序奇升偶降链表

处理RAW格式的图像,需要什么软件?

(1) AAC opening - lifecycle, livedata, ViewModel and source code analysis skills of core component principles (Reprint)

剑指 Offer 10- II. 青蛙跳台阶问题

leetcode - 460. LFU cache
随机推荐
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
Sword finger offer 62 The last remaining number in the circle
leetcode - 518. 零钱兑换 II
Codeworks round 680 div2
centos随笔03:centos8.2安装mysql
ActiveMQ simple tutorial, suitable for beginners, learning notes yyds
Type of SQL command (incomplete)
Redis6 entry-level tutorial. There are integration cases. You can directly see the integration cases. It is easy to get started
Introduction to knowledge atlas -- yedda annotation
(1) AAC opening - lifecycle, livedata, ViewModel and source code analysis skills of core component principles (Reprint)
Web design and website planning assignment 12 online registration form
Sword finger offer 21 Adjust array order so that odd numbers precede even numbers
Icml2022 article intéressant
How to solve the MySQL deadlock problem? Recitation version
Standardized compilation knowledge
@Usage details of postconstruct, initializingbean and initmethod
Entity class conversion cannot be reassigned
(二)从架构设计角度分析AAC源码-我的LiveData
The difference between equals and = =
命名实体识别之CRF的实现方式