Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for etcdEndpoints (0.2 sec)

  1. internal/config/etcd/etcd.go

    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    	etcdEndpoints := strings.Split(endpoints, config.ValueSeparator)
    
    	var etcdSecure bool
    	for _, endpoint := range etcdEndpoints {
    		u, err := xnet.ParseHTTPURL(endpoint)
    		if err != nil {
    			return nil, false, err
    		}
    		if etcdSecure && u.Scheme == "http" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/etcd/etcd.go

    			var overallEtcdPodCount int
    			if etcdEndpoints, overallEtcdPodCount, lastErr = getRawEtcdEndpointsFromPodAnnotationWithoutRetry(client); lastErr != nil {
    				return false, nil
    			}
    			if len(etcdEndpoints) == 0 || overallEtcdPodCount != len(etcdEndpoints) {
    				klog.V(4).Infof("found a total of %d etcd pods and the following endpoints: %v; retrying",
    					overallEtcdPodCount, etcdEndpoints)
    				return false, nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. cmd/etcd.go

    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    		return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints)
    	default:
    		return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. cni/test/testdata/pre/noname_calico.conflist

    {
      "cniVersion": "0.3.1",
      "plugins": [
        {
          "type": "calico",
          "etcd_endpoints": "http://10.110.0.136:6666",
          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 499 bytes
    - Viewed (0)
  5. cni/test/testdata/expected/10-calico.conflist-istioconfig

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "etcd_endpoints": "http://10.110.0.136:6666",
          "ipam": {
            "type": "calico-ipam"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          },
          "mtu": 1500,
          "plugin_log_level": "info",
          "policy": {
            "type": "k8s"
          },
          "type": "calico"
        },
        {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 935 bytes
    - Viewed (0)
  6. cni/test/testdata/pre/nover_calico.conflist

    {
      "name": "k8s-pod-network",
      "plugins": [
        {
          "type": "calico",
          "etcd_endpoints": "http://10.110.0.136:6666",
          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
          "type": "portmap",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 503 bytes
    - Viewed (0)
  7. cni/test/testdata/pre/noplugins_calico.conflist

    {
      "name": "k8s-pod-network",
      "cniVersion": "0.3.1",
      "pugins": [
        {
          "type": "calico",
          "etcd_endpoints": "http://10.110.0.136:6666",
          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 527 bytes
    - Viewed (0)
  8. cni/test/testdata/pre/calico.conflist

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "etcd_endpoints": "http://10.110.0.136:6666",
          "ipam": {
            "type": "calico-ipam"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          },
          "mtu": 1500,
          "plugin_log_level": "info",
          "policy": {
            "type": "k8s"
          },
          "type": "calico"
        },
        {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 528 bytes
    - Viewed (0)
Back to top