Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for PodSpec (0.17 sec)

  1. pkg/volume/util/operationexecutor/operation_executor.go

    	// that should be mounted. Used to create NewMounter. Used to generate
    	// InnerVolumeSpecName.
    	VolumeSpec *volume.Spec
    
    	// outerVolumeSpecName is the podSpec.Volume[x].Name of the volume. If the
    	// volume was referenced through a persistent volume claim, this contains
    	// the podSpec.Volume[x].Name of the persistent volume claim.
    	OuterVolumeSpecName string
    
    	// Pod to mount the volume to. Used to create NewMounter.
    	Pod *v1.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. pkg/scheduler/testing/wrappers.go

    		},
    	}
    	return p
    }
    
    // Container appends a container into PodSpec of the inner pod.
    func (p *PodWrapper) Container(s string) *PodWrapper {
    	name := fmt.Sprintf("con%d", len(p.Spec.Containers))
    	p.Spec.Containers = append(p.Spec.Containers, MakeContainer().Name(name).Image(s).Obj())
    	return p
    }
    
    // Containers sets `containers` to the PodSpec of the inner pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor_test.go

    }
    
    func getTestPodWithSecret(podName, secretName string) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: podName,
    			UID:  types.UID(podName),
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: secretName,
    					VolumeSource: v1.VolumeSource{
    						Secret: &v1.SecretVolumeSource{
    							SecretName: secretName,
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    		"-j", ChainHostPostrouting,
    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pkg/config/schema/collections/collections.gen.go

    	Pod = resource.Builder{
    		Identifier:    "Pod",
    		Group:         "",
    		Kind:          "Pod",
    		Plural:        "pods",
    		Version:       "v1",
    		Proto:         "k8s.io.api.core.v1.PodSpec",
    		ReflectType:   reflect.TypeOf(&k8sioapicorev1.PodSpec{}).Elem(),
    		ProtoPackage:  "k8s.io/api/core/v1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       true,
    		ValidateProto: validation.EmptyValidate,
    	}.MustBuild()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    	node3 := &user.DefaultInfo{Name: "system:node:node3", Groups: []string{"system:nodes"}}
    
    	g.AddPod(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "pod1-node1", Namespace: "ns1"},
    		Spec: corev1.PodSpec{
    			NodeName: "node1",
    			Volumes: []corev1.Volume{
    				{VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "node1-only"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/marshal_test.go

    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "someName",
    			Namespace: "testNamespace",
    			Labels: map[string]string{
    				"test": "yes",
    			},
    		},
    		Spec: corev1.PodSpec{
    			RestartPolicy: corev1.RestartPolicyAlways,
    		},
    	}
    
    	bytes, err := MarshalToYaml(pod, corev1.SchemeGroupVersion)
    	if err != nil {
    		t.Fatalf("unexpected error marshalling: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. pkg/config/schema/metadata.yaml

        builtin: true
        proto: "k8s.io.api.core.v1.NodeSpec"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "Pod"
        plural: "pods"
        version: "v1"
        builtin: true
        proto: "k8s.io.api.core.v1.PodSpec"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "DaemonSet"
        plural: "daemonsets"
        group: "apps"
        version: "v1"
        builtin: true
        proto: "k8s.io.api.apps.v1.DaemonSetSpec"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			VolumeName: pvName,
    			VolumeMode: &volumeMode,
    		},
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: podName,
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: pvc.Name,
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. pkg/controller/job/backoff_utils_test.go

    		// sidecar containers will always finish later than regular containers.
    		"Pod with sidecar container and all containers terminated": {
    			pod: v1.Pod{
    				Spec: v1.PodSpec{
    					InitContainers: []v1.Container{
    						{
    							Name:          "sidecar",
    							RestartPolicy: &containerRestartPolicyAlways,
    						},
    					},
    				},
    				Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top