上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: yum install -y placement openstack-placement-api keystone创建用户/授权/服务/端点 openstack service create --name placement --description "Placement API" placeme 阅读全文
posted @ 2020-04-19 13:20 Le1543 阅读(351) 评论(0) 推荐(0) 编辑
摘要: yum install -y openstack-glance /etc/glance/glance-api.conf cat > /etc/glance/glance-api.conf << EOF [database] connection= mysql+pymysql://glance:gla 阅读全文
posted @ 2020-04-19 13:05 Le1543 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 部署认证服务 分别安装mariadb/mongodb/rabbitmq/keystone/httpd/memcached yum install -y --downloaddir=./ --downloadonly yum install -y python-openstackclient open 阅读全文
posted @ 2020-04-19 12:43 Le1543 阅读(129) 评论(0) 推荐(0) 编辑
摘要: https://mirrors.aliyun.com/centos 改如下 cat > /etc/yum.repos.d/op.repo << EOF[openstack]name=openstack mirrors.aliyun.combaseurl=https://mirrors.aliyun. 阅读全文
posted @ 2020-04-11 18:22 Le1543 阅读(1490) 评论(0) 推荐(0) 编辑
摘要: vi /etc/sysconfig/network-scripts/ifcfg-eth0 qemu-kvm 用户态管理工具libvirt 管理kvm(kvm是一个进程)的工具,他有个后台进程,他只是一个工具,不是kvm,哪怕进程挂了kvm也正常运行virt-install 安装虚拟机用的yum in 阅读全文
posted @ 2020-04-10 22:40 Le1543 阅读(420) 评论(0) 推荐(0) 编辑
摘要: kubectl create -f deployment.yml kubectl autoscale deployment dnginx --min=2 --max=6 --cpu-percent=80 动态伸缩 [root@220 ~]# kubectl get horizontalpodauto 阅读全文
posted @ 2020-04-09 12:20 Le1543 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 服务端 yum install -y nfs-utils rpcbind mkdir -p /wp/{data,code} echo "/wp/data 192.168.3.0/24(rw,async,no_root_squash,no_all_squash) ">>/etc/exports \ & 阅读全文
posted @ 2020-04-09 11:51 Le1543 阅读(805) 评论(0) 推荐(0) 编辑
摘要: yum install iptables-services systemctl mask iptables ip6tables ebtables && iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWA 阅读全文
posted @ 2020-04-09 00:27 Le1543 阅读(125) 评论(0) 推荐(0) 编辑
摘要: apiVersion: v1 kind: ReplicationController metadata: name: nginxrc spec: replicas: 3 selector: app: nginx1 template: metadata: labels: app: nginx1 spe 阅读全文
posted @ 2020-04-07 20:21 Le1543 阅读(280) 评论(0) 推荐(0) 编辑
摘要: vim image.sh #!/bin/bash url=registry.cn-hangzhou.aliyuncs.com/google_containers version=v1.14.2 images=(`kubeadm config images list --kubernetes-vers 阅读全文
posted @ 2020-04-07 12:00 Le1543 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页