摘要:
1. 安装bookinfo kubectl label ns default isto-injection=enables istio-1.17.2# kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml 2. 安装好bookin
阅读全文
posted @ 2023-08-17 22:52
个人记录
阅读(44)
推荐(0)
摘要:
1. 建立nfs server cat /etc/exports /data/nfs_pro 192.168.31.0/24(rw,no_root_squash) 2.建立sa,绑定权限 kubectl create sa nfs-provisioner kubectl create cluster
阅读全文
posted @ 2023-07-02 20:05
个人记录
阅读(46)
推荐(0)
摘要:
#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
个人记录
阅读(28)
推荐(0)
摘要:
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
个人记录
阅读(1460)
推荐(0)
摘要:
ContainerRuntime 负责容器的整个生命周期。 k8s 1.5之后,k8s通过CRI(容器运行时接口)对接“容器运行时” 为何弃用docker docker使用的容器运行时containerd。本身是符合CRI标准的。 之前: k8s-> dockershim(k8s维护)-> dock
阅读全文
posted @ 2023-06-21 23:24
个人记录
阅读(198)
推荐(0)
摘要:
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
个人记录
阅读(37)
推荐(0)
摘要:
components.yaml如下,改了image和认证,直接复制之后执行 kubectl create -f components.yaml apiVersion: v1 kind: ServiceAccount metadata: labels: k8s-app: metrics-server
阅读全文
posted @ 2023-06-12 22:15
个人记录
阅读(96)
推荐(0)
摘要:
题目: Create a new ClusterRole named deployment-clusterrole which only allows to create the following resource types.DeploymentStatefulSetDaemonSet Crea
阅读全文
posted @ 2023-06-11 20:56
个人记录
阅读(15)
推荐(0)
摘要:
题目: 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
个人记录
阅读(40)
推荐(0)
摘要:
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
个人记录
阅读(65)
推荐(0)