Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 681 for Getcwd (0.16 sec)

  1. cmd/kubeadm/app/phases/etcd/local.go

    	klog.V(1).Info("[etcd] Checking etcd cluster health")
    
    	// creates an etcd client that connects to all the local/stacked etcd members
    	klog.V(1).Info("creating etcd client that connects to etcd pods")
    	etcdClient, err := etcdutil.NewFromCluster(client, certificatesDir)
    	if err != nil {
    		return err
    	}
    
    	// Checking health state
    	err = etcdClient.CheckClusterHealth()
    	if err != nil {
    		return errors.Wrap(err, "etcd cluster is not healthy")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  2. cluster/images/etcd/README.md

    Provides docker images containing etcd and etcdctl binaries for multiple etcd
    version as well as a migration operator utility for upgrading and downgrading
    etcd--it's data directory in particular--to a target version.
    
    #### Versioning
    
    Each `registry.k8s.io/etcd` docker image is tagged with an version string of the form
    `<etcd-version>-<image-revision>`, e.g. `3.0.17-0`.  The etcd version is the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 27 12:41:39 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    		skipHealth        bool
    	}{
    		{
    			name:              "Readyz should have etcd-readiness check",
    			wantReadyzChecks:  []string{"etcd", "etcd-readiness"},
    			wantHealthzChecks: []string{"etcd"},
    			wantLivezChecks:   []string{"etcd"},
    		},
    		{
    			name:              "skip health, Readyz should not have etcd-readiness check",
    			wantReadyzChecks:  nil,
    			wantHealthzChecks: nil,
    			wantLivezChecks:   nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    			rt.runner.BindToCommand(rt.cmd)
    
    			// Checks that cmd gets a new phase subcommand
    			phaseCmd := getCmd(rt.cmd, "phase")
    			if phaseCmd == nil {
    				t.Error("cmd didn't have phase subcommand\n")
    				return
    			}
    
    			for c, args := range rt.testCases {
    
    				cCmd := getCmd(rt.cmd, c)
    				if cCmd == nil {
    					t.Errorf("cmd didn't have %s subcommand\n", c)
    					continue
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember.go

    	etcdphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/etcd"
    	utilstaticpod "k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod"
    )
    
    // NewRemoveETCDMemberPhase creates a kubeadm workflow phase for remove-etcd-member
    func NewRemoveETCDMemberPhase() workflow.Phase {
    	return workflow.Phase{
    		Name:  "remove-etcd-member",
    		Short: "Remove a local etcd member.",
    		Long:  "Remove a local etcd member for a control plane node.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go

    	}
    
    	// Adds a new etcd instance; in order to do this the new etcd instance should be "announced" to
    	// the existing etcd members before being created.
    	// This operation must be executed after kubelet is already started in order to minimize the time
    	// between the new etcd member is announced and the start of the static pod running the new etcd member, because during
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:09:42 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/etcd/local_test.go

        volumeMounts:
        - mountPath: %s/etcd
          name: etcd-data
        - mountPath: /etcd
          name: etcd-certs
      hostNetwork: true
      priority: 2000001000
      priorityClassName: system-node-critical
      securityContext:
        seccompProfile:
          type: RuntimeDefault
      volumes:
      - hostPath:
          path: /etcd
          type: DirectoryOrCreate
        name: etcd-certs
      - hostPath:
          path: %s/etcd
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/reset/removeetcdmember_test.go

      - hostPath:
          path: /path/to/etcd
          type: DirectoryOrCreate
        name: etcd-data
      - hostPath:
          path: /etc/kubernetes/pki/etcd
          type: DirectoryOrCreate
        name: etcd-certs`
    
    	etcdPodWithoutDataVolume = `apiVersion: v1
    kind: Pod
    metadata:
    spec:
      volumes:
      - hostPath:
          path: /etc/kubernetes/pki/etcd
          type: DirectoryOrCreate
        name: etcd-certs`
    
    	etcdPodInvalid = `invalid pod`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 03:55:19 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		if _, err := oldEtcdClient.WaitForClusterAvailable(retries, retryInterval); err != nil {
    			fmt.Printf("[upgrade/etcd] Failed to healthcheck previous etcd: %v\n", err)
    			// Nothing else left to try to recover etcd cluster
    			return true, errors.Wrapf(err, "fatal error rolling back local etcd cluster manifest, the backup of etcd database is stored here:(%s)", backupEtcdDir)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    }
    
    // endpointSupportsRequestWatchProgress evaluates whether RequestWatchProgress supported by current version of etcd endpoint.
    // Based on this issues:
    //   - https://github.com/etcd-io/etcd/issues/15220 - Fixed in etcd v3.4.25+ and v3.5.8+
    //   - https://github.com/etcd-io/etcd/issues/17507 - Fixed in etcd v3.4.31+ and v3.5.13+
    func endpointSupportsRequestWatchProgress(ctx context.Context, c client, endpoint string) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top