Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for preStop (0.5 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml

              path: pathValue
              port: portValue
              scheme: schemeValue
            sleep:
              seconds: 1
            tcpSocket:
              host: hostValue
              port: portValue
          preStop:
            exec:
              command:
              - commandValue
            httpGet:
              host: hostValue
              httpHeaders:
              - name: nameValue
                value: valueValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

                "tcpSocket": {
                  "port": "portValue",
                  "host": "hostValue"
                },
                "sleep": {
                  "seconds": 1
                }
              },
              "preStop": {
                "exec": {
                  "command": [
                    "commandValue"
                  ]
                },
                "httpGet": {
                  "path": "pathValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate_values_test.go

      - "my-namespace"
      proxy:
        includeIPRanges: "1.1.0.0/16,2.2.0.0/16"
        excludeIPRanges: "3.3.0.0/16,4.4.0.0/16"
        excludeInboundPorts: "333,444"
        clusterDomain: "my.domain"
        lifecycle:
          preStop:
            exec:
              command: ["/bin/sh", "-c", "sleep 30"]
    `,
    		},
    		{
    			desc: "CNIConfig",
    			yamlStr: `
    cni:
      cniBinDir: "/var/lib/cni/bin"
      cniConfDir: "/var/run/multus/cni/net.d"
    `,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	klog.V(3).InfoS("Running preStop hook", "pod", klog.KObj(pod), "podUID", pod.UID, "containerName", containerSpec.Name, "containerID", containerID.String())
    
    	start := metav1.Now()
    	done := make(chan struct{})
    	go func() {
    		defer close(done)
    		defer utilruntime.HandleCrash()
    		if _, err := m.runner.Run(ctx, containerID, pod, containerSpec, containerSpec.Lifecycle.PreStop); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  5. pkg/api/pod/util_test.go

    		}
    	}
    
    	makeContainer := func(preStop, postStart *api.LifecycleHandler) api.Container {
    		container := api.Container{Name: "foo"}
    		if preStop != nil || postStart != nil {
    			container.Lifecycle = &api.Lifecycle{
    				PostStart: postStart,
    				PreStop:   preStop,
    			}
    		}
    		return container
    	}
    
    	makeEphemeralContainer := func(preStop, postStart *api.LifecycleHandler) api.EphemeralContainer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    			Name:  "life-123",
    			Image: "image",
    			Lifecycle: &core.Lifecycle{
    				PreStop: &core.LifecycleHandler{
    					Exec: &core.ExecAction{},
    				},
    			},
    			ImagePullPolicy:          "IfNotPresent",
    			TerminationMessagePolicy: "File",
    		}},
    		field.ErrorList{{Type: field.ErrorTypeRequired, Field: "containers[0].lifecycle.preStop.exec.command"}},
    	}, {
    		"invalid lifecycle, no http path.",
    		line(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inputs/enable-core-dump.yaml.5.template.gen.yaml

                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks-json.yaml.16.template.gen.yaml

                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello-image-pull-secret.yaml.11.template.gen.yaml

                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello.yaml.0.template.gen.yaml

                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top