摘要:
cat>/etc/yum.repos.d/CentOS-Base.repo<<EOF # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update stat 阅读全文
摘要:
ubuntu安装NFS # config NFS Server apt install -y nfs-common apt install -y nfs-kernel-server apt install -y rpcbind cat>/etc/exports<<EOF /data *(rw,no_ 阅读全文
摘要:
#!/bin/bash # # system init config # cat>/root/iplist.csv<<EOF 2102312PRH10L1000305,enp133s0,168.31.0.14/24,10,bond4,enp131s0,enp132s0,802.3ad,168.17. 阅读全文
摘要:
# 单网卡配置IP地址 network: version: 2 renderer: networkd ethernets: enp131s0: addresses: [ 168.17.0.5/24 ] gateway4: 168.17.0.1 nameservers: addresses: - "1 阅读全文
摘要:
apiVersion: v1 kind: ConfigMap metadata: name: rings-config-mindx-dls-test # The value of JobName must be the same as the name attribute of the follow 阅读全文
摘要:
hostname > /etc/hostname cat>/etc/hosts<<EOF 127.0.0.1 localhost 168.7.10.234 master01 168.7.10.235 master02 168.7.10.236 cli 168.7.10.237 agent EOF # 阅读全文
摘要:
mkdir -p ~/repo.$$ && mv /etc/apt/source.list ~/repo.$$ cat>/etc/apt/source.list<<EOF deb http://mirrors.huaweicloud.com/ubuntu-ports/ bionic main mul 阅读全文
摘要:
apiVersion: v1 kind: Pod metadata: name: pod-2 # labels: # run: mytest-pod-2 spec: containers: - imagePullPolicy: IfNotPresent image: httpd name: http 阅读全文
摘要:
##################################################### # # 创建CA X509 version 1.0根证书 # ##################################################### #创建证书存放目录 C 阅读全文
摘要:
port详解 port:port是k8s集群内部访问service的端口,即通过clusterIP: port可以访问到某个service nodePort:nodePort是外部访问k8s集群中service的端口,通过nodeIP: nodePort可以从外部访问到某个service。 targ 阅读全文