Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 557 for etcd2 (0.09 sec)

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

    		if !ok {
    			return errors.New("etcd phase invoked with an invalid data struct")
    		}
    		cfg := data.Cfg()
    
    		// Add etcd static pod spec only if external etcd is not configured
    		if cfg.Etcd.External == nil {
    			// creates target folder if doesn't exist already
    			if !data.DryRun() {
    				// Create the etcd data directory
    				if err := etcdutil.CreateDataDirectory(cfg.Etcd.Local.DataDir); err != nil {
    					return err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/etcd/etcd.go

    limitations under the License.
    */
    
    package etcd
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"net"
    	"net/url"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    	"go.etcd.io/etcd/api/v3/etcdserverpb"
    	"go.etcd.io/etcd/api/v3/v3rpc/rpctypes"
    	"go.etcd.io/etcd/client/pkg/v3/transport"
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"google.golang.org/grpc"
    
    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. docs/sts/etcd.md

    ```
    rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
      podman rmi gcr.io/etcd-development/etcd:v3.3.9 || true && \
      podman run \
      -p 2379:2379 \
      -p 2380:2380 \
      --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
      --name etcd-gcr-v3.3.9 \
      gcr.io/etcd-development/etcd:v3.3.9 \
      /usr/local/bin/etcd \
      --name s1 \
      --data-dir /etcd-data \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. 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/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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/etcd.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package fixtures
    
    import (
    	"context"
    	"encoding/json"
    	"path"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    	apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    	apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	fs.StringVar(&etcdVersionScrapeURI, "etcd-version-scrape-uri", "http://localhost:2379/version", "URI to scrape etcd version info")
    	fs.StringVar(&etcdMetricsScrapeURI, "etcd-metrics-scrape-uri", "http://localhost:2379/metrics", "URI to scrape etcd metrics")
    	fs.DurationVar(&scrapeTimeout, "scrape-timeout", 15*time.Second, "Timeout for trying to get stats from etcd")
    }
    
    const (
    	namespace = "etcd" // For prefixing prometheus metrics
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. hack/install-etcd.sh

    # limitations under the License.
    
    # This script is convenience to download and install etcd in third_party.
    # Mostly just used by CI.
    # Usage: `hack/install-etcd.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 00:27:40 UTC 2020
    - 894 bytes
    - Viewed (0)
  9. 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)
  10. cluster/images/etcd-version-monitor/etcd-version-monitor.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: etcd-version-monitor
      namespace: kube-system
    spec:
      hostNetwork: true
      containers:
      - name: etcd-version-monitor
        image: registry.k8s.io/etcd-version-monitor:0.1.3
        command:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 255 bytes
    - Viewed (0)
Back to top