Commit Graph

11766 Commits (c96c86304fd0478dc81e0edb687921819400ccda)

Author SHA1 Message Date
Medya Ghazizadeh b27dbc0dd4
Merge pull request #9037 from medyagh/swarm_
add swarm and storage driver to DaemonInfo
2020-08-20 09:55:55 -07:00
Thomas Strömberg 943d9dab0e
Merge pull request #9039 from zhijianli88/typo
fix typo miniube
2020-08-20 09:23:35 -07:00
Anshul Sirur 6e8f596eac Fix --memory flag parsing in minikube start
Due to the way Go handles variable scope, `mem` was being
redeclared inside the conditional. Outside, we were stuck with the value
provided by `suggestMemoryAllocation`, therefore ignoring the value
passed through the `--memory` flag.
2020-08-20 10:29:26 +02:00
Li Zhijian 906bcb9cab fix typo miniube
$ sed -i 's/miniube start/minikube start/g' $(git grep -l 'miniube start')

Fixes: #9018
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 13:43:59 +08:00
Li Zhijian 113e640c0d create a temp MinikubeHome for a few cluster tests
these tests will write something to the MinikubeHome. Previously, these
tests will use the environment value of MinikubeHome directly which might
dirty the previous MiniKubeHome

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 11:49:12 +08:00
Li Zhijian 95e7203900 add a temp MinikubeHome for TestStart
this test will write a config.json into MinikubeHome, create a temp dir for it

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 11:49:07 +08:00
Medya Gh 56691f839c add swarm and storage driver to DaemonInfo 2020-08-19 15:38:56 -07:00
Priya Wadhwa e1deec7019 improve output 2020-08-19 17:57:56 -04:00
Priya Wadhwa e1ed864708 Merge branch 'master' of https://github.com/kubernetes/minikube into var-status-code 2020-08-19 17:44:51 -04:00
priyawadhwa 9c6f051b73
Merge pull request #9028 from priyawadhwa/var-warning
Warn if /var disk space is full and add a solution message
2020-08-19 17:44:05 -04:00
Thomas Stromberg 4f2a395e03 Merge branch 'master' into nsswitch 2020-08-19 14:07:46 -07:00
Priya Wadhwa a32896192d add todo 2020-08-19 16:31:23 -04:00
Priya Wadhwa 4e638a1a0d include tip about pruning via minikube ssh 2020-08-19 15:28:06 -04:00
Priya Wadhwa 704a2a7a83 Merge branch 'master' of https://github.com/kubernetes/minikube into var-warning 2020-08-19 15:17:44 -04:00
Priya Wadhwa 399dad0884 fix lint 2020-08-19 15:15:39 -04:00
Priya Wadhwa 4d1c1c0dc3 Add integration test for insufficient storage
Make sure that if /var has full storage, the output of `minikube status` is correct regardless of whether events.json is present or not
2020-08-19 14:16:00 -04:00
Priya Wadhwa 1783cc2939 Make sure minikube status shows status name and details 2020-08-19 13:32:36 -04:00
Priya Wadhwa 3dba974535 Make sure 'minikube status' displays InsufficientStorage for cluster and nodes
if there is insufficient storage. Output now looks like:

```
{
  "Name": "minikube",
  "StatusCode": 507,
  "StatusName": "InsufficientStorage",
  "StatusDetail": "/var is almost out of disk space",
  "Step": "Starting Node",
  "StepDetail": "Updating the running docker \"minikube\" container ...",
  "BinaryVersion": "v1.12.3",
  "Components": {
    "kubeconfig": {
      "Name": "kubeconfig",
      "StatusCode": 500,
      "StatusName": ""
    }
  },
  "Nodes": [
    {
      "Name": "minikube",
      "StatusCode": 507,
      "StatusName": "InsufficientStorage",
      "Components": {
        "apiserver": {
          "Name": "apiserver",
          "StatusCode": 405,
          "StatusName": "Stopped"
        },
        "kubelet": {
          "Name": "kubelet",
          "StatusCode": 405,
          "StatusName": "Stopped"
        }
      }
    }
  ]
}
```
2020-08-19 13:25:48 -04:00
Thomas Strömberg dd11ed8da0
Merge pull request #8989 from superbrothers/fix-nil-pointer-dereference
minikube update-context: Fix nil pointer dereference
2020-08-19 10:06:14 -07:00
Priya Wadhwa 064f021cf1 improve regex so this only works for docker 2020-08-19 10:29:21 -04:00
Priya Wadhwa 5033d24aae Include review comments 2020-08-19 10:25:58 -04:00
Li Zhijian 50459e0566 add testing cleanup hook for createTestProfile
T.cleanup() is introduced since go-1.14

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-19 18:10:07 +08:00
Li Zhijian 640e9b64f8 cleanup tempdir properly for localpath_test
'path' could be changed during the test

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-19 16:56:14 +08:00
Thomas Stromberg 654cf57f26 Dockerfile: prioritize /etc/hosts over dns 2020-08-18 16:50:33 -07:00
Priya Wadhwa edc3c95081 Add a problem with advice to prune if no space on device error is seen 2020-08-18 19:30:57 -04:00
Priya Wadhwa 0f4d0b6584 Include post start validations that warn the users if /var is full 2020-08-18 19:05:08 -04:00
Medya Ghazizadeh 348b8c9865
Merge pull request #9015 from medyagh/windows_caffeine64
keep windows machine awake
2020-08-18 15:34:11 -07:00
Medya Ghazizadeh b4a329d6eb
Merge pull request #9014 from medyagh/update_kicbase
update kicbase to snapshot
2020-08-18 15:30:00 -07:00
Thomas Strömberg ca9ef08333
Merge pull request #9026 from kubernetes/tstromberg-patch-4
Document post-mortem log collection
2020-08-18 13:23:22 -07:00
Thomas Strömberg 9a770098fd
Update troubleshooting.md 2020-08-18 13:04:59 -07:00
Thomas Strömberg c66407174e
Add post-mortem log collection 2020-08-18 13:03:40 -07:00
Markus Frosch 03ce70f76a ingress-dns: Add notes for NetworkManager with dnsmasq 2020-08-18 13:24:48 +02:00
Medya Ghazizadeh 1406bb0afa
Merge pull request #9011 from Evalle/ISSUE-8757
Update documentation to show docker as a preferred driver
2020-08-17 17:52:15 -07:00
Medya Gh ae086a1f31 gen docs 2020-08-17 17:01:13 -07:00
Medya Gh e0d0ae1e19 correct comit sha 2020-08-17 16:56:25 -07:00
Medya Gh 20a9a1741a only install cafefine 2020-08-17 16:49:49 -07:00
Medya Gh c94a75032c fix docs 2020-08-17 16:11:59 -07:00
Medya Gh d83d217f4d remove extra line 2020-08-17 16:09:36 -07:00
Medya Gh a841351281 keep windows machine awake 2020-08-17 16:07:33 -07:00
Medya Gh 20dd3e8ade update kicbase to snapshot 2020-08-17 14:28:02 -07:00
Medya Ghazizadeh 119fbf4de6
Merge pull request #8974 from tstromberg/retry-cgroups
entrypoint: Retry fix_cgroup on failure
2020-08-17 14:02:47 -07:00
Medya Ghazizadeh 84dd707ef7
Merge pull request #8999 from n0npax/unify-docker-push-in-makefile
unify docker push in makefile
2020-08-17 14:00:52 -07:00
Medya Ghazizadeh 32f7e24972
Merge pull request #8764 from josedonizetti/kic-add-static-ip
Add static ip to kic/docker on linux
2020-08-17 13:59:00 -07:00
priyawadhwa db056e7192
Merge pull request #9004 from x1wins/patch-1
Fixed typo
2020-08-17 13:59:13 -04:00
Pablo Caderno 7f7fd8d57c Updated kubectl args
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 22:18:50 +10:00
Pablo Caderno 07daab51e3 Go fmtd functional tests file
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 21:34:17 +10:00
Pablo Caderno 30b4f202c6 Go fmtd imports
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 21:26:26 +10:00
Pablo Caderno 9708036592 Updated default cmd string when minikube is run as kubectl
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 21:20:50 +10:00
Evgeny Shmarnev 472ed0fb38 Update documentation to show docker as a preferred driver 2020-08-17 13:04:06 +02:00
Pablo Caderno cef2139629 Added integration test
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 20:52:58 +10:00