Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for Getcwd (0.15 sec)

  1. src/os/path_windows.go

    	if !filepathlite.IsAbs(path) {
    		// If the path is relative, we need to prepend the working directory
    		// plus a separator to the path before we can determine if it's too long.
    		// We don't want to call syscall.Getwd here, as that call is expensive to do
    		// every time fixLongPath is called with a relative path, so we use a cache.
    		// Note that getwdCache might be outdated if the working directory has been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. cmd/healthcheck-handler.go

    			return
    		}
    	}
    
    	if globalEtcdClient != nil {
    		// Borrowed from
    		// https://github.com/etcd-io/etcd/blob/main/etcdctl/ctlv3/command/ep_command.go#L118
    		ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout)
    		defer cancel()
    		if _, err := globalEtcdClient.Get(ctx, "health"); err != nil {
    			// etcd unreachable throw an error..
    			switch r.Method {
    			case http.MethodHead:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/staticpod/utils_linux.go

    }
    
    // runEtcdAsNonRoot updates the pod manifest and the hostVolume permissions to run etcd as non root.
    func runEtcdAsNonRoot(pod *v1.Pod, runAsUser, runAsGroup *int64, updatePathOwnerAndPermissions pathOwnerAndPermissionsUpdaterFunc, updatePathOwner pathOwnerUpdaterFunc, cfg *kubeadmapi.ClusterConfiguration) error {
    	if err := updatePathOwner(cfg.Etcd.Local.DataDir, *runAsUser, *runAsGroup); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. hack/jenkins/test-dockerized.sh

    # kubekins-test container with a kubernetes repo mapped in. See
    # k8s.io/test-infra/scenarios/kubernetes_verify.py
    
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    # Until all GOPATH references are removed from all build scripts as well,
    # explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/certs/util.go

    				"front-proxy-ca.crt": fpCACert,
    				"front-proxy-ca.key": fpCAKey,
    				"etcd/ca.crt":        etcdCACert,
    				"etcd/ca.key":        etcdCAKey,
    			},
    		},
    		{
    			Name: "CA certs only",
    			Files: PKIFiles{
    				"ca.crt":             caCert,
    				"front-proxy-ca.crt": fpCACert,
    				"etcd/ca.crt":        etcdCACert,
    			},
    			ExpectError: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go

    		setupFiles      []string
    		verifyExists    []string
    		verifyNotExists []string
    	}{
    		"simple reset": {
    			setupDirs: []string{
    				"manifests",
    				"pki",
    			},
    			setupFiles: []string{
    				"manifests/etcd.yaml",
    				"manifests/kube-apiserver.yaml",
    				"pki/ca.pem",
    				kubeadmconstants.AdminKubeConfigFileName,
    				kubeadmconstants.SuperAdminKubeConfigFileName,
    				kubeadmconstants.KubeletKubeConfigFileName,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/testing/testingcert/certificates.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testingcert
    
    // You can use cfssl tool to generate certificates, please refer
    // https://github.com/etcd-io/etcd/tree/main/hack/tls-setup for more details.
    //
    // ca-config.json:
    //
    //	expiry was changed from 1 year to 100 years (876000h)
    //
    // ca-csr.json:
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	podRV, err := versioner.ParseResourceVersion(pod.ResourceVersion)
    	require.NoError(t, err)
    	require.Equal(t, currentStorageRV, podRV, "expected the global etcd RV to be equal to pod's RV")
    
    	// now create a replicaset (new resource) and make sure the target function returns global etcd RV
    	rs := createReplicaSet(makeReplicaSet("replicaset-1"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. hack/jenkins/benchmark-dockerized.sh

    # in ${WORKSPACE}/artifacts. This script can also be run within a
    # kubekins-test container with a kubernetes repo mounted (at the path
    # /go/src/k8s.io/kubernetes).
    
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    # Until all GOPATH references are removed from all build scripts as well,
    # explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/storage/storage_test.go

    		mem := allocator.NewAllocationMapWithOffset(max, rangeSpec, offset)
    		backing = mem
    		etcd, err := allocatorstore.NewEtcd(mem, "/ranges/serviceips", configForAllocations)
    		if err != nil {
    			return nil, err
    		}
    		return etcd, nil
    	})
    	if err != nil {
    		t.Fatalf("unexpected error creating etcd: %v", err)
    	}
    	s, d, err := generic.NewRawStorage(configForAllocations, nil, nil, "")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top