Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for EphemeralContainers (0.22 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. 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)
  3. 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)
  4. pkg/volume/util/util_test.go

    								RunAsUser: ptr.To[int64](1000),
    							},
    						},
    						{
    							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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/api/testing/defaulting_test.go

    		{Group: "", Version: "v1", Kind: "EndpointsList"}:                                                          {},
    		{Group: "", Version: "v1", Kind: "EphemeralContainers"}:                                                    {},
    		{Group: "", Version: "v1", Kind: "Namespace"}:                                                              {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

            options:
            - name: nameValue
              value: valueValue
            searches:
            - searchesValue
          dnsPolicy: dnsPolicyValue
          enableServiceLinks: true
          ephemeralContainers:
          - args:
            - argsValue
            command:
            - commandValue
            env:
            - name: nameValue
              value: valueValue
              valueFrom:
                configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

          - nameserversValue
          options:
          - name: nameValue
            value: valueValue
          searches:
          - searchesValue
        dnsPolicy: dnsPolicyValue
        enableServiceLinks: true
        ephemeralContainers:
        - args:
          - argsValue
          command:
          - commandValue
          env:
          - name: nameValue
            value: valueValue
            valueFrom:
              configMapKeyRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
Back to top