当前位置:网站首页>Summary of kubenertes 1.16 cluster deployment problems
Summary of kubenertes 1.16 cluster deployment problems
2022-07-28 16:59:00 【Brother Xing plays with the clouds】
Install and use virtual box Installed below CentOS7.5, Use Easypack Under the Ansible One click installation script kubernetes1.16 and dashbaord And coredns Installation , There are two problems in the process , It is arranged as follows .
Version changes
Only do the Kubernetes Version changes
Components | Previous version | current version |
|---|---|---|
Kubernetes | 1.15.0 | 1.16.0 |
Docker | 18.09.7 | 18.09.7 |
ETCD | 3.3.13 | 3.3.13 |
FLANNEL | 0.10.0 | 0.11.0 |
problem 1:coredns Installation failed
reason : coredns.yml Medium Deployment Of apiVersion It's written as extensions/v1beta1,extensions/v1beta1 It is discarded, which leads to execution errors
core.yml An example file is shown below
[[email protected] ansible]# cat /etc/k8s/coredns/coredns.yaml # __MACHINE_GENERATED_WARNING__ ... Omit --- apiVersion: extensions/v1beta1 kind: Deployment metadata: name: coredns namespace: kube-system labels: k8s-app: kube-dns kubernetes.io/cluster-service: "true" addonmanager.kubernetes.io/mode: Reconcile kubernetes.io/name: "CoreDNS" ... Omit [[email protected] ansible]#
Corresponding method : Modified into apps/v1 that will do
[[email protected] templates]# git diff coredns.yaml diff --git a/k8s/ansible/coredns/templates/coredns.yaml b/k8s/ansible/coredns/templates/coredns.yaml index 96abe75..69af15a 100644 --- a/k8s/ansible/coredns/templates/coredns.yaml +++ b/k8s/ansible/coredns/templates/coredns.yaml @@ -77,7 +77,7 @@ data: loadbalance } --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: coredns [[email protected] templates]#
problem 2: kubectl get cs Is shown as unknown Examples of error messages are as follows : [[email protected] ansible]# kubectl get cs NAME AGE scheduler <unknown> controller-manager <unknown> etcd-0 <unknown> [[email protected] ansible]#
It doesn't seem to have much impact , Not corresponding yet , The subsequent reasons will continue to be updated after confirmation .
边栏推荐
- Implementation of transfer business
- ticdc同步数据怎么设置只同步指定的库?
- Jsonarray traversal
- Probability theory and mathematical statistics Chapter 1
- 【深度学习】:《PyTorch入门到项目实战》第九天:Dropout实现(含源码)
- Redis source code optimization -- binding core
- Introduction and implementation of stack (detailed explanation)
- go语言慢速入门——流程控制语句
- Debugging methods of USB products (fx3, ccg3pa)
- Understanding of asmlinkage
猜你喜欢

Leetcode daily practice - 160. Cross linked list

Ruoyi集成flyway后启动报错的解决方法

Re13: read the paper gender and racial stereotype detection in legal opinion word embeddings

【深度学习】:《PyTorch入门到项目实战》第四天:从0到1实现logistic回归(附源码)

Microsoft: edge browser has built-in disk cache compression technology, which can save space and not reduce system performance

Fx3 development board and schematic diagram

在AD中添加差分对及连线

【深度学习】:《PyTorch入门到项目实战》第一天:数据操作和自动求导

阿里大哥教你如何正确认识关于标准IO缓冲区的问题

Applet: get element node information
随机推荐
asmlinkage的理解
有趣的 Kotlin 0x07:Composition
go语言慢速入门——流程控制语句
SUSE Ceph 增加节点、减少节点、 删除OSD磁盘等操作 – Storage6
有趣的 Kotlin 0x06:List minus list
做题笔记3(二分查找)
有趣的 Kotlin 0x08:What am I
Is smart park the trend of future development?
技术分享 | MySQL Shell 定制化部署 MySQL 实例
Do you really understand CMS garbage collector?
Rsync 服务部署与参数详解
Record development issues
Oracle table partition
Reset grafana login password to default password
Hdu1847 problem solving ideas
Question making note 2 (add two numbers)
Detailed record of steps to configure web server (many references)
【深度学习】:《PyTorch入门到项目实战》第二天:从零实现线性回归(含详细代码)
Learn to use MySQL explain to execute the plan, and SQL performance tuning is no longer difficult
Question making note 3 (two point search)