Brief description of POD creation and deletion

The process of creating a Pod can be divided into the following steps: Users send a request to create a Pod to the API server using the kubectl create command or a YAML file. The API server converts the request into an internal Kubernetes object and sets the Pod’s status to Pending. The scheduler schedules […]

Network connection between k8s pods

k8s cluster: linode k8s cluster, one master and two slaves. The test takes busybox using wget to access nginxindex as an example. Kubectl connects k8s cluster Import configuration file information into local kubectl export KUBECONFIG=/path/to/your/kubeconfig.yaml Test 1. Access between pods in the same namespace Create busybox in the default namespace kubectl run -it –image busybox:1.28.4 […]

Solved: Error from server (Timeout): timeout expired waiting for volumes to attach or mount for pod pod

Blogger Maotouhu () takes you to Go to New World? Maotouhu recommends a list of necessary technology stacks for programmers: Cloud native technology Cloud Native: Golang Docker Kubernetes ? Helm Serverless ?AWS Lambda Google Cloud Functions Microservices Envoy Istio Prometheus Blog homepage: Maotouhu’s blog “Complete Column of Interview Questions” Articles with pictures and texts Vivid […]

This article teaches you how to use SpireCV for pod control and target detection and tracking.

Function Overview SpireCV-SDK is an edge real-time sensing SDK library specially built for intelligent unmanned systems. It can realize pod control functions and control the drone’s camera and pod, including taking pictures, recording, streaming and other functions, and can save videos. and push streaming, as well as complete target detection, identification and tracking functions. This […]

[kubernetes] pod life cycle

Article directory 1 Overview 2. pod life cycle 3. pod stage 4. Container status 5. Container restart strategy 6. pod status 6.1 Pod ready state 6.2 Pod ready status 6.3 Pod network ready 7. Container probe 7.1 Inspection mechanism 7.2 Detection results 7.3 Detection types 8. Termination of Pod 8.1 Forcefully terminate Pod 8.2 Pod […]

How to view the logs before Pod crash in K8s

Scene When the pod is in the crash state, the container keeps restarting. At this time, using kubelet logs may never capture the logs. Solution: kubectl previous Parameter function: If true, print the logs for the previous instance of the container in a pod if it exists. Single container pod: kubectl logs pod-name –previous Multi-container […]

C++ Standard Templates (STL) – Type Support (type attributes, is_pod, is_trivially_copyable, is_standard_layout)

Type attributes A type attribute defines a compile-time template-based structure for querying or modifying the properties of a type. Attempting to specialize a template defined in the header results in undefined behavior, except that std::common_type can be specialized as described. Templates defined in the header file may be instantiated with incomplete types unless otherwise specified, […]

Build container images using Podman and Buildah

This is the second in a series of blog posts about building container images. The series starts with “How will we build container images in the future?” “start. This article explores how building images has changed since Docker was first released and how to overcome the many limitations of using Dockerfiles. This article focuses on […]

Pod resource limits and probes

Table of Contents Resource limits Resource limits overview resource unit Example Example 1 Example 2 probe Three rules for probes Probe supports three inspection methods Example Example 1: exec mode Example 2: httpGet method Example 3: tcpSocket method Example 4: Readiness detection Example 5: Readiness Detection 2 Expand pod status Container life cycle Resource Limitations […]