Category: k8s

How to migrate applications from docker-compose to k8s 0

How to migrate applications from docker-compose to k8s

Hits: 0 Blog homepage: Blogger nickname: Migrant worker Lao Wang Main fields: Java, Linux, K8S Looking forward to your attention Table of contents Tool recommendation Steps install compose convert yaml Adjustment Deploy to k8s...

rancher2.6 deployment k8s cluster example 0

rancher2.6 deployment k8s cluster example

Hits: 0 Blog homepage: Blogger nickname: Migrant worker Lao Wang Main fields: Java, Linux, K8S Looking forward to your attention Table of contents 1 Computer Preparation 2 Preparation before installation 3 Deploy rancher 4...

Kubernetes allocates memory resources to containers and pods 0

Kubernetes allocates memory resources to containers and pods

Hits: 0[Kubernetes] allocates memory resources to containers and pods Article directory Kubernetes allocates memory resources to containers and pods @[toc] Before you begin Create a namespace Configure Memory Requests and Limits Exceeded container’s memory...

k8s delete master and etcd nodes and rejoin 0

k8s delete master and etcd nodes and rejoin

Hits: 0At present, the master cluster has 3 master nodes, one of which needs to be replaced. delete master node Execute the following command on master1 # kubectl drain master2 –delete-local-data –force –ignore-daemonsets node/master2...

k8s one line command to view pod log 0

k8s one line command to view pod log

Hits: 0Paste [the command line] first : kubectl logs -f –tail=1 kubectl get pods | grep markMe1024 | awk '{print $1}' Explain again: kubectl get pods: list all pods kubectl get pods | grep markMe1024: List pods containing “markMe1024” (I only have one...