当前位置: 首页 > news >正文

可以做ppt的网站或软件网站模板下载免费

可以做ppt的网站或软件,网站模板下载免费,唯品会一家专门做特卖的网站手机版,租号网站咋做文章目录 简介安装工具配置代理运行集群检查集群加入rancher 简介 模拟客户环境,测试 kubernetes v1.18.x 是否可以被 rancher v2.9.1 纳管。 安装工具 docker 安装Install and Set Up kubectl on Linux 安装 minikube 配置代理 docker proxylinux proxy 运行…

在这里插入图片描述

文章目录

  • 简介
  • 安装工具
  • 配置代理
  • 运行集群
  • 检查集群
  • 加入rancher

简介

模拟客户环境,测试 kubernetes v1.18.x 是否可以被 rancher v2.9.1 纳管。

安装工具

  • docker 安装
  • Install and Set Up kubectl on Linux
    • 安装 minikube

配置代理

  • docker proxy
  • linux proxy

运行集群

$ minikube start  --driver=none --container-runtime=docker  --kubernetes-version=v1.18.1

输出:

😄  minikube v1.18.1 on Rocky 8.10
🆕  Kubernetes 1.20.2 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.20.2
✨  Using the none driver based on existing profile
👍  Starting control plane node minikube in cluster minikube
🔄  Restarting existing none bare metal machine for "minikube" ...
ℹ️  OS release is Rocky Linux 8.10 (Green Obsidian)
🌐  Found network options:▪ HTTP_PROXY=http://192.168.21.101:7890▪ HTTPS_PROXY=http://192.168.21.101:7890▪ NO_PROXY=proxyhost,localhost,*.vsphere.local,*.vm.demo,*.tanzu.demo,192.168.21.101,127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16▪ http_proxy=http://192.168.21.101:7890▪ https_proxy=http://192.168.21.101:7890▪ no_proxy=proxyhost,localhost,*.vsphere.local,*.vm.demo,*.tanzu.demo,192.168.21.101,127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
🐳  Preparing Kubernetes v1.18.1 on Docker 19.03.15 ...▪ env HTTP_PROXY=http://192.168.21.101:7890▪ env HTTPS_PROXY=http://192.168.21.101:7890▪ env NO_PROXY=proxyhost,localhost,*.vsphere.local,*.vm.demo,*.tanzu.demo,192.168.21.101,127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16🤹  Configuring local host environment ...❗  The 'none' driver is designed for experts who need to integrate with an existing VM
💡  Most users should use the newer 'docker' driver instead, which does not require root!
📘  For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/❗  kubectl and minikube configuration will be stored in /root
❗  To use kubectl or minikube commands as your own user, you may need to relocate them. For example, to overwrite your own settings, run:▪ sudo mv /root/.kube /root/.minikube $HOMEsudo chown -R $USER $HOME/.kube $HOME/.minikube💡  This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
🔎  Verifying Kubernetes components...▪ Using image gcr.io/k8s-minikube/storage-provisioner:v4
🌟  Enabled addons: storage-provisioner, default-storageclass
❗  The cluster minikube already exists which means the --nodes parameter will be ignored. Use "minikube node add" to add nodes to an existing cluster.
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

检查集群

$ kubectl get node
NAME         STATUS   ROLES    AGE    VERSION
minikube01   Ready    <none>   178m   v1.18.1
$ kubectl get pod -A
NAMESPACE     NAME                                 READY   STATUS    RESTARTS   AGE
kube-system   coredns-66bff467f8-rszjx             1/1     Running   0          176m
kube-system   etcd-minikube01                      1/1     Running   1          177m
kube-system   kube-apiserver-minikube01            1/1     Running   0          177m
kube-system   kube-controller-manager-minikube01   1/1     Running   0          177m
kube-system   kube-proxy-nthcz                     1/1     Running   0          176m
kube-system   kube-scheduler-minikube01            1/1     Running   0          177m
kube-system   storage-provisioner                  1/1     Running   1          176m

加入rancher

curl --insecure -sfL https://rancheruat.demo.com.cn/v3/import/gnplffg5965h27mjv4dwbgpvk8qhhpssj896t8vrdnblljhfpx6dhc_c-m-9gpswkpp.yaml | kubectl apply -f -
$ kubectl edit deploy cattle-cluster-agent -n cattle-system
…..dnsPolicy: ClusterFirsthostAliases:- hostnames:- rancheruat.demo.com.cnip: 192.168.23.79restartPolicy: AlwaysschedulerName: default-scheduler
…..$ kubectl edit  sts  fleet-agent  -n cattle-fleet-system
…..dnsPolicy: ClusterFirsthostAliases:- hostnames:- rancheruat.demo.com.cnip: 192.168.23.79restartPolicy: AlwaysschedulerName: default-scheduler

在这里插入图片描述

http://www.hkea.cn/news/726324/

相关文章:

  • 杭州网站建设公司导航短视频营销案例
  • 昆明做网站建设有哪些长尾关键词排名工具
  • 一女被多男做的视频网站网站seo系统
  • 网站建设 青海网站建设找哪家好
  • win7 网站配置优化方案官网电子版
  • 广州seo优化公司排名浙江seo博客
  • 全网推广的方式有哪些抖音seo推荐算法
  • 网站开发开源架构抖音营销软件
  • 自己做的网站能放到网上么青岛seo经理
  • 营业推广策划方案邵阳网站seo
  • 手机网站横向切换kol合作推广
  • 专门做超市海报的网站宁波seo咨询
  • 仿网站上的焦点图在线看seo网站
  • 做网站的业务员艾滋病阻断药有哪些
  • web集团网站建设广告投放平台有哪些
  • 大连做网站建设广告资源对接平台
  • 做网站怎么写工作日志泉州网站seo公司
  • wordpress外链站内打开搜索引擎是什么意思啊
  • 做论坛网站需要什么备案新站seo优化快速上排名
  • 动漫网站html百度网盘搜索
  • 怎么看一个网站什么语言做的宝鸡seo培训
  • 数据库网站建设公司他达拉非片
  • 英文商城网站建设搜索引擎营销的特点
  • 易优建站系统图片百度搜索
  • 网站开发不用框架web网站设计
  • 技能网站建设项目需求武汉网络推广外包公司
  • 安卓市场下载手机版优化网站排名技巧
  • 建设网站平台哪个好互联网营销外包推广
  • 工商注册企业名称查询广东seo网站推广代运营
  • 中纪委网站两学一做征文资源平台