-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose ‘—pod-network-cidr’ argument in minikube
- Loading branch information
Showing
11 changed files
with
223 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
pkg/minikube/bootstrapper/kubeadm/testdata/containerd-pod-network-cidr__default.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: kubeadm.k8s.io/v1beta1 | ||
kind: InitConfiguration | ||
localAPIEndpoint: | ||
advertiseAddress: 1.1.1.1 | ||
bindPort: 8443 | ||
bootstrapTokens: | ||
- groups: | ||
- system:bootstrappers:kubeadm:default-node-token | ||
ttl: 24h0m0s | ||
usages: | ||
- signing | ||
- authentication | ||
nodeRegistration: | ||
criSocket: /run/containerd/containerd.sock | ||
name: mk | ||
taints: [] | ||
--- | ||
apiVersion: kubeadm.k8s.io/v1beta1 | ||
kind: ClusterConfiguration | ||
apiServer: | ||
extraArgs: | ||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" | ||
certificatesDir: /var/lib/minikube/certs/ | ||
clusterName: kubernetes | ||
controlPlaneEndpoint: localhost:8443 | ||
dns: | ||
type: CoreDNS | ||
etcd: | ||
local: | ||
dataDir: /data/minikube | ||
kubernetesVersion: v1.14.0 | ||
networking: | ||
dnsDomain: cluster.local | ||
podSubnet: "" | ||
serviceSubnet: 10.96.0.0/12 | ||
--- | ||
apiVersion: kubelet.config.k8s.io/v1beta1 | ||
kind: KubeletConfiguration | ||
imageGCHighThresholdPercent: 100 | ||
evictionHard: | ||
nodefs.available: "0%" | ||
nodefs.inodesFree: "0%" | ||
imagefs.available: "0%" |
43 changes: 43 additions & 0 deletions
43
pkg/minikube/bootstrapper/kubeadm/testdata/containerd-pod-network-cidr__new.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: kubeadm.k8s.io/v1beta1 | ||
kind: InitConfiguration | ||
localAPIEndpoint: | ||
advertiseAddress: 1.1.1.1 | ||
bindPort: 8443 | ||
bootstrapTokens: | ||
- groups: | ||
- system:bootstrappers:kubeadm:default-node-token | ||
ttl: 24h0m0s | ||
usages: | ||
- signing | ||
- authentication | ||
nodeRegistration: | ||
criSocket: /run/containerd/containerd.sock | ||
name: mk | ||
taints: [] | ||
--- | ||
apiVersion: kubeadm.k8s.io/v1beta1 | ||
kind: ClusterConfiguration | ||
apiServer: | ||
extraArgs: | ||
enable-admission-plugins: "NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" | ||
certificatesDir: /var/lib/minikube/certs/ | ||
clusterName: kubernetes | ||
controlPlaneEndpoint: localhost:8443 | ||
dns: | ||
type: CoreDNS | ||
etcd: | ||
local: | ||
dataDir: /data/minikube | ||
kubernetesVersion: v1.14.0 | ||
networking: | ||
dnsDomain: cluster.local | ||
podSubnet: "" | ||
serviceSubnet: 10.96.0.0/12 | ||
--- | ||
apiVersion: kubelet.config.k8s.io/v1beta1 | ||
kind: KubeletConfiguration | ||
imageGCHighThresholdPercent: 100 | ||
evictionHard: | ||
nodefs.available: "0%" | ||
nodefs.inodesFree: "0%" | ||
imagefs.available: "0%" |
17 changes: 17 additions & 0 deletions
17
pkg/minikube/bootstrapper/kubeadm/testdata/containerd-pod-network-cidr__obsolete.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: kubeadm.k8s.io/v1alpha1 | ||
kind: MasterConfiguration | ||
noTaintMaster: true | ||
api: | ||
advertiseAddress: 1.1.1.1 | ||
bindPort: 8443 | ||
controlPlaneEndpoint: localhost | ||
kubernetesVersion: v1.10.0 | ||
certificatesDir: /var/lib/minikube/certs/ | ||
networking: | ||
serviceSubnet: 10.96.0.0/12 | ||
etcd: | ||
dataDir: /data/minikube | ||
nodeName: mk | ||
criSocket: /run/containerd/containerd.sock | ||
apiServerExtraArgs: | ||
admission-control: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" |
39 changes: 39 additions & 0 deletions
39
pkg/minikube/bootstrapper/kubeadm/testdata/containerd-pod-network-cidr__old.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: kubeadm.k8s.io/v1alpha3 | ||
kind: InitConfiguration | ||
apiEndpoint: | ||
advertiseAddress: 1.1.1.1 | ||
bindPort: 8443 | ||
bootstrapTokens: | ||
- groups: | ||
- system:bootstrappers:kubeadm:default-node-token | ||
ttl: 24h0m0s | ||
usages: | ||
- signing | ||
- authentication | ||
nodeRegistration: | ||
criSocket: /run/containerd/containerd.sock | ||
name: mk | ||
taints: [] | ||
--- | ||
apiVersion: kubeadm.k8s.io/v1alpha3 | ||
kind: ClusterConfiguration | ||
apiServerExtraArgs: | ||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" | ||
certificatesDir: /var/lib/minikube/certs/ | ||
clusterName: kubernetes | ||
controlPlaneEndpoint: localhost:8443 | ||
etcd: | ||
local: | ||
dataDir: /data/minikube | ||
kubernetesVersion: v1.12.0 | ||
networking: | ||
dnsDomain: cluster.local | ||
podSubnet: 192.168.32.0/20 | ||
serviceSubnet: 10.96.0.0/12 | ||
--- | ||
apiVersion: kubelet.config.k8s.io/v1beta1 | ||
kind: KubeletConfiguration | ||
evictionHard: | ||
nodefs.available: "0%" | ||
nodefs.inodesFree: "0%" | ||
imagefs.available: "0%" |
39 changes: 39 additions & 0 deletions
39
pkg/minikube/bootstrapper/kubeadm/testdata/containerd-pod-network-cidr__recent.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apiVersion: kubeadm.k8s.io/v1alpha3 | ||
kind: InitConfiguration | ||
apiEndpoint: | ||
advertiseAddress: 1.1.1.1 | ||
bindPort: 8443 | ||
bootstrapTokens: | ||
- groups: | ||
- system:bootstrappers:kubeadm:default-node-token | ||
ttl: 24h0m0s | ||
usages: | ||
- signing | ||
- authentication | ||
nodeRegistration: | ||
criSocket: /run/containerd/containerd.sock | ||
name: mk | ||
taints: [] | ||
--- | ||
apiVersion: kubeadm.k8s.io/v1alpha3 | ||
kind: ClusterConfiguration | ||
apiServerExtraArgs: | ||
enable-admission-plugins: "Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" | ||
certificatesDir: /var/lib/minikube/certs/ | ||
clusterName: kubernetes | ||
controlPlaneEndpoint: localhost:8443 | ||
etcd: | ||
local: | ||
dataDir: /data/minikube | ||
kubernetesVersion: v1.13.0 | ||
networking: | ||
dnsDomain: cluster.local | ||
podSubnet: 192.168.32.0/20 | ||
serviceSubnet: 10.96.0.0/12 | ||
--- | ||
apiVersion: kubelet.config.k8s.io/v1beta1 | ||
kind: KubeletConfiguration | ||
evictionHard: | ||
nodefs.available: "0%" | ||
nodefs.inodesFree: "0%" | ||
imagefs.available: "0%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters