- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for EphemeralContainers (0.43 sec)
-
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) -
plugin/pkg/admission/serviceaccount/admission_test.go
}, } // validate enforces restrictions on secret mounts when operation==create and subresource=='' or operation==update and subresource==ephemeralcontainers" attrs = admission.NewAttributesRecord(pod2, nil, api.Kind("Pod").WithVersion("version"), ns, "myname", api.Resource("pods").WithVersion("version"), "ephemeralcontainers", admission.Update, &metav1.UpdateOptions{}, false, nil) if err := admit.Validate(context.TODO(), attrs, nil); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
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) -
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) -
pkg/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.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: Wed May 29 22:40:29 UTC 2024 - 34.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.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: Wed May 29 22:40:29 UTC 2024 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.DaemonSet.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: Thu Apr 18 08:52:25 UTC 2024 - 35K bytes - Viewed (0)