fix unit tests

pull/6787/head
Sharif Elgamal 2020-03-16 12:25:59 -07:00
parent 577dfa3393
commit c1c2653879
84 changed files with 165 additions and 167 deletions

View File

@ -56,7 +56,7 @@ kind: ClusterConfiguration
{{range $i, $val := .FeatureArgs}}{{$i}}: {{$val}} {{range $i, $val := .FeatureArgs}}{{$i}}: {{$val}}
{{end -}}{{end -}} {{end -}}{{end -}}
certificatesDir: {{.CertDir}} certificatesDir: {{.CertDir}}
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: {{.ControlPlaneAddress}}:{{.APIServerPort}} controlPlaneEndpoint: {{.ControlPlaneAddress}}:{{.APIServerPort}}
controllerManager: {} controllerManager: {}
dns: dns:

View File

@ -129,7 +129,6 @@ func GenerateKubeadmYAML(cc config.ClusterConfig, n config.Node, r cruntime.Mana
if err := configTmpl.Execute(&b, opts); err != nil { if err := configTmpl.Execute(&b, opts); err != nil {
return nil, err return nil, err
} }
fmt.Printf("%s OPTS=%+v\n", n.Name, opts)
glog.Infof("kubeadm config:\n%s\n", b.String()) glog.Infof("kubeadm config:\n%s\n", b.String())
return b.Bytes(), nil return b.Bytes(), nil
} }

View File

@ -108,7 +108,7 @@ func TestGenerateKubeadmYAMLDNS(t *testing.T) {
shouldErr bool shouldErr bool
cfg config.ClusterConfig 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 _, version := range versions {
for _, tc := range tests { for _, tc := range tests {
@ -174,15 +174,15 @@ func TestGenerateKubeadmYAML(t *testing.T) {
shouldErr bool shouldErr bool
cfg config.ClusterConfig cfg config.ClusterConfig
}{ }{
{"default", "docker", false, config.ClusterConfig{}}, {"default", "docker", false, config.ClusterConfig{Name: "mk"}},
{"containerd", "containerd", false, config.ClusterConfig{}}, {"containerd", "containerd", false, config.ClusterConfig{Name: "mk"}},
{"crio", "crio", false, config.ClusterConfig{}}, {"crio", "crio", false, config.ClusterConfig{Name: "mk"}},
{"options", "docker", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts}}}, {"options", "docker", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts}}},
{"crio-options-gates", "crio", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOpts, FeatureGates: "a=b"}}}, {"crio-options-gates", "crio", false, config.ClusterConfig{Name: "mk", 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"}}}}}, {"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{Nodes: []config.Node{{Port: 12345}}}}, {"containerd-api-port", "containerd", false, config.ClusterConfig{Name: "mk", Nodes: []config.Node{{Port: 12345}}}},
{"containerd-pod-network-cidr", "containerd", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOptsPodCidr}}}, {"containerd-pod-network-cidr", "containerd", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ExtraOptions: extraOptsPodCidr}}},
{"image-repository", "docker", false, config.ClusterConfig{KubernetesConfig: config.KubernetesConfig{ImageRepository: "test/repo"}}}, {"image-repository", "docker", false, config.ClusterConfig{Name: "mk", KubernetesConfig: config.KubernetesConfig{ImageRepository: "test/repo"}}},
} }
for _, version := range versions { for _, version := range versions {
for _, tc := range tests { for _, tc := range tests {

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 12345 bindPort: 12345
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -4,7 +4,7 @@ noTaintMaster: true
api: api:
advertiseAddress: 1.1.1.1 advertiseAddress: 1.1.1.1
bindPort: 8443 bindPort: 8443
controlPlaneEndpoint: localhost controlPlaneEndpoint: 1.1.1.1
kubernetesVersion: v1.11.0 kubernetesVersion: v1.11.0
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
networking: networking:

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -30,9 +30,9 @@ schedulerExtraArgs:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -23,9 +23,9 @@ imageRepository: test/repo
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -27,9 +27,9 @@ controllerManagerExtraArgs:
schedulerExtraArgs: schedulerExtraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -30,9 +30,9 @@ schedulerExtraArgs:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -22,9 +22,9 @@ kind: ClusterConfiguration
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -23,9 +23,9 @@ imageRepository: test/repo
apiServerExtraArgs: apiServerExtraArgs:
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -27,9 +27,9 @@ controllerManagerExtraArgs:
schedulerExtraArgs: schedulerExtraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"] apiServerCertSANs: ["127.0.0.1", "localhost", "1.1.1.1"]
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
etcd: etcd:
local: local:
dataDir: /var/lib/minikube/etcd dataDir: /var/lib/minikube/etcd

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
dns: dns:
type: CoreDNS type: CoreDNS
etcd: etcd:

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:12345 controlPlaneEndpoint: 1.1.1.1:12345
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -34,8 +34,8 @@ scheduler:
feature-gates: "a=b" feature-gates: "a=b"
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -24,8 +24,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -25,8 +25,8 @@ apiServer:
extraArgs: extraArgs:
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -31,8 +31,8 @@ scheduler:
extraArgs: extraArgs:
scheduler-name: "mini-scheduler" scheduler-name: "mini-scheduler"
certificatesDir: /var/lib/minikube/certs certificatesDir: /var/lib/minikube/certs
clusterName: kubernetes clusterName: mk
controlPlaneEndpoint: localhost:8443 controlPlaneEndpoint: 1.1.1.1:8443
controllerManager: {} controllerManager: {}
dns: dns:
type: CoreDNS type: CoreDNS

View File

@ -27,9 +27,8 @@ import (
// TODO: Share these between cluster and node packages // TODO: Share these between cluster and node packages
const ( const (
containerRuntime = "container-runtime" mountString = "mount-string"
mountString = "mount-string" createMount = "mount"
createMount = "mount"
) )
// Add adds a new node config to an existing cluster. // Add adds a new node config to an existing cluster.