Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for etcd3 (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go

    limitations under the License.
    */
    
    package feature
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"k8s.io/apiserver/pkg/storage"
    )
    
    type mockEndpointVersion struct {
    	Endpoint string
    	Version  string
    	Error    error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/apiextensions.go

    	genericConfig.RESTOptionsGetter = nil
    
    	// copy the etcd options so we don't mutate originals.
    	// we assume that the etcd options have been completed already.  avoid messing with anything outside
    	// of changes to StorageConfig as that may lead to unexpected behavior when the options are applied.
    	etcdOptions := *commandOptions.Etcd
    	// this is where the true decodable levels come from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 18:08:20 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/cmd/options/generic.go

    	const usage = `Path to a directory that contains files named ` +
    		`"target[suffix][+patchtype].extension". For example, ` +
    		`"kube-apiserver0+merge.yaml" or just "etcd.json". ` +
    		`"target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd", "kubeletconfiguration", "corednsdeployment". ` +
    		`"patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats ` +
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/validation_test.go

    		expectErrors bool
    	}{
    		{
    			name:         "validate master count equal 0",
    			expectErrors: true,
    			options: &Options{
    				GenericServerRunOptions: &genericoptions.ServerRunOptions{},
    				Etcd:                    &genericoptions.EtcdOptions{},
    				SecureServing:           &genericoptions.SecureServingOptionsWithLoopback{},
    				Audit:                   &genericoptions.AuditOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go

    	// Watch cache doesn't support continuations, so serve them from etcd.
    	hasContinuation := len(opts.Continue) > 0
    	// Serve paginated requests about revision "0" from watch cache to avoid overwhelming etcd.
    	hasLimit := opts.Limit > 0 && resourceVersion != "0"
    	// Watch cache only supports ResourceVersionMatchNotOlderThan (default).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/logging.go

    	logger.Event(ctx, "decom", msg, args...)
    }
    
    func etcdLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "etcd", err, errKind...)
    }
    
    func etcdLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "etcd", err, id, errKind...)
    }
    
    func subnetLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "subnet", err, errKind...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go

    		cfg := data.InitCfg()
    		client := data.Client()
    		dryRun := data.DryRun()
    		etcdUpgrade := data.EtcdUpgrade()
    		renewCerts := data.RenewCerts()
    		patchesDir := data.PatchesDir()
    
    		// Upgrade the control plane and etcd if installed on this node
    		fmt.Printf("[upgrade] Upgrading your Static Pod-hosted control plane instance to version %q...\n", cfg.KubernetesVersion)
    		if dryRun {
    			return upgrade.DryRunStaticPodUpgrade(patchesDir, cfg)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top