2021-08-23

<nav id="nav_main" class="navbar-main" style="display: flex; font-size: 14px; color: rgb(102, 102, 102); flex-flow: row nowrap; align-items: center; justify-content: space-between; width: 1823px;">

  • [登錄](javascript:void(0);)

</nav>

chalon

K8S使用---故障處理

問題1:K8S集群服務(wù)訪問失斎碜濉刷喜?

image
image

curl: (60) Peer's Certificate issuer is not recognized.

More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

原因分析:證書不能被識別,其原因為:自定義證書立砸,過期等掖疮。

解決方法:更新證書即可。

問題2:K8S集群服務(wù)訪問失斂抛!浊闪?

image

curl: (7) Failed connect to 10.103.22.158:3000; Connection refused

原因分析:端口映射錯誤,服務(wù)正常工作螺戳,但不能提供服務(wù)搁宾。

解決方法:刪除svc,重新映射端口即可倔幼。

kubectl delete svc nginx-deployment

image
image

問題3:K8S集群服務(wù)暴露失敻峭取?

image

Error from server (AlreadyExists): services "nginx-deployment" already exists

原因分析:該容器已暴露服務(wù)了凤藏。

image
image

解決方法:刪除svc,重新映射端口即可堕伪。

問題4:外網(wǎng)無法訪問K8S集群提供的服務(wù)揖庄?

image

原因分析:K8S集群的type為ClusterIP,未將服務(wù)暴露至外網(wǎng)欠雌。

解決方法:修改K8S集群的type為NodePort即可蹄梢,于是可通過所有K8S集群節(jié)點(diǎn)訪問服務(wù)。

kubectl edit svc nginx-deployment

image

問題5:pod狀態(tài)為ErrImagePull?

readiness-httpget-pod 0/1 ErrImagePull 0 10s

image

原因分析:image無法拉冉础而咆;

image
image

Warning Failed 59m (x4 over 61m) kubelet, k8s-node01 Error: ErrImagePull

解決方法:更換鏡像即可。

問題6:創(chuàng)建init C容器后幕袱,其狀態(tài)不正常暴备?

NAME READY STATUS RESTARTS AGE
myapp-pod 0/1 Init:0/2 0 20s

原因分析:查看日志發(fā)現(xiàn),pod一直出于初始化中们豌;然后查看pod詳細(xì)信息涯捻,定位pod創(chuàng)建失敗的原因為:初始化容器未執(zhí)行完畢。

image

Error from server (BadRequest): container "myapp-container" in pod "myapp-pod" is waiting to start: PodInitializing

image
image
image

waiting for myservice

Server: 10.96.0.10
Address: 10.96.0.10:53

** server can't find myservice.default.svc.cluster.local: NXDOMAIN

*** Can't find myservice.svc.cluster.local: No answer
*** Can't find myservice.cluster.local: No answer
*** Can't find myservice.default.svc.cluster.local: No answer
*** Can't find myservice.svc.cluster.local: No answer
*** Can't find myservice.cluster.local: No answer

解決方法:創(chuàng)建相關(guān)service望迎,將SVC的name寫入K8S集群的coreDNS服務(wù)器中障癌,于是coreDNS就能對POD的initC容器執(zhí)行過程中的域名解析了。

kubectl apply -f myservice.yaml

image
image
image

NAME READY STATUS RESTARTS AGE

myapp-pod 0/1 Init:1/2 0 27m
myapp-pod 0/1 PodInitializing 0 28m
myapp-pod 1/1 Running 0 28m

image

問題7:探測存活pod狀態(tài)為CrashLoopBackOff辩尊?

readiness-httpget-pod 0/1 CrashLoopBackOff 1 13s
readiness-httpget-pod 0/1 Completed 2 20s
readiness-httpget-pod 0/1 CrashLoopBackOff 2 31s
readiness-httpget-pod 0/1 Completed 3 42s
readiness-httpget-pod 0/1 CrashLoopBackOff 3 53s

image

原因分析:鏡像問題涛浙,導(dǎo)致容器重啟失敗。

Events:
Type Reason Age From Message


Normal Pulling 56m kubelet, k8s-node01 Pulling image "hub.atguigu.com/library/mylandmarktech/myapp:v1"
Normal Pulled 56m kubelet, k8s-node01 Successfully pulled image "hub.atguigu.com/library/mylandmarktech/myapp:v1"
Normal Created 56m (x3 over 56m) kubelet, k8s-node01 Created container readiness-httpget-container
Normal Started 56m (x3 over 56m) kubelet, k8s-node01 Started container readiness-httpget-container
Normal Pulled 56m (x2 over 56m) kubelet, k8s-node01 Container image "hub.atguigu.com/library/mylandmarktech/myapp:v1" already present on machine
Warning Unhealthy 56m kubelet, k8s-node01 Readiness probe failed: Get http://10.244.2.22:80/index1.html: dial tcp 10.244.2.22:80: connect: connection refused
Warning BackOff 56m (x4 over 56m) kubelet, k8s-node01 Back-off restarting failed container
Normal Scheduled 50s default-scheduler Successfully assigned default/readiness-httpget-pod to k8s-node01

image

解決方法:更換鏡像即可摄欲。

image
image

問題8:POD創(chuàng)建失斀瘟痢?

readiness-httpget-pod 0/1 Pending 0 0s
readiness-httpget-pod 0/1 Pending 0 0s
readiness-httpget-pod 0/1 ContainerCreating 0 0s
readiness-httpget-pod 0/1 Error 0 2s
readiness-httpget-pod 0/1 Error 1 3s
readiness-httpget-pod 0/1 CrashLoopBackOff 1 4s
readiness-httpget-pod 0/1 Error 2 15s
readiness-httpget-pod 0/1 CrashLoopBackOff 2 26s
readiness-httpget-pod 0/1 Error 3 37s
readiness-httpget-pod 0/1 CrashLoopBackOff 3 52s
readiness-httpget-pod 0/1 Error 4 82s

原因分析:鏡像問題導(dǎo)致容器無法啟動蒿涎。

[root@k8s-master01 ~]# kubectl logs readiness-httpget-pod
url.js:106
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'url', 'string', url);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received type undefined
at Url.parse (url.js:106:11)
at Object.urlParse [as parse] (url.js:100:13)
at module.exports (/myapp/node_modules/mongodb/lib/url_parser.js:17:23)
at connect (/myapp/node_modules/mongodb/lib/mongo_client.js:159:16)
at Function.MongoClient.connect (/myapp/node_modules/mongodb/lib/mongo_client.js:110:3)
at Object.<anonymous> (/myapp/app.js:12:13)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Function.Module.runMain (module.js:682:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3

image

Events:

Type Reason Age From Message


Normal Pulled 58m (x5 over 59m) kubelet, k8s-node01 Container image "hub.atguigu.com/library/myapp:v1" already present on machine
Normal Created 58m (x5 over 59m) kubelet, k8s-node01 Created container readiness-httpget-container
Normal Started 58m (x5 over 59m) kubelet, k8s-node01 Started container readiness-httpget-container
Warning BackOff 57m (x10 over 59m) kubelet, k8s-node01 Back-off restarting failed container
Normal Scheduled 3m35s default-scheduler Successfully assigned default/readiness-httpget-pod to k8s-node01

解決方法:更換鏡像哀托。

image
image

問題9:POD的ready狀態(tài)未進(jìn)入?

readiness-httpget-pod 0/1 Running 0 116s

原因分析:POD的執(zhí)行命令失敗劳秋,無法獲取資源仓手。

Error from server (NotFound): pods "pod" not found

2021/06/11 07:10:14 [error] 30#30: *1 open() "/usr/share/nginx/html/index1.html" failed (2: No such file or directory), client: 10.244.2.1, server: localhost, request: "GET /index1.html HTTP/1.1", host: "10.244.2.25:80"
10.244.2.1 - - [11/Jun/2021:07:10:14 +0000] "GET /index1.html HTTP/1.1" 404 153 "-" "kube-probe/1.15" "-"
10.244.2.1 - - [11/Jun/2021:07:10:17 +0000] "GET /index1.html HTTP/1.1" 404 153 "-" "kube-probe/1.15" "-"

image

Events:

Type Reason Age From Message


Normal Pulled 64m kubelet, k8s-node01 Container image "hub.atguigu.com/library/nginx" already present on machine
Normal Created 64m kubelet, k8s-node01 Created container readiness-httpget-container
Normal Started 64m kubelet, k8s-node01 Started container readiness-httpget-container
Warning Unhealthy 59m (x101 over 64m) kubelet, k8s-node01 Readiness probe failed: HTTP probe failed with statuscode: 404
Normal Scheduled 8m16s default-scheduler Successfully assigned default/readiness-httpget-pod to k8s-node01

解決方法:進(jìn)入容器內(nèi)部,創(chuàng)建yaml定義的資源

image

image

問題10:pod創(chuàng)建失敳J纭嗽冒?

error: error validating "myregistry-secret.yml": error validating data: ValidationError(Pod.spec.imagePullSecrets[0]): invalid type for io.k8s.api.core.v1.LocalObjectReference: got "string", expected "map"; if you choose to ignore these errors, turn validation off with --validate=false

image

原因分析:yml文件內(nèi)容出錯---使用中文字符;

解決方法:修改myregistrykey內(nèi)容即可补履。

image

11添坊、kube-flannel-ds-amd64-ndsf7插件pod的status為Init:0/1?

image

排查思路:kubectl -n kube-system describe pod kube-flannel-ds-amd64-ndsf7 #查詢pod描述信息箫锤;

image

原因分析:k8s-slave1節(jié)點(diǎn)拉取鏡像失敗贬蛙。

解決方法:登錄k8s-slave1,重啟docker服務(wù)谚攒,手動拉取鏡像阳准。

image

k8s-master節(jié)點(diǎn),重新安裝插件即可馏臭。

kubectl create -f kube-flannel.yml;kubectl get nodes

image

12野蝇、K8S創(chuàng)建服務(wù)status為ErrImagePull?

image

排查思路:kubectl describe pod test-nginx

image

原因分析:拉取鏡像名稱問題。

解決方法:刪除錯誤pod绕沈;重新拉取鏡像锐想;

kubectl delete pod test-nginx;kubectl run test-nginx --image=10.0.0.81:5000/nginx:alpine

image

13、不能進(jìn)入指定容器內(nèi)部乍狐?

Error from server (BadRequest): container volume-test-container is not valid for pod volume-test-pod

image

原因分析:yml文件comtainers字段重復(fù)赠摇,導(dǎo)致該pod沒有該容器。

image
image
image

解決方法:去掉yml文件中多余的containers字段澜躺,重新生成pod蝉稳。

image
image

14、創(chuàng)建PV失斁虮伞耘戚?

persistentvolume/nfspv1 unchanged
persistentvolume/nfspv01 created
Error from server (Invalid): error when applying patch:
{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{"apiVersion":"v1","kind":"PersistentVolume","metadata":{"annotations":{},"name":"nfspv01"},"spec":{"accessModes":["ReadWriteOnce"],"capacity":{"storage":"5Gi"},"nfs":{"path":"/nfs2","server":"192.168.66.100"},"persistentVolumeReclaimPolicy":"Retain","storageClassName":"nfs"}}\n"}},"spec":{"nfs":{"path":"/nfs2"}}}
to:
Resource: "/v1, Resource=persistentvolumes", GroupVersionKind: "/v1, Kind=PersistentVolume"
Name: "nfspv01", Namespace: ""
Object: &{map["apiVersion":"v1" "kind":"PersistentVolume" "metadata":map["annotations":map["kubectl.kubernetes.io/last-applied-configuration":"{"apiVersion":"v1","kind":"PersistentVolume","metadata":{"annotations":{},"name":"nfspv01"},"spec":{"accessModes":["ReadWriteOnce"],"capacity":{"storage":"5Gi"},"nfs":{"path":"/nfs1","server":"192.168.66.100"},"persistentVolumeReclaimPolicy":"Retain","storageClassName":"nfs"}}\n"] "creationTimestamp":"2021-06-25T01:54:24Z" "finalizers":["kubernetes.io/pv-protection"] "name":"nfspv01" "resourceVersion":"325674" "selfLink":"/api/v1/persistentvolumes/nfspv01" "uid":"89cb1d15-8012-47f0-aee6-6507bb624387"] "spec":map["accessModes":["ReadWriteOnce"] "capacity":map["storage":"5Gi"] "nfs":map["path":"/nfs1" "server":"192.168.66.100"] "persistentVolumeReclaimPolicy":"Retain" "storageClassName":"nfs" "volumeMode":"Filesystem"] "status":map["phase":"Available"]]}
for: "PV.yml": PersistentVolume "nfspv01" is invalid: spec.persistentvolumesource: Forbidden: is immutable after creation

image

原因分析:pv的name字段重復(fù)。

解決方法:修改pv的name字段即可操漠。

image

15收津、pod無法掛載PVC?

image
image

原因分析:pod無法掛載PVC浊伙。

Events:
Type Reason Age From Message


Warning FailedScheduling 60s default-scheduler pod has unbound immediate PersistentVolumeClaims (repeated 2 times)

image
image

accessModes與可使用的PV不一致撞秋,導(dǎo)致無法掛載PVC,由于只能掛載大于1G且accessModes為RWO的PV嚣鄙,故只能成功創(chuàng)建1個pod吻贿,第2個pod一致pending,按序創(chuàng)建時則第3個pod一直未被創(chuàng)建哑子;

解決方法:修改yml文件中accessModes或PV的accessModes即可舅列。

image

16、問題:pod使用PV后卧蜓,無法訪問其內(nèi)容帐要?

image

原因分析:nfs卷中沒有文件或權(quán)限不對。

image
image

解決方法:在nfs卷中創(chuàng)建文件并授予權(quán)限弥奸。

image
image

17榨惠、查看節(jié)點(diǎn)狀態(tài)失敗盛霎?

Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)

image

原因分析:沒有heapster服務(wù)赠橙。

解決方法:安裝promethus監(jiān)控組件即可。

image
image

18愤炸、pod一直處于pending'狀態(tài)期揪?

image

原因分析:由于已使用同樣鏡像發(fā)布了pod,導(dǎo)致無節(jié)點(diǎn)可調(diào)度摇幻。

image

Events:

Type Reason Age From Message


Warning FailedScheduling 9s (x13 over 14m) default-scheduler 0/3 nodes are available: 3 node(s) didn't match node selector.

解決方法:刪除所有pod后部署pod即可横侦。

image

19、helm安裝組件失敶乱觥枉侧?

[root@k8s-master01 hello-world]# helm install

Error: This command needs 1 argument: chart nam

[root@k8s-master01 hello-world]# helm install ./
Error: no Chart.yaml exists in directory "/root/hello-world"

image

原因分析:文件名格式不對。

解決方法:mv chart.yaml Chart.yaml

image

20狂芋、helm更新release失斦ツ佟?

[root@k8s-master01 hello-world]#

[root@k8s-master01 hello-world]# helm upgrade joyous-wasp ./
UPGRADE FAILED
ROLLING BACK
Error: render error in "hello-world/templates/deployment.yaml": template: hello-world/templates/deployment.yaml:14:35: executing "hello-world/templates/deployment.yaml" at <.values.image.reposi...>: can't evaluate field image in type interface {}
Error: UPGRADE FAILED: render error in "hello-world/templates/deployment.yaml": template: hello-world/templates/deployment.yaml:14:35: executing "hello-world/templates/deployment.yaml" at <.values.image.reposi...>: can't evaluate field image in type interface {}

原因分析:yaml文件語法錯誤帜矾。

image

解決方法:修改yaml文件即可翼虫。

image

21、etcd啟動失斅庞珍剑?

[root@k8s-master01 ~]# systemctl enable --now etcd
Created symlink from /etc/systemd/system/etcd3.service to /usr/lib/systemd/system/etcd.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/etcd.service to /usr/lib/systemd/system/etcd.service.
Job for etcd.service failed because a timeout was exceeded. See "systemctl status etcd.service" and "journalctl -xe" for details.

原因分析:認(rèn)證失敗原因可能為證書、配置死陆、端口等招拙。檢查配置符合etcd版本要求,證書生成過程有效措译。最后確認(rèn)端口被占用導(dǎo)致認(rèn)證失敗别凤。

|

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

|

[root@k8s-master01 ~]``# systemctl status etcd

● etcd.service - Etcd.service

Loaded: loaded (``/usr/lib/systemd/system/etcd``.service; enabled; vendor preset: disabled)

Active: activating (start) since Wed 2021-07-14 09:53:03 CST; 1min 6s ago

Docs: https:``//coreos``.com``/etcd/docs/latest/

Main PID: 39692 (etcd)

CGroup: ``/system``.slice``/etcd``.service

└─39692 ``/usr/local/bin/etcd --config-``file``=``/etc/etcd/etcd``.config.yml

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46168" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46166" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46170" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46172" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46176" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46174" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46178" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:09 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46180" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:10 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46182" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

Jul 14 09:54:10 k8s-master01 etcd[39692]: rejected connection from ``"192.168.0.108:46186" (error ``"remote error: tls: bad certificate"``, ServerName ``""``)

|

image

解決方法:kill占用2379端口的進(jìn)程,重啟etcd即可领虹。

image
image
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末规哪,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子塌衰,更是在濱河造成了極大的恐慌诉稍,老刑警劉巖,帶你破解...
    沈念sama閱讀 206,126評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件猾蒂,死亡現(xiàn)場離奇詭異均唉,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)肚菠,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,254評論 2 382
  • 文/潘曉璐 我一進(jìn)店門舔箭,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人蚊逢,你說我怎么就攤上這事层扶。” “怎么了烙荷?”我有些...
    開封第一講書人閱讀 152,445評論 0 341
  • 文/不壞的土叔 我叫張陵镜会,是天一觀的道長。 經(jīng)常有香客問我终抽,道長戳表,這世上最難降的妖魔是什么桶至? 我笑而不...
    開封第一講書人閱讀 55,185評論 1 278
  • 正文 為了忘掉前任,我火速辦了婚禮匾旭,結(jié)果婚禮上镣屹,老公的妹妹穿的比我還像新娘。我一直安慰自己价涝,他們只是感情好女蜈,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,178評論 5 371
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著色瘩,像睡著了一般伪窖。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上居兆,一...
    開封第一講書人閱讀 48,970評論 1 284
  • 那天覆山,我揣著相機(jī)與錄音,去河邊找鬼泥栖。 笑死汹买,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的聊倔。 我是一名探鬼主播晦毙,決...
    沈念sama閱讀 38,276評論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼耙蔑!你這毒婦竟也來了见妒?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,927評論 0 259
  • 序言:老撾萬榮一對情侶失蹤甸陌,失蹤者是張志新(化名)和其女友劉穎须揣,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體钱豁,經(jīng)...
    沈念sama閱讀 43,400評論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡耻卡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,883評論 2 323
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了牲尺。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片卵酪。...
    茶點(diǎn)故事閱讀 37,997評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖谤碳,靈堂內(nèi)的尸體忽然破棺而出溃卡,到底是詐尸還是另有隱情,我是刑警寧澤蜒简,帶...
    沈念sama閱讀 33,646評論 4 322
  • 正文 年R本政府宣布瘸羡,位于F島的核電站,受9級特大地震影響搓茬,放射性物質(zhì)發(fā)生泄漏犹赖。R本人自食惡果不足惜队他,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,213評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望峻村。 院中可真熱鬧漱挎,春花似錦、人聲如沸雀哨。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,204評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽雾棺。三九已至,卻和暖如春衬浑,著一層夾襖步出監(jiān)牢的瞬間捌浩,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,423評論 1 260
  • 我被黑心中介騙來泰國打工工秩, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留尸饺,地道東北人。 一個月前我還...
    沈念sama閱讀 45,423評論 2 352
  • 正文 我出身青樓助币,卻偏偏與公主長得像浪听,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子眉菱,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,722評論 2 345

推薦閱讀更多精彩內(nèi)容

  • 一迹栓、COREDNS 1.1yml文件 root@master1:~/maniftest/coredns# cat ...
    55ff35e076f3閱讀 1,227評論 1 0
  • 污點(diǎn)、容忍度 給了節(jié)點(diǎn)選則的主動權(quán)俭缓,我們給節(jié)點(diǎn)打一個污點(diǎn)克伊,不容忍的 pod就運(yùn)行不上來,污點(diǎn)就是定義在 節(jié)點(diǎn)上的鍵...
    菜頭_355f閱讀 701評論 0 2
  • K8S一华坦、二進(jìn)制搭建1.安裝要求(1)CentOS 7(2)禁止swap(3)集群間互通 2.操作系統(tǒng)初始化(1)...
    Saka_2859閱讀 382評論 0 0
  • Kubernetes部屬說明 環(huán)境準(zhǔn)備 資料準(zhǔn)備 開始部屬 編寫yaml文件愿吹,用于部屬Kubenetes基礎(chǔ)容器e...
    俊逸之光閱讀 2,602評論 2 0
  • 安裝k8s Master高可用集群 主機(jī) 角色 組件 172.18.6.101 K8S Master Kubele...
    jony456123閱讀 8,042評論 0 9