Linux安装NFS
1、创建共享目录和权限设置 [root@k8s-master ~]# mkdir -p /data/nfs [root@k8s-master ~]# chown -R 755 /data/nfs/ [root@k8s-master ~]# ll /data/ 2、通过yum进行安装 [root@k8s-master ~]#yum -y install nfs-utils rpcbind 3、配置 nfs,nfs 的默认配置文件在 /etc/exports 文件下,在该文件中添加下面的配置信息: [root@k8s-master ~]# vim /etc/exports /data/nfs *(rw,sync,no_root_squash) ####备注相关配置说明 /data/nfs:是共享的数据目录 *:表示任何人都有权限连接,当然也可...
k8s搭建测试kafka
一、安装单节点kafka(自己测试过) 1、创建zookeeper服务 zookeeper-service.yaml内容如下: #Service apiVersion: v1 kind: Service metadata: name: kafka-zookeeper-service labels: name: zookeeper-service spec: selector: name: kafka-zookeeper-pod type: NodePort ports: - name: "zookeeper" port: 2181 targetPort: 2181 zookeeper-deploy.yaml内容如下: #Deployment apiVersion: apps/v1 kind: Deployment metadata...
免费内网测试 DNS泛域名nip.io/sslip.io
官方网站: nip.io sslip.io 主要用途及备注: 微信小程序调用,不用FRP了,可以直接 使用 http://192.168.1.100.nip.io或 https://192.168.1.100.sslip.io K8S集群内也可以直接 用192.168.1.100.nip.io了 nip.io Dead simple wildcard DNS for any IP Address Stop editing your etc/hosts file with custom hostname and IP address mappings. nip.io allows you to do that by mapping any IP Address to a hostname using the following formats: Without a name: 10.0.0.1.nip.io...