Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for ephemeral_container (0.29 sec)

  1. pkg/kubelet/metrics/metrics.go

    	ImageGarbageCollectedTotalKey = "image_garbage_collected_total"
    
    	// Values used in metric labels
    	Container          = "container"
    	InitContainer      = "init_container"
    	EphemeralContainer = "ephemeral_container"
    )
    
    type imageSizeBucket struct {
    	lowerBoundInBytes uint64
    	label             string
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go

    // with apply.
    type EphemeralContainerApplyConfiguration struct {
    	EphemeralContainerCommonApplyConfiguration `json:",inline"`
    	TargetContainerName                        *string `json:"targetContainerName,omitempty"`
    }
    
    // EphemeralContainerApplyConfiguration constructs an declarative configuration of the EphemeralContainer type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 21:39:35 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. pkg/api/v1/pod/util_test.go

    					{Name: "i1"},
    					{Name: "i2"},
    				},
    				EphemeralContainers: []v1.EphemeralContainer{
    					{EphemeralContainerCommon: v1.EphemeralContainerCommon{Name: "e1"}},
    					{EphemeralContainerCommon: v1.EphemeralContainerCommon{Name: "e2"}},
    				},
    			},
    			wantContainers: []string{"e1", "e2"},
    			mask:           EphemeralContainers,
    		},
    		{
    			desc: "all container types",
    			spec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  4. plugin/pkg/admission/imagepolicy/admission_test.go

    						},
    					},
    					EphemeralContainers: []api.EphemeralContainer{
    						{
    							EphemeralContainerCommon: api.EphemeralContainerCommon{
    								Image:           "bad",
    								SecurityContext: &api.SecurityContext{},
    							},
    						},
    					},
    				},
    			},
    			wantAllowed: false,
    			wantErr:     true,
    			subresource: "ephemeralcontainers",
    			operation:   admission.Update,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  5. plugin/pkg/admission/serviceaccount/admission_test.go

    		t.Errorf("Unexpected error: %v", err)
    	}
    
    	pod2 = &api.Pod{
    		Spec: api.PodSpec{
    			ServiceAccountName: DefaultServiceAccountName,
    			EphemeralContainers: []api.EphemeralContainer{
    				{
    					EphemeralContainerCommon: api.EphemeralContainerCommon{
    						Name: "container-2",
    						Env: []api.EnvVar{
    							{
    								Name: "env-1",
    								ValueFrom: &api.EnvVarSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. pkg/volume/util/util_test.go

    							},
    						},
    						{
    							SecurityContext: &v1.SecurityContext{
    								RunAsUser: ptr.To[int64](1000),
    							},
    						},
    					},
    					EphemeralContainers: []v1.EphemeralContainer{
    						{
    							EphemeralContainerCommon: v1.EphemeralContainerCommon{
    								SecurityContext: &v1.SecurityContext{
    									RunAsUser: ptr.To[int64](1001),
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/api/pod/util.go

    		}
    	}
    
    	for i := range podSpec.EphemeralContainers {
    		if podSpec.EphemeralContainers[i].Lifecycle == nil {
    			continue
    		}
    		adjustLifecycle(podSpec.EphemeralContainers[i].Lifecycle)
    		if podSpec.EphemeralContainers[i].Lifecycle.PreStop == nil && podSpec.EphemeralContainers[i].Lifecycle.PostStart == nil {
    			podSpec.EphemeralContainers[i].Lifecycle = nil
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  8. plugin/pkg/admission/imagepolicy/admission.go

    	_ "k8s.io/kubernetes/pkg/apis/imagepolicy/install"
    )
    
    // PluginName indicates name of admission plugin.
    const PluginName = "ImagePolicyWebhook"
    const ephemeralcontainers = "ephemeralcontainers"
    
    // AuditKeyPrefix is used as the prefix for all audit keys handled by this
    // pluggin. Some well known suffixes are listed below.
    var AuditKeyPrefix = strings.ToLower(PluginName) + ".image-policy.k8s.io/"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. pkg/api/v1/pod/util.go

    			if !visitor(&podSpec.Containers[i], Containers) {
    				return false
    			}
    		}
    	}
    	if mask&EphemeralContainers != 0 {
    		for i := range podSpec.EphemeralContainers {
    			if !visitor((*v1.Container)(&podSpec.EphemeralContainers[i].EphemeralContainerCommon), EphemeralContainers) {
    				return false
    			}
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/storage/storage.go

    type PodStorage struct {
    	Pod                 *REST
    	Binding             *BindingREST
    	LegacyBinding       *LegacyBindingREST
    	Eviction            *EvictionREST
    	Status              *StatusREST
    	EphemeralContainers *EphemeralContainersREST
    	Log                 *podrest.LogREST
    	Proxy               *podrest.ProxyREST
    	Exec                *podrest.ExecREST
    	Attach              *podrest.AttachREST
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top