Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for VolumeMounts (0.15 sec)

  1. cmd/kubeadm/app/phases/controlplane/volumes.go

    func (c *controlPlaneHostPathMounts) addComponentVolumeMount(component string, volMount v1.VolumeMount) {
    	if _, ok := c.volumeMounts[component]; !ok {
    		c.volumeMounts[component] = map[string]v1.VolumeMount{}
    	}
    	c.volumeMounts[component][volMount.Name] = volMount
    }
    
    // getEtcdCertVolumes returns the volumes/volumemounts needed for talking to an external etcd cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. pkg/volume/util/nested_volumes_test.go

    			volname:  "vol1",
    			pod: v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: testNamespace,
    					UID:       testPodUID,
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							VolumeMounts: []v1.VolumeMount{
    								{MountPath: "/dir", Name: "vol1"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Simple Nested Pod",
    			err:      false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. plugin/pkg/admission/serviceaccount/admission_test.go

    	}
    	if len(pod.Spec.Containers[0].VolumeMounts) != 1 {
    		t.Fatalf("Expected 1 volume mount, got %d", len(pod.Spec.Containers[0].VolumeMounts))
    	}
    	if !reflect.DeepEqual(expectedVolumeMount, pod.Spec.Containers[0].VolumeMounts[0]) {
    		t.Fatalf("Expected\n\t%#v\ngot\n\t%#v", expectedVolumeMount, pod.Spec.Containers[0].VolumeMounts[0])
    	}
    
    	// testing InitContainers
    	pod = &api.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go

    	AllocatedResources   *corev1.ResourceList                    `json:"allocatedResources,omitempty"`
    	Resources            *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"`
    	VolumeMounts         []VolumeMountStatusApplyConfiguration   `json:"volumeMounts,omitempty"`
    	User                 *ContainerUserApplyConfiguration        `json:"user,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. samples/bookinfo/platform/kube/bookinfo-psa.yaml

            imagePullPolicy: IfNotPresent
            env:
            - name: LOG_DIR
              value: "/tmp/logs"
            ports:
            - containerPort: 9080
            volumeMounts:
            - name: tmp
              mountPath: /tmp
            - name: wlp-output
              mountPath: /opt/ibm/wlp/output
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. samples/bookinfo/platform/kube/bookinfo.yaml

            imagePullPolicy: IfNotPresent
            env:
            - name: LOG_DIR
              value: "/tmp/logs"
            ports:
            - containerPort: 9080
            volumeMounts:
            - name: tmp
              mountPath: /tmp
            - name: wlp-output
              mountPath: /opt/ibm/wlp/output
          volumes:
          - name: wlp-output
            emptyDir: {}
          - name: tmp
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

              "requests": {
                "requestsKey": "0"
              },
              "claims": [
                {
                  "name": "nameValue"
                }
              ]
            },
            "volumeMounts": [
              {
                "name": "nameValue",
                "mountPath": "mountPathValue",
                "readOnly": true,
                "recursiveReadOnly": "recursiveReadOnlyValue"
              }
            ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml

          waiting:
            message: messageValue
            reason: reasonValue
        user:
          linux:
            gid: 2
            supplementalGroups:
            - 3
            uid: 1
        volumeMounts:
        - mountPath: mountPathValue
          name: nameValue
          readOnly: true
          recursiveReadOnly: recursiveReadOnlyValue
      ephemeralContainerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tests/integration/security/file_mounted_certs/main_test.go

                      defaultMode: 420
                - path: spec.template.spec.containers[0].volumeMounts[100]
                  value: |-
                    name: server-certs
                    mountPath: /server-certs
                - path: spec.template.spec.containers[0].volumeMounts[101]
                  value: |-
                    name: client-certs
                    mountPath: /client-certs
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. pkg/kubelet/container/helpers_test.go

    	}{
    		{
    			name: "subpath with no expansion",
    			container: &v1.Container{
    				VolumeMounts: []v1.VolumeMount{{SubPathExpr: "foo"}},
    			},
    			expectedSubPath:   "foo",
    			expectedMountPath: "",
    			expectedOk:        true,
    		},
    		{
    			name: "volumes with expanded subpath",
    			container: &v1.Container{
    				VolumeMounts: []v1.VolumeMount{{SubPathExpr: "foo/$(POD_NAME)"}},
    			},
    			envs: []EnvVar{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top