Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Mounts (0.19 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    	return func(b *containerAllocateResponseBuilder) {
    		b.devices = devices
    	}
    }
    
    // withMounts sets the mounts for the containerAllocateResponseBuilder
    func withMounts(mounts map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.mounts = mounts
    	}
    }
    
    // withEnvs sets the envs for the containerAllocateResponseBuilder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    }
    
    // makeMounts generates container volume mounts for kubelet runtime v1.
    func (m *kubeGenericRuntimeManager) makeMounts(opts *kubecontainer.RunContainerOptions, container *v1.Container) []*runtimeapi.Mount {
    	volumeMounts := []*runtimeapi.Mount{}
    
    	for idx := range opts.Mounts {
    		v := opts.Mounts[idx]
    		selinuxRelabel := v.SELinuxRelabel && selinux.GetEnabled()
    		mount := &runtimeapi.Mount{
    			HostPath:          v.HostPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. src/os/os_test.go

    			case "windows":
    				t.Error(errormsg)
    			default: // unix's
    				if got, want := at0, tt.wantATime; !got.Equal(want) {
    					mounts, err := ReadFile("/bin/mounts")
    					if err != nil {
    						mounts, err = ReadFile("/etc/mtab")
    					}
    					if strings.Contains(string(mounts), "noatime") {
    						t.Log(errormsg)
    						t.Log("A filesystem is mounted with noatime; ignoring.")
    					} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // Memory requests.
      string memory = 2;
    }
    
    // Configuration for the SecretDiscoveryService instead of using K8S secrets to mount the certificates.
    message SDSConfig {
      google.protobuf.Struct token = 5 [deprecated = true];
    }
    
    // Configuration for secret volume mounts.
    //
    // See https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets.
    message SecretVolume {
      string mountPath = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    				},
    			},
    		},
    	}
    }
    
    func newStatefulSetWithVolumes(replicas int32, name string, petMounts []v1.VolumeMount, podMounts []v1.VolumeMount) *apps.StatefulSet {
    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. hack/local-up-cluster.sh

      KUBE_FASTBUILD=true make ginkgo cross
    
      # install things we need that are missing from the kubekins image
      update_packages
    
      # configure shared mounts to prevent failure in DIND scenarios
      mount --make-rshared /
    
      # kubekins has a special directory for docker root
      DOCKER_ROOT="/docker-graph"
    
      # to use docker installed containerd as kubelet container runtime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/runtime/pprof/pprof_test.go

    			// loop-i goroutine should be present in the profile too.
    			counts := make(map[string]int)
    			for _, s := range p.Sample {
    				label := s.Label[t.Name()+"-loop-i"]
    				if len(label) > 0 {
    					counts[label[0]]++
    				}
    			}
    			for j, max := 0, len(counts)-1; j <= max; j++ {
    				n := counts[fmt.Sprint(j)]
    				if n == 1 || (n == 2 && j == max) {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    			t.Errorf("mismatching method counts for %s: %d vs %d", inst, counts[0], counts[1])
    			continue
    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/runtime/mheap.go

    	// short.
    	ri := arenaIndex(p)
    	if arenaL1Bits == 0 {
    		// If there's no L1, then ri.l1() can't be out of bounds but ri.l2() can.
    		if ri.l2() >= uint(len(mheap_.arenas[0])) {
    			return nil
    		}
    	} else {
    		// If there's an L1, then ri.l1() can be out of bounds but ri.l2() can't.
    		if ri.l1() >= uint(len(mheap_.arenas)) {
    			return nil
    		}
    	}
    	l2 := mheap_.arenas[ri.l1()]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    			t.Errorf("mismatching method counts for %s: %d vs %d", inst, counts[0], counts[1])
    			continue
    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top