blug init demo

content

this is my first blog post here.

test markdown && pre code

package main
import "fmt"
func main() {
    fmt.Println("Hello, 世界")
}
print("hello world")
apiVersion: v1
kind: Pod
metadata:
  name: ubuntu-test-ci-pod-1
  namespace: test-ns
spec:
  containers:
  - name: ubuntu-dp
  
    image: golang:1.18
    command: ["/bin/bash"]
    args: ["-c", "sleep infinity"]
    securityContext:
      runAsUser: 0  # 以 root 用户运行容器
    volumeMounts:
    - name: docker-socket
      mountPath: /var/run/docker.sock
    imagePullPolicy: Always  # 每次启动 Pod 时都拉取最新镜像

  volumes:
  - name: docker-socket
    hostPath:
      path: /var/run/docker.sock
      type: Socket

中文测试

你好 小笼包 谢谢 再见

Category: init | Tags: init | Created: 2024-11-30 12:13:40