Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 138 for ClusterConfiguration (0.36 sec)

  1. cmd/kubeadm/app/util/marshal.go

    	for _, gvk := range gvks {
    		if gvk.Kind == kind {
    			return true
    		}
    	}
    	return false
    }
    
    // GroupVersionKindsHasClusterConfiguration returns whether the following gvk slice contains a ClusterConfiguration object
    func GroupVersionKindsHasClusterConfiguration(gvks ...schema.GroupVersionKind) bool {
    	return GroupVersionKindsHasKind(gvks, constants.ClusterConfigurationKind)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils.go

    func GetControllerManagerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string {
    	if addr, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, kubeControllerManagerBindAddressArg, -1); idx > -1 {
    		return getProbeAddress(addr)
    	}
    	return "127.0.0.1"
    }
    
    // GetSchedulerProbeAddress returns the kubernetes scheduler probe address
    func GetSchedulerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/dns/dns.go

    	default:
    		return &replicas, errors.Errorf("multiple DNS addon deployments found: %v", deployments.Items)
    	}
    }
    
    // EnsureDNSAddon creates the CoreDNS addon
    func EnsureDNSAddon(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface, patchesDir string, out io.Writer, printManifest bool) error {
    	var replicas *int32
    	var err error
    	if !printManifest {
    		replicas, err = deployedDNSReplicas(client, coreDNSReplicas)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/token.go

    	// ClusterConfiguration is needed just for the call to LoadOrDefaultInitConfiguration
    	clusterCfg := &kubeadmapiv1.ClusterConfiguration{
    		// KubernetesVersion is not used, but we set this explicitly to avoid
    		// the lookup of the version from the internet when executing LoadOrDefaultInitConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/dryrun/dryrun.go

    	return &Waiter{}
    }
    
    // WaitForControlPlaneComponents just returns a dummy nil, to indicate that the program should just proceed
    func (w *Waiter) WaitForControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) error {
    	return nil
    }
    
    // WaitForAPI just returns a dummy nil, to indicate that the program should just proceed
    func (w *Waiter) WaitForAPI() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	Timeouts *Timeouts `json:"timeouts,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterConfiguration contains cluster-wide configuration for a kubeadm cluster
    type ClusterConfiguration struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// Etcd holds configuration for etcd.
    	// +optional
    	Etcd Etcd `json:"etcd,omitempty"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. samples/kind-lb/setupkind.sh

    # which normally will be called kind
    FEATURES=$(cat << EOF
    featureGates:
      MixedProtocolLBService: true
      GRPCContainerProbe: true
    kubeadmConfigPatches:
      - |
        apiVersion: kubeadm.k8s.io/v1beta2
        kind: ClusterConfiguration
        metadata:
          name: config
        etcd:
          local:
            # Run etcd in a tmpfs (in RAM) for performance improvements
            dataDir: /tmp/kind-cluster-etcd
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/constants/constants.go

    	// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
    	CoreDNSVersion = "v1.11.1"
    
    	// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
    	ClusterConfigurationKind = "ClusterConfiguration"
    
    	// InitConfigurationKind is the string kind value for the InitConfiguration struct
    	InitConfigurationKind = "InitConfiguration"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    		fmt.Printf("[control-plane] Creating static Pod manifest for %q\n", component)
    		err := controlplane.CreateStaticPodFiles(
    			data.ManifestDir(),
    			data.PatchesDir(),
    			&cfg.ClusterConfiguration,
    			&cfg.LocalAPIEndpoint,
    			data.DryRun(),
    			component,
    		)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/controlplane/volumes.go

    // getHostPathVolumesForTheControlPlane gets the required hostPath volumes and mounts for the control plane
    func getHostPathVolumesForTheControlPlane(cfg *kubeadmapi.ClusterConfiguration) controlPlaneHostPathMounts {
    	hostPathDirectoryOrCreate := v1.HostPathDirectoryOrCreate
    	hostPathFileOrCreate := v1.HostPathFileOrCreate
    	mounts := newControlPlaneHostPathMounts()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top