- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for ClusterConfiguration (0.36 sec)
-
cmd/kubeadm/app/phases/certs/certs_test.go
dir := testutil.SetupTempDir(t) defer os.RemoveAll(dir) cfg := &kubeadmapi.InitConfiguration{ LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ Networking: kubeadmapi.Networking{ServiceSubnet: "10.96.0.0/12", DNSDomain: "cluster.local"}, CertificatesDir: dir, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local.go
return command } func prepareAndWriteEtcdStaticPod(manifestDir string, patchesDir string, cfg *kubeadmapi.ClusterConfiguration, endpoint *kubeadmapi.APIEndpoint, nodeName string, initialCluster []etcdutil.Member, isDryRun bool) error { // gets etcd StaticPodSpec, actualized for the current ClusterConfiguration and the new list of etcd members spec := GetEtcdPodSpec(cfg, endpoint, nodeName, initialCluster)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 13.8K bytes - Viewed (1) -
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
}{ { desc: "empty name", name: "", cfg: &kubeadmapi.InitConfiguration{ LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4"}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ ControlPlaneEndpoint: "api.k8s.io:6443", Networking: kubeadmapi.Networking{ServiceSubnet: "10.96.0.0/12", DNSDomain: "cluster.local"}, APIServer: kubeadmapi.APIServer{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
if err != nil { return nil, err } startTime := kubeadmutil.StartTimeUTC() notAfter := startTime.Add(kubeadmconstants.CertificateValidityPeriod) if cfg.ClusterConfiguration.CertificateValidityPeriod != nil { notAfter = startTime.Add(cfg.ClusterConfiguration.CertificateValidityPeriod.Duration) } return map[string]*kubeConfigSpec{ kubeadmconstants.AdminKubeConfigFileName: { APIServer: controlPlaneEndpoint,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/config.go
return cmd } // newCmdConfigImagesPull returns the `kubeadm config images pull` command func newCmdConfigImagesPull() *cobra.Command { externalClusterCfg := &kubeadmapiv1old.ClusterConfiguration{} kubeadmscheme.Scheme.Default(externalClusterCfg) externalInitCfg := &kubeadmapiv1old.InitConfiguration{} kubeadmscheme.Scheme.Default(externalInitCfg) var cfgPath, featureGatesString string var err error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager_test.go
} func TestNewManager(t *testing.T) { tests := []struct { name string cfg *kubeadmapi.ClusterConfiguration expectedCertificates int }{ { name: "cluster with local etcd", cfg: &kubeadmapi.ClusterConfiguration{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/types.go
// information. The cluster-wide config is stored in ClusterConfiguration. The InitConfiguration // object IS NOT uploaded to the kubeadm-config ConfigMap in the cluster, only the // ClusterConfiguration is. type InitConfiguration struct { metav1.TypeMeta // ClusterConfiguration holds the cluster-wide information, and embeds that struct (which can be (un)marshalled separately as well)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:12:52 UTC 2024 - 32.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
}{ { name: "invalid - No kubeadm-config ConfigMap", expectedError: true, }, { name: "invalid - No ClusterConfiguration in kubeadm-config ConfigMap", configMaps: []testresources.FakeConfigMap{ { Name: kubeadmconstants.KubeadmConfigConfigMap, // ClusterConfiguration from kubeadm-config. Data: map[string]string{}, }, }, expectedError: true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster.go
} // gets ClusterConfiguration from kubeadm-config clusterConfigurationData, ok := configMap.Data[constants.ClusterConfigurationConfigMapKey] if !ok { return nil, errors.Errorf("unexpected error when reading kubeadm-config ConfigMap: %s key value pair missing", constants.ClusterConfigurationConfigMapKey) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 11K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
SkipCRIDetect bool } // MarshalKubeadmConfigObject marshals an Object registered in the kubeadm scheme. If the object is a InitConfiguration or ClusterConfiguration, some extra logic is run func MarshalKubeadmConfigObject(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) { switch internalcfg := obj.(type) { case *kubeadmapi.InitConfiguration:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0)