Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 331 for podspec_ (0.21 sec)

  1. istioctl/pkg/describe/describe_test.go

    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage-v1-1234567890",
    						Namespace: "default",
    						Labels: map[string]string{
    							"app": "productpage",
    						},
    					},
    					Spec: corev1.PodSpec{
    						Containers: []corev1.Container{
    							{
    								Name: "productpage",
    								Ports: []corev1.ContainerPort{
    									{
    										Name:          "http",
    										ContainerPort: 9080,
    									},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation_test.go

    	validPodSpecAbc := api.PodSpec{
    		RestartPolicy: api.RestartPolicyAlways,
    		DNSPolicy:     api.DNSClusterFirst,
    		Containers:    []api.Container{{Name: "abc", Image: "image", ImagePullPolicy: "IfNotPresent", TerminationMessagePolicy: api.TerminationMessageReadFile}},
    	}
    	validPodSpecDef := api.PodSpec{
    		RestartPolicy: api.RestartPolicyAlways,
    		DNSPolicy:     api.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. pkg/api/job/warnings_test.go

    		MatchLabels: map[string]string{"a": "b"},
    	}
    
    	validPodTemplate = core.PodTemplateSpec{
    		ObjectMeta: metav1.ObjectMeta{
    			Labels: validSelector.MatchLabels,
    		},
    		Spec: core.PodSpec{
    			RestartPolicy: core.RestartPolicyOnFailure,
    			DNSPolicy:     core.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 14:38:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. pkg/scheduler/util/utils_test.go

    	}
    }
    
    func newPriorityPodWithStartTime(name string, priority int32, startTime time.Time) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Spec: v1.PodSpec{
    			Priority: &priority,
    		},
    		Status: v1.PodStatus{
    			StartTime: &metav1.Time{Time: startTime},
    		},
    	}
    }
    
    func TestGetEarliestPodStartTime(t *testing.T) {
    	var priority int32 = 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/conversion_test.go

    	name, other := "foo", "bar"
    
    	// Test internal -> v1. Should have both alias (DeprecatedServiceAccount)
    	// and new field (ServiceAccountName).
    	i := &core.PodSpec{
    		ServiceAccountName: name,
    	}
    	v := v1.PodSpec{}
    	if err := legacyscheme.Scheme.Convert(i, &v, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if v.ServiceAccountName != name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:15 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    				Spec: v1.PodSpec{
    					Affinity: &v1.Affinity{
    						PodAntiAffinity: antiAffinityFooBar,
    					},
    				},
    			},
    			existingPods: []*v1.Pod{
    				{ObjectMeta: metav1.ObjectMeta{Name: "p1", Labels: selector1},
    					Spec: v1.PodSpec{NodeName: "nodeA"},
    				},
    				{ObjectMeta: metav1.ObjectMeta{Name: "p2"},
    					Spec: v1.PodSpec{
    						NodeName: "nodeC",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  8. pkg/security/apparmor/validate_test.go

    				v1.DeprecatedAppArmorBetaContainerAnnotationKeyPrefix + "test2": v1.DeprecatedAppArmorBetaProfileNamePrefix + "docker-default",
    			},
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{
    				{Name: "init"},
    			},
    			Containers: []v1.Container{
    				{Name: "test1"},
    				{Name: "test2"},
    				{Name: "no-profile"},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. samples/security/spire/clusterspiffeid.yaml

    apiVersion: spire.spiffe.io/v1alpha1
    kind: ClusterSPIFFEID
    metadata:
      name: example
    spec:
      spiffeIDTemplate: "spiffe://{{ .TrustDomain }}/ns/{{ .PodMeta.Namespace }}/sa/{{ .PodSpec.ServiceAccountName }}"
      podSelector:
        matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 22:08:56 UTC 2023
    - 285 bytes
    - Viewed (0)
  10. pkg/registry/apps/replicaset/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: Mon Aug 09 21:04:31 UTC 2021
    - 6.9K bytes
    - Viewed (0)
Back to top