御风而翔  
个人云笔记
06 2023 档案
  • ubuntu 安装nfs
    摘要:#server 端 apt install nfs-kernel-servermkdir -p /data/volumesecho "/data/volumes 192.168.31.0/24(rw,no_root_squash)" >> /etc/exports service nfs-kerne 阅读全文
    posted @ 2023-06-28 20:48 个人记录 阅读(15) 评论(0) 推荐(0) 编辑
  • crictl报错
    摘要:root@k8s-master:~# crictl images ls WARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containe 阅读全文
    posted @ 2023-06-23 16:12 个人记录 阅读(1284) 评论(0) 推荐(0) 编辑
  • 容器运行时及其命令
    摘要:ContainerRuntime 负责容器的整个生命周期。 k8s 1.5之后,k8s通过CRI(容器运行时接口)对接“容器运行时” 为何弃用docker docker使用的容器运行时containerd。本身是符合CRI标准的。 之前: k8s-> dockershim(k8s维护)-> dock 阅读全文
    posted @ 2023-06-21 23:24 个人记录 阅读(117) 评论(0) 推荐(0) 编辑
  • k8s NetworkPolicy
    摘要:https://kubernetes.io/zh-cn/docs/concepts/services-networking/network-policies/#the-two-sorts-of-pod-isolation apiVersion: networking.k8s.io/v1 kind: 阅读全文
    posted @ 2023-06-16 16:58 个人记录 阅读(23) 评论(0) 推荐(0) 编辑
  • 安装metrics
    摘要:components.yaml如下,改了image和认证,直接复制之后执行 kubectl create -f components.yaml apiVersion: v1 kind: ServiceAccount metadata: labels: k8s-app: metrics-server 阅读全文
    posted @ 2023-06-12 22:15 个人记录 阅读(76) 评论(0) 推荐(0) 编辑
  • rbac cka
    摘要:题目: Create a new ClusterRole named deployment-clusterrole which only allows to create the following resource types.DeploymentStatefulSetDaemonSet Crea 阅读全文
    posted @ 2023-06-11 20:56 个人记录 阅读(10) 评论(0) 推荐(0) 编辑
  • k8s 升级 cka
    摘要:题目: Given an existing Kubernetes cluster running version 1.18.8, upgrade all of the Kubernetes control plane and node Components on the master node on 阅读全文
    posted @ 2023-06-10 22:43 个人记录 阅读(29) 评论(0) 推荐(0) 编辑
  • etcd备份
    摘要:CKA题目: TaskFirst, create a snapshot of the existing etcd instance runningat https://127.0.0.1:2379 , saving the snapshot to/srv/data/etcd-snapshot.db 阅读全文
    posted @ 2023-06-10 17:30 个人记录 阅读(52) 评论(0) 推荐(0) 编辑
  • jenkins构建报错
    摘要:问题:提交blue ocean的时候报错 解决: jenkins-》全局安全配置 问题:构建刚开始报错 解决: jenkins-》配置节点 报错: 分析: 解决: chmod -R 777 /opt/workspace/ 阅读全文
    posted @ 2023-06-08 20:41 个人记录 阅读(35) 评论(0) 推荐(0) 编辑
  • 配置告警
    摘要:https://github.com/dotbalo/k8s/blob/master/prometheus-operator/alertmanager.yaml vi alertmanager-secret.yaml "global": "resolve_timeout": "5m" #下面新加的 阅读全文
    posted @ 2023-06-04 23:42 个人记录 阅读(9) 评论(0) 推荐(0) 编辑
  • k8s集群外的linux加入prometheus监控
    摘要:client 配置:准备一台linux,不在k8s集群中,安装node_exporter wget https://github.com/prometheus/node_exporter/releases/download/v1.6.0/node_exporter-1.6.0.linux-amd64 阅读全文
    posted @ 2023-06-03 11:09 个人记录 阅读(57) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示