k8s操作手册 2.3google.com/yum/repos/kubernetes-el7-x86_64 enabled=1 gpgcheck=0 EOF # yum install kubelet kubeadm kubectl kubernetes-cni -y #安装k8s二进制组件 (<=1.23版本) # systemctl enable kubelet # systemctl start kubelet google.com/yum/repos/kubernetes-el7-x86_64 enabled=1 gpgcheck=0 EOF # yum install kubelet kubeadm kubectl kubernetes-cni -y #安装k8s二进制组件 (>=1.24版本) # systemctl enable kubelet # systemctl start kubelet 件/etc/kubernetes/admin.conf 把它复制到需要使用kubectl命令的节点上的$HOME/.kube/目录下并命令为 config即可 # mkdir ~/.kube # cp /etc/kubernetes/admin.conf ~/.kube/config # chown $(id -u):$(id -g) ~/.kube/config # kubectl get pod --all-namespaces0 码力 | 126 页 | 4.33 MB | 1 年前3
Kubernetes开源书 - 周立如何在Windows 10上运⾏Docker和Kubernetes?:http://dockone.io/article/8136 启⽤Kubernetes Dashboard 执⾏: kubectl proxy 02-安装单机版Kubernetes 8 访问: http://localhost:8001/api/v1/namespaces/kube-system/services/ ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml ⼤概20分钟左右,Kubernetes即可安装完毕。 验证 验证1:查看Node状态 ]# kubectl get nodes NAME STATUS ROLES AGE VERSION node1 Ready master,node ]# kubectl run nginx --image=nginx:1.7.9 --port=80 # 为“nginx”服务暴露端⼝ ]# kubectl expose deployment nginx --type=NodePort # 查看nginx服务详情 03-使⽤Kubespray部署⽣产可⽤的Kubernetes集群(1.11.2) 13 ]# kubectl get svc0 码力 | 135 页 | 21.02 MB | 1 年前3
Cilium v1.9 DocumentationmacOS, and Windows. Install kubectl & minikube 1. Install kubectl version >= v1.10.0 as described in the Kubernetes Docs [https://kubernetes.io/docs/tasks/tools/install-kubectl/] 2. Install minikube >= without any customization. In case of installing Cilium with CRIO, please see CRIO instructions. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.9/inst With experimental-install.yaml environments. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.9/inst Validate the Installation You can monitor as Cilium and all required components are being installed: kubectl -n kube-system0 码力 | 1263 页 | 18.62 MB | 1 年前3
Cilium v1.8 DocumentationmacOS, and Windows. Install kubectl & minikube 1. Install kubectl version >= v1.10.0 as described in the Kubernetes Docs [https://kubernetes.io/docs/tasks/tools/install-kubectl/] 2. Install minikube >= without any customization. In case of installing Cilium with CRIO, please see CRIO instructions. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.8/inst Warning experimental-install environments. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.8/inst Validate the Installation You can monitor as Cilium and all required components are being installed: kubectl -n kube-system0 码力 | 1124 页 | 21.33 MB | 1 年前3
Cilium v1.5 DocumentationmacOS, and Windows. Install kubectl & minikube Install kubectl version >= v1.10.0 as described in the Kubernetes Docs [h�ps://kubernetes.io/docs/tasks/tools/install-kubectl/]. Install minikube >= v0 K8s 1.11 K8s 1.10 kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.5/exam kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.5/exam kubectl create -f https://raw com/cilium/cilium/v1.5/exam kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.5/exam kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.5/exam kubectl create -f https://raw0 码力 | 740 页 | 12.52 MB | 1 年前3
Cilium v1.6 DocumentationmacOS, and Windows. Install kubectl & minikube 1. Install kubectl version >= v1.10.0 as described in the Kubernetes Docs [https://kubernetes.io/docs/tasks/tools/install-kubectl/]. 2. Install minikube >= plugin. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.6/inst Validate the Installation You can monitor as Cilium and all required components are being installed: kubectl -n kube-system the connectivity test You can deploy the “connectivity-check” to test connectivity between pods. kubectl apply -f https://raw.githubusercontent.com/cilium/cilium/v1.6/examp It will deploy a simple probe0 码力 | 734 页 | 11.45 MB | 1 年前3
Cloud Native Contrail Networking
Installation and Life Cycle ManagementGuide for Rancher RKE2
2 | 34 3 Monitor Overview | 36 iii Install Contrail Analytics and the CN2 Web UI | 36 Kubectl Contrailstatus | 39 4 Manage Manage Single Cluster CN2 | 45 Overview | 45 Run Preflight plan on running kubectl. Contrailstatus is a kubectl plug-in you can use to query Contrail microservices and Contrail-specific resources. In the examples in this document, we run kubectl on an RKE2 server contrailstatus executable is packaged within the downloaded tools package. Extract and copy the kubectl-contrailstatus executable to /usr/local/bin. If you're installing a multi-cluster, then repeat steps0 码力 | 72 页 | 1.01 MB | 1 年前3
Cilium v1.7 DocumentationmacOS, and Windows. Install kubectl & minikube 1. Install kubectl version >= v1.10.0 as described in the Kubernetes Docs [https://kubernetes.io/docs/tasks/tools/install-kubectl/]. 2. Install minikube >= plugin. kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.7/inst Validate the Installation You can monitor as Cilium and all required components are being installed: kubectl -n kube-system the connectivity test You can deploy the “connectivity-check” to test connectivity between pods. kubectl apply -f https://raw.githubusercontent.com/cilium/cilium/v1.7/examp It will deploy a series of deployments0 码力 | 885 页 | 12.41 MB | 1 年前3
Cilium v1.10 Documentation\ --name "${NAME}" \ --network-plugin none # Get the credentials to access the cluster with kubectl az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP}" -- name "${NAME}" AKS (Azure IPAM) "${NAME}" \ --network-plugin azure \ --node-count 2 # Get the credentials to access the cluster with kubectl az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP}" -- name "${NAME}" Attention Do requirements. Install Cilium Install Cilium into the Kubernetes cluster pointed to by your current kubectl context: cilium install GKE To install Cilium on Google Kubernetes Engine (GKE) [https://cloud0 码力 | 1307 页 | 19.26 MB | 1 年前3
Cilium v1.11 Documentation\ --name "${NAME}" \ --network-plugin none # Get the credentials to access the cluster with kubectl az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP}" -- name "${NAME}" AKS (Azure IPAM) "${NAME}" \ --network-plugin azure \ --node-count 2 # Get the credentials to access the cluster with kubectl az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP}" -- name "${NAME}" Attention Do requirements. Install Cilium Install Cilium into the Kubernetes cluster pointed to by your current kubectl context: cilium install --version 1.11.20 GKE To install Cilium on Google Kubernetes Engine (GKE)0 码力 | 1373 页 | 19.37 MB | 1 年前3
共 262 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27













