【K8S】安装组件检查

1.安装模块检查

[root@K8S8 yum.repos.d]# lsmod | grep -e ip_vs -e nf_conntrack
ip_vs_ftp              16384  0
ip_vs_sed              16384  0
ip_vs_nq               16384  0
ip_vs_fo               16384  0
ip_vs_sh               16384  0
ip_vs_wrr              16384  0
ip_vs_rr               16384  0
ip_vs_dh               16384  0
ip_vs_lblcr            16384  0
ip_vs_lblc             16384  0
ip_vs_wlc              16384  0
ip_vs_lc               16384  0
ip_vs                 172032  24 ip_vs_wlc,ip_vs_rr,ip_vs_dh,ip_vs_lblcr,ip_vs_sh,ip_vs_fo,ip_vs_nq,ip_vs_lblc,ip_vs_wrr,ip_vs_lc,ip_vs_sed,ip_vs_ftp
nf_nat                 45056  2 nft_chain_nat,ip_vs_ftp
nf_conntrack          172032  3 nf_nat,nft_ct,ip_vs
nf_defrag_ipv6         20480  2 nf_conntrack,ip_vs
nf_defrag_ipv4         16384  1 nf_conntrack
libcrc32c              16384  5 nf_conntrack,nf_nat,nf_tables,xfs,ip_vs

2.时钟检查

[root@K8S2 yum.repos.d]# chronyc sources -v
210 Number of sources = 4

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
 / .- Source state '*' = current synced, '+' = combined , '-' = not combined,
| /   '?' = unreachable, 'x' = time may be in error, '~' = time too variable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^* dns1.synet.edu.cn             1   8   177   135  +1090us[+1714us] +/-   33ms
^? 2001:18c:21bc:1e::123         2   6     0  118m    -47ms[  -14ms] +/-  193ms
^? time.cloudflare.com           1   6     0  118m    -23ms[  +11ms] +/-  119ms
^? ntp1.flashdance.cx            2   6     0  118m    -25ms[+4284us] +/-  133ms

3.DNS解析检查

nslookup K8S1.k8s.com
nslookup K8S2.k8s.com
nslookup K8S3.k8s.com
nslookup K8S4.k8s.com
nslookup K8S5.k8s.com
nslookup K8S6.k8s.com
nslookup K8S7.k8s.com
nslookup K8S8.k8s.com
nslookup K8S7.k8s.com
nslookup K8S8.k8s.com
nslookup web01.k8s.com
nslookup web02.k8s.com
nslookup web03.k8s.com
nslookup app01.k8s.com
nslookup app02.k8s.com
nslookup app03.k8s.com
nslookup 192.168.1.12
nslookup 192.168.1.13
nslookup 192.168.1.14
nslookup 192.168.1.15
nslookup 192.168.1.16
nslookup 192.168.1.17
nslookup 192.168.1.18
nslookup 192.168.1.19
nslookup 192.168.1.60

[root@K8S8 named]# nslookup K8S1.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S1.k8s.com
Address: 192.168.1.12

[root@K8S8 named]# nslookup K8S2.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S2.k8s.com
Address: 192.168.1.13

[root@K8S8 named]# nslookup K8S3.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S3.k8s.com
Address: 192.168.1.14

[root@K8S8 named]# nslookup K8S4.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S4.k8s.com
Address: 192.168.1.15

[root@K8S8 named]# nslookup K8S5.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S5.k8s.com
Address: 192.168.1.16

[root@K8S8 named]# nslookup K8S6.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S6.k8s.com
Address: 192.168.1.17

[root@K8S8 named]# nslookup K8S7.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S7.k8s.com
Address: 192.168.1.18

[root@K8S8 named]# nslookup K8S8.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S8.k8s.com
Address: 192.168.1.19

[root@K8S8 named]# nslookup K8S7.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S7.k8s.com
Address: 192.168.1.18

[root@K8S8 named]# nslookup K8S8.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	K8S8.k8s.com
Address: 192.168.1.19

[root@K8S8 named]# nslookup web01.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	web01.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup web02.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	web02.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup web03.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	web03.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup app01.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	app01.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup app02.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	app02.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup app03.k8s.com
Server:		192.168.1.19
Address:	192.168.1.19#53

Name:	app03.k8s.com
Address: 192.168.1.60

[root@K8S8 named]# nslookup 192.168.1.12
12.1.168.192.in-addr.arpa	name = K8S1.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.13
13.1.168.192.in-addr.arpa	name = K8S2.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.14
14.1.168.192.in-addr.arpa	name = K8S3.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.15
15.1.168.192.in-addr.arpa	name = K8S4.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.16
16.1.168.192.in-addr.arpa	name = K8S5.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.17
17.1.168.192.in-addr.arpa	name = K8S6.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.18
18.1.168.192.in-addr.arpa	name = K8S7.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.19
19.1.168.192.in-addr.arpa	name = K8S8.k8s.com.

[root@K8S8 named]# nslookup 192.168.1.60
60.1.168.192.in-addr.arpa	name = web02.k8s.com.
60.1.168.192.in-addr.arpa	name = web01.k8s.com.
60.1.168.192.in-addr.arpa	name = app01.k8s.com.
60.1.168.192.in-addr.arpa	name = app03.k8s.com.
60.1.168.192.in-addr.arpa	name = web03.k8s.com.
60.1.168.192.in-addr.arpa	name = app02.k8s.com.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值