fix unit tests
parent
577dfa3393
commit
c1c2653879
|
@ -56,7 +56,7 @@ kind: ClusterConfiguration
|
|||
{{range $i, $val := .FeatureArgs}}{{$i}}: {{$val}}
|
||||
{{end -}}{{end -}}
|
||||
certificatesDir: {{.CertDir}}
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: {{.ControlPlaneAddress}}:{{.APIServerPort}}
|
||||
controllerManager: {}
|
||||
dns:
|
||||
|
|
|
@ -129,7 +129,6 @@ func GenerateKubeadmYAML(cc config.ClusterConfig, n config.Node, r cruntime.Mana
|
|||
if err := configTmpl.Execute(&b, opts); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fmt.Printf("%s OPTS=%+v\n", n.Name, opts)
|
||||
glog.Infof("kubeadm config:\n%s\n", b.String())
|
||||
return b.Bytes(), nil
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ func TestGenerateKubeadmYAMLDNS(t *testing.T) {
|
|||
shouldErr bool
|
||||
cfg config.ClusterConfig
|
||||
}{
|
||||
{"dns", "docker", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{DNSDomain: "1.1.1.1"}}},
|
||||
{"dns", "docker", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{DNSDomain: "1.1.1.1"}}},
|
||||
}
|
||||
for _, version := range versions {
|
||||
for _, tc := range tests {
|
||||
|
@ -174,15 +174,15 @@ func TestGenerateKubeadmYAML(t *testing.T) {
|
|||
shouldErr bool
|
||||
cfg config.ClusterConfig
|
||||
}{
|
||||
{"default", "docker", false, config.ClusterConfig{}},
|
||||
{"containerd", "containerd", false, config.ClusterConfig{}},
|
||||
{"crio", "crio", false, config.ClusterConfig{}},
|
||||
{"options", "docker", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts}}},
|
||||
{"crio-options-gates", "crio", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts, FeatureGates: "a=b"}}},
|
||||
{"unknown-component", "docker", true, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: config.ExtraOptionSlice{config.ExtraOption{Component: "not-a-real-component", Key: "killswitch", Value: "true"}}}}},
|
||||
{"containerd-api-port", "containerd", false, config.ClusterConfig{Nodes: []config.Node{{Port: 12345}}}},
|
||||
{"containerd-pod-network-cidr", "containerd", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOptsPodCidr}}},
|
||||
{"image-repository", "docker", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ImageRepository: "test/repo"}}},
|
||||
{"default", "docker", false, config.ClusterConfig{Name: "mk"}},
|
||||
{"containerd", "containerd", false, config.ClusterConfig{Name: "mk"}},
|
||||
{"crio", "crio", false, config.ClusterConfig{Name: "mk"}},
|
||||
{"options", "docker", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts}}},
|
||||
{"crio-options-gates", "crio", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts, FeatureGates: "a=b"}}},
|
||||
{"unknown-component", "docker", true, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: config.ExtraOptionSlice{config.ExtraOption{Component: "not-a-real-component", Key: "killswitch", Value: "true"}}}}},
|
||||
{"containerd-api-port", "containerd", false, config.ClusterConfig{Name: "mk", Nodes: []config.Node{{Port: 12345}}}},
|
||||
{"containerd-pod-network-cidr", "containerd", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOptsPodCidr}}},
|
||||
{"image-repository", "docker", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ImageRepository: "test/repo"}}},
|
||||
}
|
||||
for _, version := range versions {
|
||||
for _, tc := range tests {
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 12345
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -4,7 +4,7 @@ noTaintMaster: true
|
|||
api:
|
||||
advertiseAddress: 1.1.1.1
|
||||
bindPort: 8443
|
||||
controlPlaneEndpoint: localhost
|
||||
controlPlaneEndpoint: 1.1.1.1
|
||||
kubernetesVersion: v1.11.0
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
networking:
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -30,9 +30,9 @@ schedulerExtraArgs:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -23,9 +23,9 @@ imageRepository: test/repo
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -27,9 +27,9 @@ controllerManagerExtraArgs:
|
|||
schedulerExtraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -30,9 +30,9 @@ schedulerExtraArgs:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -22,9 +22,9 @@ kind: ClusterConfiguration
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -23,9 +23,9 @@ imageRepository: test/repo
|
|||
apiServerExtraArgs:
|
||||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -27,9 +27,9 @@ controllerManagerExtraArgs:
|
|||
schedulerExtraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
clusterName: mk
|
||||
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
etcd:
|
||||
local:
|
||||
dataDir: /var/lib/minikube/etcd
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
dns:
|
||||
type: CoreDNS
|
||||
etcd:
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:12345
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:12345
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -34,8 +34,8 @@ scheduler:
|
|||
feature-gates: "a=b"
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -24,8 +24,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -25,8 +25,8 @@ apiServer:
|
|||
extraArgs:
|
||||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -31,8 +31,8 @@ scheduler:
|
|||
extraArgs:
|
||||
scheduler-name: "mini-scheduler"
|
||||
certificatesDir: /var/lib/minikube/certs
|
||||
clusterName: kubernetes
|
||||
controlPlaneEndpoint: localhost:8443
|
||||
clusterName: mk
|
||||
controlPlaneEndpoint: 1.1.1.1:8443
|
||||
controllerManager: {}
|
||||
dns:
|
||||
type: CoreDNS
|
||||
|
|
|
@ -27,9 +27,8 @@ import (
|
|||
|
||||
// TODO: Share these between cluster and node packages
|
||||
const (
|
||||
containerRuntime = "container-runtime"
|
||||
mountString = "mount-string"
|
||||
createMount = "mount"
|
||||
mountString = "mount-string"
|
||||
createMount = "mount"
|
||||
)
|
||||
|
||||
// Add adds a new node config to an existing cluster.
|
||||
|
|
Loading…
Reference in New Issue