Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 557 for etcd2 (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/event.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"fmt"
    	"go.etcd.io/etcd/api/v3/mvccpb"
    	clientv3 "go.etcd.io/etcd/client/v3"
    )
    
    type event struct {
    	key              string
    	value            []byte
    	prevValue        []byte
    	rev              int64
    	isDeleted        bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. hack/run-prometheus-on-etcd-scrapes.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # Unpacks a tarfile of etcd scrapes and runs a simple web server exposing it
    # and a Prometheus server scraping that simple web server.
    # The simple web server listens on port 9091.
    # The Prometheus server is run in a container and looks for the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 08 20:28:05 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"context"
    	"time"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    	endpointsrequest "k8s.io/apiserver/pkg/endpoints/request"
    )
    
    // NewETCDLatencyTracker returns an implementation of
    // clientv3.KV that times the calls from the specified
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"context"
    	"strconv"
    	"sync"
    	"time"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"k8s.io/klog/v2"
    )
    
    const (
    	compactRevKey = "compact_rev_key"
    )
    
    var (
    	endpointsMapMu sync.Mutex
    	endpointsMap   map[string]struct{}
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 17 02:54:36 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apiserver/pkg/storage"
    
    	etcdrpc "go.etcd.io/etcd/api/v3/v3rpc/rpctypes"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    )
    
    func interpretWatchError(err error) error {
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:59:41 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sync"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	clientv3 "go.etcd.io/etcd/client/v3"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. pkg/registry/core/service/allocator/storage/storage_test.go

    	mem := allocator.NewAllocationMap(100, "rangeSpecValue")
    	etcd, err := NewEtcd(mem, "/ranges/serviceips", etcdStorage.ForResource(api.Resource("serviceipallocations")))
    	if err != nil {
    		t.Fatalf("unexpected error creating etcd: %v", err)
    	}
    	return etcd, server, mem, &etcdStorage.Config
    }
    
    func validNewRangeAllocation() *api.RangeAllocation {
    	return &api.RangeAllocation{
    		Range: "rangeSpecValue",
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    	grpccodes "google.golang.org/grpc/codes"
    	grpcstatus "google.golang.org/grpc/status"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/routes/metrics.go

    	apimetrics "k8s.io/apiserver/pkg/endpoints/metrics"
    	"k8s.io/apiserver/pkg/server/mux"
    	cachermetrics "k8s.io/apiserver/pkg/storage/cacher/metrics"
    	etcd3metrics "k8s.io/apiserver/pkg/storage/etcd3/metrics"
    	flowcontrolmetrics "k8s.io/apiserver/pkg/util/flowcontrol/metrics"
    	peerproxymetrics "k8s.io/apiserver/pkg/util/peerproxy/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 02:06:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

    		&compbasemetrics.HistogramOpts{
    			Name: "etcd_request_duration_seconds",
    			Help: "Etcd request latency in seconds for each operation and object type.",
    			// Etcd request latency in seconds for each operation and object type.
    			// This metric is used for verifying etcd api call latencies SLO
    			// keep consistent with apiserver metric 'requestLatencies' in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top