k8s1.25部署参考 https://blog.51cto.com/flyfish225/5680876
一、kubeadmin部署k8s-三种模式
链接: link.
1.1、kubeadmin部署k8s1.20
项目 | Value |
---|---|
k8s参考1 | link |
k8s参考2 | link |
k8s参考3 | link |
二、安装可能会遇到的问题解决参考
2.1、问题1、安装master节点
安装master节点
kubeadm init --apiserver-advertise-address=192.168.1.188 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.1.0.0/16 --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=all
软件 | Value |
---|---|
kube-flannel.yml | 链接: link. |
recommended.yaml | 链接: link. |
2.2、问题2–node节点加入master问题
重新安装docker
2.3、集群删除节点
链接: link
三、k8swebui
官网链接: https://kubernetes.io/zh-cn/docs/tasks/access-application-cluster/web-ui-dashboard/
1、下载文件wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml
2、文件修改(三个位置修改)
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://