- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 331 for podspec_ (0.11 sec)
-
pkg/apis/core/v1/defaults_test.go
} // Test PodSpec defaulting. s := spec.DeepCopy() corev1.SetDefaults_PodSpec(s) if got := s.Containers[0].Ports[0].HostPort; tc.expectPodSpecDefault && got == 0 { t.Errorf("expected PodSpec HostPort to be defaulted, got %v", got) } if got := s.Containers[0].Ports[0].HostPort; !tc.expectPodSpecDefault && got != 0 { t.Errorf("expected PodSpec HostPort to be 0, got %v", got) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go
} var xxx_messageInfo_PodList proto.InternalMessageInfo func (m *PodSpec) Reset() { *m = PodSpec{} } func (*PodSpec) ProtoMessage() {} func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptor_c0604dbfc428ecfb, []int{3} } func (m *PodSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *PodSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { b = b[:cap(b)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 56.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_manager_test.go
return psp.podStatus, psp.found } func makePod(podUID, containerName, cpuRequest, cpuLimit string) *v1.Pod { pod := &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceName(v1.ResourceCPU): resource.MustParse(cpuRequest),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 42.9K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1alpha1_test.go
{ desc: "pod without devices", pods: []*v1.Pod{ { ObjectMeta: metav1.ObjectMeta{ Name: podName, Namespace: podNamespace, UID: podUID, }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Name: containerName, }, }, }, }, }, devices: []*podresourcesv1.ContainerDevices{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
asw := NewActualStateOfWorld("mynode" /* nodeName */, volumePluginMgr) pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod1", UID: "pod1uid", }, Spec: v1.PodSpec{ Volumes: []v1.Volume{ { Name: "volume-name", VolumeSource: v1.VolumeSource{ GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{ PDName: "fake-device1", }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/apis/core/v1/conversion.go
if len(in.PodIPs) > 0 { out.PodIP = in.PodIPs[0].IP } return nil } // The following two v1.PodSpec conversions are done here to support v1.ServiceAccount // as an alias for ServiceAccountName. func Convert_core_PodSpec_To_v1_PodSpec(in *core.PodSpec, out *v1.PodSpec, s conversion.Scope) error { if err := autoConvert_core_PodSpec_To_v1_PodSpec(in, out, s); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:30:55 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_termination_order_test.go
restartPolicy := v1.ContainerRestartPolicyAlways pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: "12345678", Name: "bar", Namespace: "new", }, Spec: v1.PodSpec{ InitContainers: []v1.Container{ { Name: "init", Image: "busybox", ImagePullPolicy: v1.PullIfNotPresent, RestartPolicy: &restartPolicy, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 00:07:21 UTC 2023 - 6.7K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
Spec: v1.PodSpec{NodeName: "foo"}, Status: v1.PodStatus{Phase: v1.PodUnknown}, }, { ObjectMeta: metav1.ObjectMeta{Name: "runningButNotReady"}, Spec: v1.PodSpec{NodeName: "foo"}, Status: v1.PodStatus{Phase: v1.PodRunning}, }, { ObjectMeta: metav1.ObjectMeta{Name: "runningNoLastTransitionTime"}, Spec: v1.PodSpec{NodeName: "foo"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/strategy_test.go
} validSelector := map[string]string{"a": "b"} validPodTemplate := api.PodTemplate{ Template: api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: validSelector, }, Spec: api.PodSpec{ RestartPolicy: api.RestartPolicyAlways, DNSPolicy: api.DNSClusterFirst,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 13 16:56:29 UTC 2019 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/types.go
Status ConditionStatus // +optional LastProbeTime metav1.Time // +optional LastTransitionTime metav1.Time // +optional Reason string // +optional Message string } // PodSpec is a description of a pod type PodSpec struct { // +optional RestartPolicy RestartPolicy // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 03 06:34:52 UTC 2019 - 5.1K bytes - Viewed (0)