Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for ephemeralcontainers (0.34 sec)

  1. pkg/apis/core/v1/zz_generated.defaults.go

    			if a.Lifecycle.PreStop != nil {
    				if a.Lifecycle.PreStop.HTTPGet != nil {
    					SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet)
    				}
    			}
    		}
    	}
    	for i := range in.Spec.EphemeralContainers {
    		a := &in.Spec.EphemeralContainers[i]
    		SetDefaults_EphemeralContainer(a)
    		for j := range a.EphemeralContainerCommon.Ports {
    			b := &a.EphemeralContainerCommon.Ports[j]
    			if b.Protocol == "" {
    				b.Protocol = "TCP"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation_test.go

    		"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.ReadOnlyRootFilesystem",
    		"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.RunAsGroup",
    		"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.RunAsUser",
    		"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.SELinuxOptions",
    		"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.SeccompProfile",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  3. 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)
  4. plugin/pkg/admission/serviceaccount/admission.go

    	if shouldIgnore(a) {
    		return nil
    	}
    
    	pod := a.GetObject().(*api.Pod)
    
    	if a.GetOperation() == admission.Update && a.GetSubresource() == "ephemeralcontainers" {
    		return s.limitEphemeralContainerSecretReferences(pod, a)
    	}
    
    	if a.GetOperation() != admission.Create {
    		// we only validate pod specs during create requests
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. pkg/kubelet/pod/pod_manager.go

    // oldPod or newPod may be nil to signify creation or deletion.
    func updateMetrics(oldPod, newPod *v1.Pod) {
    	var numEC int
    	if oldPod != nil {
    		numEC -= len(oldPod.Spec.EphemeralContainers)
    	}
    	if newPod != nil {
    		numEC += len(newPod.Spec.EphemeralContainers)
    	}
    	if numEC != 0 {
    		metrics.ManagedEphemeralContainers.Add(float64(numEC))
    	}
    }
    
    // updatePodsInternal replaces the given pods in the current state of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers_test.go

    			Containers: []corev1.Container{
    				{
    					Name: "bar",
    				},
    			},
    			InitContainers: []corev1.Container{
    				{
    					Name: "initfoo",
    				},
    			},
    			EphemeralContainers: []corev1.EphemeralContainer{
    				{
    					EphemeralContainerCommon: corev1.EphemeralContainerCommon{
    						Name: "debugger",
    					},
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. api/discovery/api__v1.json

          "name": "pods/binding",
          "namespaced": true,
          "singularName": "",
          "verbs": [
            "create"
          ]
        },
        {
          "kind": "Pod",
          "name": "pods/ephemeralcontainers",
          "namespaced": true,
          "singularName": "",
          "verbs": [
            "get",
            "patch",
            "update"
          ]
        },
        {
          "group": "policy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. pkg/registry/core/rest/storage_core.go

    		storage[resource+"/binding"] = podStorage.Binding
    		if podStorage.Eviction != nil {
    			storage[resource+"/eviction"] = podStorage.Eviction
    		}
    		storage[resource+"/ephemeralcontainers"] = podStorage.EphemeralContainers
    	}
    	if resource := "bindings"; apiResourceConfigSource.ResourceEnabled(corev1.SchemeGroupVersion.WithResource(resource)) {
    		storage[resource] = podStorage.LegacyBinding
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy.go

    func dropNonEphemeralContainerUpdates(newPod, oldPod *api.Pod) *api.Pod {
    	pod := oldPod.DeepCopy()
    	pod.Name = newPod.Name
    	pod.Namespace = newPod.Namespace
    	pod.ResourceVersion = newPod.ResourceVersion
    	pod.UID = newPod.UID
    	pod.Spec.EphemeralContainers = newPod.Spec.EphemeralContainers
    	return pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		changes.ContainersToStart = containersToStart
    		return changes
    	}
    
    	// Ephemeral containers may be started even if initialization is not yet complete.
    	for i := range pod.Spec.EphemeralContainers {
    		c := (*v1.Container)(&pod.Spec.EphemeralContainers[i].EphemeralContainerCommon)
    
    		// Ephemeral Containers are never restarted
    		if podStatus.FindContainerStatusByName(c.Name) == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top