Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 202 for externalapi (0.92 sec)

  1. pkg/api/service/util.go

    func ExternallyAccessible(service *api.Service) bool {
    	return service.Spec.Type == api.ServiceTypeLoadBalancer ||
    		service.Spec.Type == api.ServiceTypeNodePort ||
    		(service.Spec.Type == api.ServiceTypeClusterIP && len(service.Spec.ExternalIPs) > 0)
    }
    
    // RequestsOnlyLocalTraffic checks if service requests OnlyLocal traffic.
    func RequestsOnlyLocalTraffic(service *api.Service) bool {
    	if service.Spec.Type != api.ServiceTypeLoadBalancer &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 30 15:56:47 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // containerGC is the manager of garbage collection.
    type containerGC struct {
    	client           internalapi.RuntimeService
    	manager          *kubeGenericRuntimeManager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. prow/config/metrics/metrics.yaml

          labels:
            k8s-app: metrics-server
        spec:
          containers:
          - args:
            - --cert-dir=/tmp
            - --secure-port=10250
            - --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
            - --kubelet-use-node-status-port
            - --metric-resolution=15s
            - --kubelet-insecure-tls
            image: registry.k8s.io/metrics-server/metrics-server:v0.7.1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 20:51:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/kubemark/app/hollow_node.go

    limitations under the License.
    */
    
    package app
    
    import (
    	"context"
    	goflag "flag"
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	"go.opentelemetry.io/otel/trace/noop"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/evented.go

    limitations under the License.
    */
    
    package pleg
    
    import (
    	"fmt"
    	"sync"
    	"time"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/wait"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	"k8s.io/utils/clock"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. pkg/kubelet/logs/container_log_manager.go

    	"strings"
    	"sync"
    
    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/wait"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/utils/clock"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. cluster/addons/calico-policy-controller/bgpconfigurations-crd.yaml

                    type: array
                  serviceExternalIPs:
                    description: ServiceExternalIPs are the CIDR blocks for Kubernetes
                      Service External IPs. Kubernetes Service ExternalIPs will only be
                      advertised if they are within one of these blocks.
                    items:
                      description: ServiceExternalIPBlock represents a single allowed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    					svc.Status.LoadBalancer.Ingress = []v1.LoadBalancerIngress{{
    						IP: ingressIP,
    					}}
    				}
    				if svcInfo.svcType == v1.ServiceTypeClusterIP {
    					svc.Spec.ExternalIPs = externalIP
    				}
    			}),
    		)
    
    		populateEndpointSlices(fp,
    			makeTestEndpointSlice("ns1", "p80", 1, func(eps *discovery.EndpointSlice) {
    				eps.Endpoints = []discovery.Endpoint{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier.go

    				"-d", svcInfo.ClusterIP().String(),
    				"--dport", strconv.Itoa(svcInfo.Port()),
    				"-j", internalTrafficFilterTarget,
    			)
    		}
    
    		// Capture externalIPs.
    		for _, externalIP := range svcInfo.ExternalIPs() {
    			if hasEndpoints {
    				// Send traffic bound for external IPs to the "external
    				// destinations" chain.
    				natRules.Write(
    					"-A", string(kubeServicesChain),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider.go

    	resourceAnalyzer stats.ResourceAnalyzer
    	// runtimeService is used to get the status and stats of the pods and its
    	// managed containers.
    	runtimeService internalapi.RuntimeService
    	// imageService is used to get the stats of the image filesystem.
    	imageService internalapi.ImageManagerService
    	// hostStatsProvider is used to get the status of the host filesystem consumed by pods.
    	hostStatsProvider HostStatsProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top