kubernetes 调试工具pod

apiVersion: apps/v1
kind: StatefulSet
#kind: Deployment 
metadata:
  name: curl
  labels:
    name: curl
spec:
  serviceName: "curl"
  selector:
    matchLabels:
      app: curl
  replicas: 1
  template:
    metadata:
      labels:
        app: curl
    spec:
      containers:
      - name: curl
        image: tutum/curl:alpine
        command:
          - "sh"
          - "-c"
          - >
            while true; do
              sleep 3600;
            done

  

kubernetes 调试工具pod

 

转载于:https://www.cnblogs.com/jcici/p/11549230.html

你可能感兴趣的:(kubernetes 调试工具pod)