kubectl declarative resource management commands

Table of Contents 1. Introduction to declarative resource management: 2. Declarative related commands: 1. Grammar format: 2. View the resource configuration list: 3. Explain the resource configuration list: 4. Modify the resource configuration list and apply: 4.1 Offline modification: 4.2 Online modification: 5. Delete the resource configuration list: 3. Detailed explanation of yaml file: 1. […]

kubectl resource management command—declarative

Table of Contents 1. Introduction to yaml and json 1. Introduction to yuml language 2. File formats supported by k8s 2. Declarative object management 1. Detailed explanation of deployment.yaml file 2. Detailed explanation of Pod yaml file 3. Detailed explanation of Service yaml file 3. Prepare resource allocation list 1. Write yaml file 2. Create […]

Kubernetes kubectl full component exception diagnosis method (all dry information)

This article is a guide on using Kubectl for Kubernetes diagnostics. List of 100 Kubectl commands that are useful for diagnosing issues in Kubernetes clusters. These issues include but are not limited to: Cluster information Pod diagnostics Service diagnostics Deployment diagnostics Network diagnostics Persistent Volumes and Persistent Volume Claims Diagnostics Resource usage Security and authorization […]

kubectl declarative resource management in k8s

Table of Contents 1. Theory 1.1. Three basic methods for managing k8s core resources: 1.1.1 Declarative resource management method: 1.1.1.1. Advantages: 1.1.1.2. Disadvantages: 1.1.2. Declarative resource management method 1.1.3. GUI resource management method 1.2. Declarative resource management method 2. Add, delete and check resources 2.1. View version information 2.2. View the resource object abbreviation 2.3. […]

Use kubectl to connect to a remote Kubernetes (k8s) cluster

Use kubectl to connect to a remote Kubernetes cluster Environmental preparation Download kubectl download link Install kubectl and process configuration files Windows installation configuration Install kubectl Pull configuration file Mac installation configuration Install kubectl Pull configuration file kubectl command auto-completion Linux installation configuration Install kubectl Pull configuration file kubectl command auto-completion Environment preparation You need […]

kubectl command management (1)

kubectl management Table of contents 1: Declarative resource management method 1.1 View version information and tab completion 1.2 View basic information 2: Project life cycle 2.1 Use the kubectl run command to create and allow container images 2.2 Use kubectl expose command to publish resources 2.2.1 Release 2.2.2 View pod network information and service exposed […]

k8skubectl declarative and declarative resource management

k8s:kubectl declarative and declarative resource management 1. Declarative resource management method 1. Declarative resource management concept 2. View basic information (1) Check version information (2) View the resource object abbreviation (3) View cluster information (4) Configure kubectl automatic completion (5) node node view log 3. Add, delete, modify, check, expand and shrink related operations (1) […]

“Kubernetes Deployment: Ubuntu20.04 installs kubeadm, kubelet and kubectl based on binary installation”

1. Background Since the customer network is in a private network environment, Use the kubeadm tool to install the K8S cluster. Since you cannot connect to the Internet, you cannot use the apt tool to install kubeadm, kubelet, and kubectl. Of course, you You can also use the apt-get tool to download the kubeadm, kubelet, […]

kubectl create Chinese and English comparison

kubectl create –help Create a resource from a file or from stdin. (Creates a resource from a file or standard input.) JSON and YAML formats are accepted. (Accepts JSON and YAML formats.) Examples: # Create a pod using the data in pod.json (Create a pod using the data in pod.json) kubectl create -f ./pod.json # […]