Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 471 for etcd (0.02 sec)

  1. internal/config/etcd/etcd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package etcd
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"go.etcd.io/etcd/client/v3/namespace"
    	"go.uber.org/zap"
    )
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 23:17:22 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/etcd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    	"github.com/puzpuzpuz/xsync/v3"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var defaultContextTimeout = 30 * time.Second
    
    func etcdKvsToSet(prefix string, kvs []*mvccpb.KeyValue) set.StringSet {
    	users := set.NewStringSet()
    	for _, kv := range kvs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. .github/workflows/iam-integrations.yaml

        runs-on: ubuntu-latest
    
        services:
          openldap:
            image: quay.io/minio/openldap
            ports:
              - "389:389"
              - "636:636"
            env:
              LDAP_ORGANIZATION: "MinIO Inc"
              LDAP_DOMAIN: "min.io"
              LDAP_ADMIN_PASSWORD: "admin"
          etcd:
            image: "quay.io/coreos/etcd:v3.5.1"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/config/README.md

    ```
    ~ mc admin config set myminio/ <key>
    ```
    
    e.g: `mc admin config set myminio/ etcd` returns available `etcd` config args
    
    ```
    ~ mc admin config set play/ etcd
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    endpoints*       (csv)       comma separated list of etcd endpoints e.g. "http://localhost:2379"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/config-current.go

    		}
    	}
    
    	etcdCfg, err := etcd.LookupConfig(s[config.EtcdSubSys][config.Default], globalRootCAs)
    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Unable to initialize etcd config: %w", err))
    	}
    
    	if etcdCfg.Enabled {
    		bootstrapTraceMsg("initialize etcd store")
    		globalEtcdClient, err = etcd.New(etcdCfg)
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to initialize etcd config: %w", err))
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. internal/config/dns/etcd_dns.go

    package dns
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    	clientv3 "go.etcd.io/etcd/client/v3"
    )
    
    // ErrNoEntriesFound - Indicates no entries were found for the given key (directory)
    var ErrNoEntriesFound = errors.New("No entries found for this key")
    
    // ErrDomainMissing - Indicates domain is missing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. helm/minio/templates/deployment.yaml

                {{- end }}
                {{- if .Values.etcd.endpoints }}
                - name: MINIO_ETCD_ENDPOINTS
                  value: {{ join "," .Values.etcd.endpoints | quote }}
                {{- if .Values.etcd.clientCert }}
                - name: MINIO_ETCD_CLIENT_CERT
                  value: "/tmp/credentials/etcd_client_cert.pem"
                {{- end }}
                {{- if .Values.etcd.clientCertKey }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/globals.go

    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	xhttp "github.com/minio/minio/internal/http"
    	etcd "go.etcd.io/etcd/client/v3"
    
    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v3/certs"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top