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

网站页脚设计建站seo推广

网站页脚设计,建站seo推广,网站建设的作用有哪些方面,网站建设套模版前提条件:安装了containerd、docker 关闭了firewalld、selinux 配置了时间同步服务 chronyd 关闭swap分区等1、在控制节点、工作节点,安装kubelet、kubeadm、kubectlyum install -y kubelet-1.26.0 kubeadm-1.26.0 kubectl-1.26.0 …

前提条件

  •         安装了containerd、docker
  •         关闭了firewalld、selinux
  •         配置了时间同步服务 chronyd
  •         关闭swap分区等

1、在控制节点、工作节点,安装kubelet、kubeadm、kubectl

yum install -y kubelet-1.26.0 kubeadm-1.26.0 kubectl-1.26.0 --nogpgcheck

注意:若遇到如下错误,加上--nogpgcheck,跳过GPG检查。

2、启动kubelet服务

systemctl start kubelet ; systemctl enable kublet

#注意:如果启动kubelet失败,问题自己查阅、搜索下解决方案。

3、kubeadm 生成初始化k8s集群的配置文件、并修改

kubeadm config print init-defaults > kubeadm.yaml

[root@103 ~]# vim kubeadm.yaml 

apiVersion: kubeadm.k8s.io/v1beta3
bootstrapTokens:
- groups:
- system:bootstrappers:kubeadm:default-node-token
token: abcdef.0123456789abcdef
ttl: 24h0m0s
usages:
- signing
- authentication
kind: InitConfiguration
localAPIEndpoint:
advertiseAddress: 192.168.1.103    ## 指定ip
bindPort: 6443
nodeRegistration:
criSocket: unix:///run/containerd/containerd.sock
imagePullPolicy: IfNotPresent
name: node
taints: null
---
apiServer:
timeoutForControlPlane: 4m0s
apiVersion: kubeadm.k8s.io/v1beta3
certificatesDir: /etc/kubernetes/pki
clusterName: kubernetes
controllerManager: {}
dns: {}
etcd:
local:
dataDir: /var/lib/etcd
imageRepository: registry.cn-hangzhou.aliyuncs.com/google_containers   ## 更改镜像源
kind: ClusterConfiguration
kubernetesVersion: 1.26.0
networking:
dnsDomain: cluster.local
serviceSubnet: 10.96.0.0/12
podSubnet: 10.244.0.0/12        ##  添加pod子网
scheduler: {}
---
apiVersion: kubeproxy.config.k8s.io/v1alpha1    ## 添加代理模式 ipvs
kind: KubeProxyConfiguration    ##
mode: ipvs ##
--- 
apiVersion: kubelet.config.k8s.io/v1beta1  ## 更改cgroup驱动
kind: KubeletConfiguration  ##
cgroupDriver: systemd  ##

4、初始化k8s集群

kubeadm init --config kubeadm.yaml --ignore-preflight-errors=SystemVerification

sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory
net.ipv4.ip_forward = 1
[root@103 ~]# 
[root@103 ~]# modprobe br_netfilter
[root@103 ~]# vim /etc/sysctl.d/k8s.conf
[root@103 ~]# 
[root@103 ~]# sysctl -p /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
[root@103 ~]# 
[root@103 ~]# kubeadm init --config kubeadm.yaml --ignore-preflight-errors=SystemVerification
[init] Using Kubernetes version: v1.26.0
[preflight] Running pre-flight checks
[WARNING FileExisting-tc]: tc not found in system path
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
[certs] Using certificateDir folder "/etc/kubernetes/pki"
[certs] Generating "ca" certificate and key
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local node] and IPs [10.96.0.1 192.168.1.103]
[certs] Generating "apiserver-kubelet-client" certificate and key
[certs] Generating "front-proxy-ca" certificate and key
[certs] Generating "front-proxy-client" certificate and key
[certs] Generating "etcd/ca" certificate and key
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [localhost node] and IPs [192.168.1.103 127.0.0.1 ::1]
[certs] Generating "etcd/peer" certificate and key
[certs] etcd/peer serving cert is signed for DNS names [localhost node] and IPs [192.168.1.103 127.0.0.1 ::1]
[certs] Generating "etcd/healthcheck-client" certificate and key
[certs] Generating "apiserver-etcd-client" certificate and key
[certs] Generating "sa" key and public key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
[kubeconfig] Writing "admin.conf" kubeconfig file
[kubeconfig] Writing "kubelet.conf" kubeconfig file
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
[kubeconfig] Writing "scheduler.conf" kubeconfig file
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Starting the kubelet
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
[control-plane] Creating static Pod manifest for "kube-scheduler"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[apiclient] All control plane components are healthy after 7.002941 seconds
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
[kubelet] Creating a ConfigMap "kubelet-config" in namespace kube-system with the configuration for the kubelets in the cluster
[upload-certs] Skipping phase. Please see --upload-certs
[mark-control-plane] Marking the node node as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers]
[mark-control-plane] Marking the node node as control-plane by adding the taints [node-role.kubernetes.io/control-plane:NoSchedule]
[bootstrap-token] Using token: abcdef.0123456789abcdef
[bootstrap-token] Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to get nodes
[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials
[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token
[bootstrap-token] Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster
[bootstrap-token] Creating the "cluster-info" ConfigMap in the "kube-public" namespace
[kubelet-finalize] Updating "/etc/kubernetes/kubelet.conf" to point to a rotatable kubelet client certificate and key
[addons] Applied essential addon: CoreDNS
[addons] Applied essential addon: kube-proxy

# 当你看到 succesfully ,恭喜你已经成功初始化了该台机器

按照下面的提示,逐步操作即可。(其他的控制节点、工作节点操作大致如上。)

仅简单记录一下,开心!

如果要转载,请附上原文链接
http://www.dtcms.com/wzjs/10352.html

相关文章:

  • 免费简历在线制作网站seo自然排名
  • 高端网站建设要浙江网络推广
  • 国企网站建设合同seo是什么职务
  • 哪些属于功能型网站百度seo入驻
  • 东莞seo网站优化谷歌推广app
  • 网站做查赚钱百度惠生活商家怎么入驻
  • 网站seo问题南京疫情最新消息
  • wordpress网站地图怎样做网站推广
  • 微网站免费开发平台广州网络推广定制
  • 网站公安备案有必要吗seo外包网络公司
  • php网站开发工程师职责武汉武汉最新
  • 北京app推荐百度爱采购优化
  • 局网站建设进入前十名西安网络科技有限公司
  • 网站频道建设软文营销模板
  • 网站开发英文翻译av手机在线精品
  • 动漫网站建设策划书关键词seo排名怎么选
  • 购物网站建设策划书淘宝seo培训
  • WordPress 整个网站导出做百度推广需要什么条件
  • 制作网站哪家便宜网络管理系统
  • 网站建设与运营收入预算注册百度推广账号
  • 网站建设项目策划书谷歌浏览器下载手机版app
  • 我国外贸企业网站建设百度怎么投广告
  • 有哪些可以免费做高数题的网站广州建网站的公司
  • 网站增加二级域名seo关键词排名软件流量词
  • 迪庆北京网站建设成都今天重大新闻事件
  • 做愛視頻网站网站制作维护
  • 新手建网站需要怎么做呢线上推广具体应该怎么做
  • 做网站软件图标是一个箭头的站长工具推荐
  • 前端怎么做电商网站网站关键词排名优化
  • php电子商务网站建设百度一下百度网页版主页