Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 303 for Getcwd (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	clientv3 "go.etcd.io/etcd/client/v3"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/watch"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/controlplane/volumes.go

    	// If external etcd is specified, mount the directories needed for accessing the CA/serving certs and the private key
    	if cfg.Etcd.External != nil {
    		etcdVols, etcdVolMounts := getEtcdCertVolumes(cfg.Etcd.External, cfg.CertificatesDir)
    		mounts.AddHostPathMounts(kubeadmconstants.KubeAPIServer, etcdVols, etcdVolMounts)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/options/options_test.go

    		"--enable-priority-and-fairness=false",
    		"--enable-logs-handler=false",
    		"--endpoint-reconciler-type=" + string(reconcilers.LeaseEndpointReconcilerType),
    		"--etcd-keyfile=/var/run/kubernetes/etcd.key",
    		"--etcd-certfile=/var/run/kubernetes/etcdce.crt",
    		"--etcd-cafile=/var/run/kubernetes/etcdca.crt",
    		"--http2-max-streams-per-connection=42",
    		"--kubelet-read-only-port=10255",
    		"--kubelet-timeout=5s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cluster/gce/upgrade.sh

        echo "Alternatively, if you choose to allow an etcd upgrade that doesn't support downgrade,"
        echo "you might still be able to downgrade Kubernetes by pinning to the newer etcd version."
        echo "In all cases, it is strongly recommended to have an etcd backup before upgrading."
        echo
        if [ -t 0 ] && [ -t 1 ]; then
          read -r -p "Continue with default etcd version, which might upgrade etcd? [y/N] " confirm
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

    }
    
    # Starts etcd server pod (and etcd-events pod if needed).
    # More specifically, it prepares dirs and files, sets the variable value
    # in the manifests, and copies them to /etc/kubernetes/manifests.
    function start-etcd-servers {
      echo "Start etcd pods"
      if [[ -d /etc/etcd ]]; then
        rm -rf /etc/etcd
      fi
      if [[ -e /etc/default/etcd ]]; then
        rm -f /etc/default/etcd
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*Etcd)(nil), (*kubeadm.Etcd)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta4_Etcd_To_kubeadm_Etcd(a.(*Etcd), b.(*kubeadm.Etcd), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*kubeadm.Etcd)(nil), (*Etcd)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  10. src/os/os_test.go

    			select {
    			case <-done:
    				return
    			case <-hold:
    			}
    			// Getwd might be wrong
    			f0, err := Stat(".")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			pwd, err := Getwd()
    			if err != nil {
    				t.Errorf("Getwd: %v", err)
    				return
    			}
    			if pwd != d {
    				t.Errorf("Getwd() = %q, want %q", pwd, d)
    				return
    			}
    			f1, err := Stat(pwd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top