Commit Graph

66 Commits (66421a6492ad1f96331981bb706a904261a14802)

Author SHA1 Message Date
Medya Gh 66421a6492 wait for ingress pod be running 2020-06-26 14:22:17 -07:00
Medya Gh 52f4e130b5 lint 2020-06-26 13:20:31 -07:00
Medya Gh 5fbf197b18 remove unrelated changes 2020-06-26 13:20:31 -07:00
Medya Gh 96781c61a2 remove unrelated changes 2020-06-26 13:20:30 -07:00
Medya Gh 058a732909 ingress addon validate deployment after enable 2020-06-26 13:20:30 -07:00
Medya Gh c47854b8fd add validate ingress 2020-06-26 13:20:30 -07:00
Medya Gh a0c33f82c1 ingress addon wait for it 2020-06-26 13:20:30 -07:00
Kenta Iso ab58dca23d replace to metrics-server in case of `minikube start --addons heapster` 2020-06-13 01:07:16 +09:00
Kenta Iso 803461ddcf if the specified addon doesn't exist, skip enabling 2020-06-13 00:46:12 +09:00
Thomas Stromberg 6969200dd7 addons: fix initial retry delay, double maximum limit 2020-05-04 12:44:30 -07:00
Medya Ghazizadeh 825ba532d1
Merge pull request #7603 from alonyb/w/add-registery-addon
Add registry addon feature for docker on mac/windows
2020-04-17 19:50:43 -07:00
Medya Ghazizadeh fe4fdeec6c
Merge pull request #7752 from medyagh/node_pressure_redo
Check node pressure & new option "node_ready" for --wait flag
2020-04-17 19:45:40 -07:00
Medya Gh 4e7429695d address review comments 2020-04-17 14:07:41 -07:00
Thomas Stromberg 3a5406f79e Unify client creation around kapi.Client 2020-04-17 09:58:14 -07:00
Alonyb bfa45ef79a delete unnecesary func 2020-04-16 19:49:26 -05:00
Medya Gh bb327e250d adjust try 2020-04-16 15:14:59 -07:00
Medya Gh 0687e2adc0 defer print addon 2020-04-16 13:39:59 -07:00
Medya Gh a023de61a7 defer printing enabling addons 2020-04-16 13:38:17 -07:00
Alonyb 62904e5dcc fix lint 2020-04-15 09:30:10 -05:00
Alonyb 338e61bd21 change output message icon 2020-04-11 13:31:51 -05:00
Alonyb 4f86c3e5c8 some adjustments 2020-04-11 00:56:34 -05:00
Alonyb 3bd143037b change output message 2020-04-10 18:49:54 -05:00
Alonyb 428d9ee911 add new addon 2020-04-10 14:45:43 -05:00
Thomas Strömberg bab824a830
Merge pull request #7559 from tstromberg/cert-err2
make CommandRunner.Copy/Remove consistent across runners
2020-04-09 17:31:37 -07:00
Thomas Stromberg bf784d8bf3 Refactor CommandRunner.Copy functions for consistency 2020-04-09 13:24:14 -07:00
Thomas Stromberg 1e8801ceb8 Make addons.Start thread-safe 2020-04-08 21:23:35 -07:00
Thomas Stromberg 93e6eee2e3 Pass correct variable in 2020-04-08 15:20:30 -07:00
Thomas Stromberg 22882089af Address code review comments 2020-04-08 15:17:14 -07:00
Thomas Stromberg 5ce7b4b147 Parallelize post-cluster steps 2020-04-08 12:29:23 -07:00
Medya Gh 3f16f27540 less tab 2020-04-02 17:20:25 -07:00
Medya Gh 9fd6496743 improve messge 2020-04-02 17:19:45 -07:00
Medya Gh 77d2b50087 break down the lines 2020-04-02 17:16:00 -07:00
Medya Gh db00506d67 dont allow enabling ingress addon for docker on mac and windows 2020-04-02 17:00:06 -07:00
Thomas Stromberg ea9aa72984 Retry addon application 2020-03-25 13:44:28 -07:00
Thomas Stromberg 196a8d7b82 Delete: output underlying status failure, refactor wordy code 2020-03-13 15:51:03 -07:00
Thomas Stromberg bd627f13e4 Plumb config.ClusterConfig throughout addon validation code 2020-03-10 17:49:47 -07:00
Sharif Elgamal 424b5170f7
Allow backwards compatibility with 1.6 and earlier configs 2020-03-09 12:01:07 -07:00
Sharif Elgamal 3bb111a6fc
make sure machine name is properly backwards compatible 2020-03-03 13:49:01 -08:00
Sharif Elgamal 28e030c728
Merge branch 'master' of github.com:kubernetes/minikube into machinename 2020-03-03 12:16:47 -08:00
Sharif Elgamal 31a42ce672
address comments 2020-03-02 17:30:08 -08:00
Sharif Elgamal 4b902f7e9f
more changes 2020-02-28 15:58:05 -08:00
Song Shukun 884c30a5f6 Fix: disable a disabled addon cause error 2020-02-27 19:21:08 +09:00
Sharif Elgamal 6e9cf2de2f Change MachineConfig to ClusterConfig 2020-02-21 16:09:05 -08:00
Sharif Elgamal 8c55c9ca60 holy crap cyclical import hell sucks 2020-02-12 18:34:44 -08:00
Thomas Strömberg 950fc79544
Merge pull request #6512 from tstromberg/gvisor-fixes
gvisor fixes for v1.7.0
2020-02-05 15:37:05 -08:00
tstromberg 77f74d82d7 Remove unused files var 2020-02-05 14:53:02 -08:00
tstromberg d66bcad56c Only run kubectl apply on YAML files 2020-02-05 14:41:05 -08:00
Vijay Katam cf8e247ae3 Use cluster-dns IP setup by kubeadm
Removed hardcoded `cluster-dns` IP 10.96.0.10, this allows kubelet to use `clusterDNS` configured by kubeadm in `/var/lib/kubelet/config.yaml`

Tested by starting minikube with `--service-cluster-ip-range=100.64.0.0/13` and verifying DNS resolution works.

/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
```
[Unit]
Wants=docker.socket

[Service]
ExecStart=
ExecStart=/var/lib/minikube/binaries/v1.17.0/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver='cgroupfs' --client-ca-file=/v
ar/lib/minikube/certs/ca.crt --cluster-domain=cluster.local --config=/var/lib/kubelet/config.yaml --container-runtime=docker --fail-swap-on=false --hostname-override=minikube --kubeconfig=/e
tc/kubernetes/kubelet.conf --node-ip=192.168.64.7 --pod-manifest-path=/etc/kubernetes/manifests

[Install]
```

DNS resolution test
```
kubectl run -i --tty --rm busybox --image=busybox --restart=Never -- sh
If you don't see a command prompt, try pressing enter.
/ # nslookup kubernetes.io
Server:		100.64.0.10
Address:	100.64.0.10:53

Non-authoritative answer:
Name:	kubernetes.io
Address: 147.75.40.148
```

Fixes: https://github.com/kubernetes/minikube/issues/5727

fix lint errors
2020-02-05 10:28:16 -08:00
tstromberg bcc186b908 Startup previously enabled addons 2020-02-03 10:49:40 -08:00
Thomas Stromberg c3aafaeeb4 Add IsNotExist() method to the config package, so that we can have meaningful error messages and make them comparable 2020-01-31 14:19:08 -08:00