- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 204 for PodSpec (0.5 sec)
-
plugin/pkg/admission/podtolerationrestriction/admission_test.go
CPU1000m := resource.MustParse("1000m") CPU500m := resource.MustParse("500m") burstablePod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "testPod", Namespace: "testNamespace"}, Spec: api.PodSpec{ Containers: []api.Container{ { Name: "test", Resources: api.ResourceRequirements{ Limits: api.ResourceList{api.ResourceCPU: CPU1000m}, Requests: api.ResourceList{api.ResourceCPU: CPU500m},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/defaults_test.go
maxUnavailable := intstr.FromInt32(1) maxSurge := intstr.FromInt32(0) period := int64(v1.DefaultTerminationGracePeriodSeconds) defaultTemplate := v1.PodTemplateSpec{ Spec: v1.PodSpec{ DNSPolicy: v1.DNSClusterFirst, RestartPolicy: v1.RestartPolicyAlways, SecurityContext: &v1.PodSecurityContext{}, TerminationGracePeriodSeconds: &period,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
hostutil.NewFakeHostUtil(nil), volumePluginMgr, kubeletPodsDir) 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: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/maturity/maturity.go
if len(r.Metadata.Annotations) == 0 { return } var shouldSkipDefault bool if r.Metadata.Schema.GroupVersionKind() == gvk.Pod { shouldSkipDefault = isCNIEnabled(r.Message.(*corev1.PodSpec)) } // It is fine if the annotation is kubectl.kubernetes.io/last-applied-configuration. for ann := range r.Metadata.Annotations { if !istioAnnotation(ann) { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.proto
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of pods. // More info: http://kubernetes.io/docs/user-guide/pods repeated Pod items = 2; } // PodSpec is a description of a pod message PodSpec { // Restart policy for all containers within the pod. // One of Always, OnFailure, Never. // Default to Always. // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 7.6K bytes - Viewed (0) -
pkg/kube/client_test.go
Annotations: map[string]string{ "prometheus.io/port": "15016", }, }, }, expected: 15016, }, { name: "No monitoringAddr", pod: &corev1.Pod{ Spec: corev1.PodSpec{ Containers: []corev1.Container{ { Name: "discovery", }, }, }, }, expected: 15014, // Default value }, } for _, tt := range tests {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 01 15:24:34 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
}, } inTreeInlineVolPod := &v1.Pod{ Spec: v1.PodSpec{ Volumes: []v1.Volume{ { VolumeSource: v1.VolumeSource{ AWSElasticBlockStore: &v1.AWSElasticBlockStoreVolumeSource{ VolumeID: "aws-inline1", }, }, }, }, }, } inTreeInlineVolPodWithSameCSIVolumeID := &v1.Pod{ Spec: v1.PodSpec{ Volumes: []v1.Volume{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go
// Human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } // PodSpec is a description of a pod type PodSpec struct { // Restart policy for all containers within the pod. // One of Always, OnFailure, Never. // Default to Always. // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
success: true, }, { name: "opt-in to host user namespace", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &trueVal, }, }, expMode: runtimeapi.NamespaceMode_NODE, success: true, }, { name: "user namespace", pod: &v1.Pod{ Spec: v1.PodSpec{ HostUsers: &falseVal, }, }, expMode: runtimeapi.NamespaceMode_POD,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/apis/apps/v1/defaults_test.go
maxUnavailable := intstr.FromInt32(1) maxSurge := intstr.FromInt32(0) period := int64(v1.DefaultTerminationGracePeriodSeconds) defaultTemplate := v1.PodTemplateSpec{ Spec: v1.PodSpec{ DNSPolicy: v1.DNSClusterFirst, RestartPolicy: v1.RestartPolicyAlways, SecurityContext: &v1.PodSecurityContext{}, TerminationGracePeriodSeconds: &period,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.1K bytes - Viewed (0)