Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for preStop (0.53 sec)

  1. pkg/kubelet/kuberuntime/labels_test.go

    )
    
    func TestContainerLabels(t *testing.T) {
    	deletionGracePeriod := int64(10)
    	terminationGracePeriod := int64(10)
    	lifecycle := &v1.Lifecycle{
    		// Left PostStart as nil
    		PreStop: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"action1", "action2"},
    			},
    			HTTPGet: &v1.HTTPGetAction{
    				Path:   "path",
    				Host:   "host",
    				Port:   intstr.FromInt32(8080),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. 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)
Back to top