Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for podCIDR (0.12 sec)

  1. pkg/kubelet/apis/config/helpers_test.go

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/kubelet/container/runtime.go

    	// ImageService provides methods to image-related methods.
    	ImageService
    	// UpdatePodCIDR sends a new podCIDR to the runtime.
    	// This method just proxies a new runtimeConfig with the updated
    	// CIDR value down to the runtime shim.
    	UpdatePodCIDR(ctx context.Context, podCIDR string) error
    	// CheckpointContainer tells the runtime to checkpoint a container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. cluster/gce/windows/k8s-node-setup.psm1

      $client = New-Object Net.WebClient
      $client.Headers.Add('Metadata-Flavor', 'Google')
      return ($client.DownloadString($url)).Trim()
    }
    
    # Retrieves the pod CIDR and sets it in $env:POD_CIDR.
    function Set-PodCidr {
      while($true) {
        $pod_cidr = Get_IpAliasRange
        if (-not $?) {
          Log-Output ${pod_cIDR}
          Log-Output "Retrying Get_IpAliasRange..."
          Start-Sleep -sec 1
          continue
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status_test.go

    	// Report node status if it is still within the duration of nodeStatusReportFrequency.
    	clock.Step(10 * time.Second)
    	assert.Equal(t, "", kubelet.runtimeState.podCIDR(), "Pod CIDR should be empty")
    	podCIDRs := []string{"10.0.0.0/24", "2000::/10"}
    	updatedNode.Spec.PodCIDR = podCIDRs[0]
    	updatedNode.Spec.PodCIDRs = podCIDRs
    	kubeClient.ReactionChain = fake.NewSimpleClientset(&v1.NodeList{Items: []v1.Node{*updatedNode}}).ReactionChain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  5. cmd/kubelet/app/options/options.go

    	fs.Int32Var(&c.MaxPods, "max-pods", c.MaxPods, "Number of Pods that can run on this Kubelet.")
    
    	fs.StringVar(&c.PodCIDR, "pod-cidr", c.PodCIDR, "The CIDR to use for pod IP addresses, only used in standalone mode.  In cluster mode, this is obtained from the master. For IPv6, the maximum number of IP's allocated is 65536")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. cluster/gce/config-default.sh

      export AUTOSCALER_EXPANDER_CONFIG="${KUBE_AUTOSCALER_EXPANDER_CONFIG:---expander=price}"
    fi
    
    # Optional: Enable allocation of pod IPs using IP aliases.
    #
    # BETA FEATURE.
    #
    # IP_ALIAS_SIZE is the size of the podCIDR allocated to a node.
    # IP_ALIAS_SUBNETWORK is the subnetwork to allocate from. If empty, a
    #   new subnetwork will be created for the cluster.
    ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-true}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. cluster/gce/config-test.sh

      export AUTOSCALER_EXPANDER_CONFIG=${KUBE_AUTOSCALER_EXPANDER_CONFIG:---expander=price}
    fi
    
    # Optional: Enable allocation of pod IPs using IP aliases.
    #
    # BETA FEATURE.
    #
    # IP_ALIAS_SIZE is the size of the podCIDR allocated to a node.
    # IP_ALIAS_SUBNETWORK is the subnetwork to allocate from. If empty, a
    #   new subnetwork will be created for the cluster.
    ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-true}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status.go

    	node := originalNode.DeepCopy()
    
    	podCIDRChanged := false
    	if len(node.Spec.PodCIDRs) != 0 {
    		// Pod CIDR could have been updated before, so we cannot rely on
    		// node.Spec.PodCIDR being non-empty. We also need to know if pod CIDR is
    		// actually changed.
    		var err error
    		podCIDRs := strings.Join(node.Spec.PodCIDRs, ",")
    		if podCIDRChanged, err = kl.updatePodCIDR(ctx, podCIDRs); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/types.go

    	// maxPods is the number of pods that can run on this Kubelet.
    	MaxPods int32
    	// The CIDR to use for pod IP addresses, only used in standalone mode.
    	// In cluster mode, this is obtained from the master.
    	PodCIDR string
    	// The maximum number of processes per pod.  If -1, the kubelet defaults to the node allocatable pid capacity.
    	PodPidsLimit int64
    	// ResolverConfig is the resolver configuration file used as the basis
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    	// invocation into a Run() method.
    	nftablesFamily := knftables.IPv4Family
    	podCIDR := "10.0.0.0/8"
    	serviceCIDRs := "172.30.0.0/16"
    	if ipFamily == v1.IPv6Protocol {
    		nftablesFamily = knftables.IPv6Family
    		podCIDR = "fd00:10::/64"
    		serviceCIDRs = "fd00:10:96::/112"
    	}
    	detectLocal := proxyutil.NewDetectLocalByCIDR(podCIDR)
    	nodePortAddresses := []string{fmt.Sprintf("%s/32", testNodeIP), fmt.Sprintf("%s/128", testNodeIPv6)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top