Commit Graph

2282 Commits (7e0131e1de4ad552e3235467bd399601c98b78b6)

Author SHA1 Message Date
Manuel de Brito Fontes e7cd5aba54 Update nginx ingress controller version to 0.9-beta.12 2017-08-30 18:24:48 -03:00
Matt Rickard b0db008b87 Merge pull request #1886 from r2d4/localkube-bootstrapper
Add localkube as a bootstrapper
2017-08-30 10:51:24 -07:00
Matt Rickard 81f12caa87 Merge pull request #1828 from r2d4/in-tree-kvm
Bring KVM driver in-tree
2017-08-30 10:46:29 -07:00
Matt Rickard 3f10427e2a Merge pull request #1754 from hanks/fix/optional-arn-aws-role
fix(config): make ARN of AWS role input optional
2017-08-29 10:02:49 -07:00
Matt Rickard 54395a6a68 Merge pull request #1896 from r2d4/easy-iso-make
Add makefile rule for linux-defconfig
2017-08-28 16:19:04 -07:00
Matt Rickard a40b2f053e Merge pull request #1895 from r2d4/hyperkit-disk
Change cleanup command to accomodate swap disk
2017-08-28 16:17:58 -07:00
Matt Rickard e64f06ed99 Merge pull request #1873 from r2d4/none-driver-integration
Add target for none driver integration
2017-08-28 14:59:27 -07:00
Matt Rickard 48fd6ecb65 Add localkube as a bootstrapper
Introduce the --bootstraper or -b flag that toggles the cluster
bootstrapper.  The default bootstrapper (and only bootstrapper at this
time) is localkube.

The bootstrapper interface contains all the functions needed to
bootstrap a kubernetes cluster.  It ingests a KubernetesConfig, which
contains all the configuration for the cluster, as well as a
CommandRunner, which is the interface upon which it will run commands
and transfer files to possibly remotely set up the cluster.

This moves the localkube functions out of cluster.go into their own
package at k8s.io/minikube/pkg/minikube/bootstrapper/localkube.
2017-08-28 13:23:41 -07:00
Matt Rickard 6c73183cea Add target for none driver integration
Theres currently no good way to run the integration tests for the none
driver locally.  Now that we've added the e2e target, we can depend on
that.  Running the e2e test binary locally requires the testdata folder
to be in a different path, since it is relative to where the code is
being ran.  I added a testdata-dir flag to the integration tests so we
can set it appropriately for when we want to run the e2e binary by
itself.

I also made the e2e test binary a PHONY target, so we rebuild it each
time.  I had trouble collecting the dependencies on the integration
test packages
2017-08-28 11:56:30 -07:00
Matt Rickard 531e81103f Rename kvm driver to kvm2 2017-08-28 11:52:39 -07:00
Matt Rickard 48b165808c Bring KVM driver in-tree
Add boilerplate

Review feedback
2017-08-28 11:52:35 -07:00
Matt Rickard 1052dda37a Move CalculateDiskSizeInMB to utils to use in kvm 2017-08-28 11:27:34 -07:00
Matt Rickard 2fd858844b Add additional modules for IPVS
Fixes #1894
2017-08-28 11:02:11 -07:00
Matt Rickard d880f6bb2e Add makefile rule for linux-defconfig
I find myself referencing this documentation every time I make kernel
configuration changes.  I've added a simple rule to open the kernel
configuration menu, and then save your changes to the right directory.
2017-08-28 11:01:22 -07:00
Matt Rickard afc8b52fd8 Change cleanup command to accomodate swap disk
Hyperkit was mounting swap disks, which we can't detach with the
hdiutil util like we're using.  Its sufficient to just hdiutil detach
/dev/disk1

```
/dev/disk1	FDisk_partition_scheme
/dev/disk1s1	Linux
/dev/disk1s2	Linux_Swap
```
2017-08-28 10:43:32 -07:00
Matt Rickard 3c9603ad64 Merge pull request #1888 from dragon3/master
Recover "awsregion" parameter for registry-creds addon
2017-08-25 18:02:19 -07:00
Matt Rickard ccb0a1e3fd Merge pull request #1890 from r2d4/sshd
sshd_config and motd
2017-08-25 18:01:13 -07:00
Matt Rickard 555a1ee778 Bump iso to v0.23.3 2017-08-25 14:57:12 -07:00
Matt Rickard bb50f5df36 Add minikube motd for ssh login 2017-08-25 13:29:44 -07:00
Matt Rickard 946d406650 Add sshd_config to minikube iso
Overwrite the default configuration and enable

PrintMotd
PermitTunnel yes
MaxSessions 1000

So that we can run multiplex more ssh connections and do things in
parallel.
2017-08-25 13:28:18 -07:00
Ryuzo Yamamoto 6daef73f8d Recover "awsregion" parameter for registry-cred addon
It seems the "awsregion" parameter was removed in 8ba6f47876 (#1711) unexpectedly.
It caused making incorrect awsecr-cred with unexpected aws region.
2017-08-25 09:39:58 -04:00
hanks 5556ce9436 fix(config): make ARN of AWS role input optional 2017-08-25 15:38:08 +09:00
Matt Rickard 3a0d03f93b Merge pull request #1844 from r2d4/command-runner
Add CommandRunner interface
2017-08-24 15:07:51 -07:00
Jiahao Chen db83dfdd0d README: fix typo
kubernetes cluster componenets -> components
2017-08-24 14:20:45 -07:00
Matt Rickard caa8a540e6 Merge pull request #1776 from dlorenc/hyperkit
WIP: Initial hyperkit driver implementation.
2017-08-24 14:14:47 -07:00
dlorenc a05a4fe35a Code review feedback. 2017-08-24 11:54:59 -07:00
dlorenc 1ac4166b10 Add darwin build tag. 2017-08-24 11:54:59 -07:00
dlorenc b4202d6d02 Unit tests. 2017-08-24 11:54:59 -07:00
dlorenc e3d239929b Jenkins/Makefile targets. 2017-08-24 11:54:59 -07:00
dlorenc 28f9d5dc1a Initial hyperkit driver implementation. 2017-08-24 11:54:59 -07:00
Aaron Prindle 88fef61da2 Merge pull request #1865 from aaron-prindle/none-docs
updated driver documentation to include none driver
2017-08-24 10:33:28 -07:00
Matt Rickard d34142de03 Merge pull request #1879 from r2d4/dot-exe
Rename e2e-windows-amd64 to e2e-windows-amd64.exe
2017-08-23 18:24:35 -07:00
Matt Rickard cac45c3ed8 Use syncmap instead of sync.Atomic 2017-08-23 15:08:32 -07:00
Matt Rickard 7f5e4b7e82 Rename e2e-windows-amd64 to e2e-windows-amd64.exe 2017-08-23 15:01:52 -07:00
Matt Rickard fd921b3997 Review feedback 2017-08-23 14:33:34 -07:00
Matt Rickard fd37e6daec Move setupCerts to use CommandRunners 2017-08-23 14:33:34 -07:00
Matt Rickard 8d4e1d48be Add comments for exported CommandRunner functions 2017-08-23 14:33:34 -07:00
Matt Rickard 7f558f1a11 Move tests over to use FakeCommandRunner 2017-08-23 14:33:34 -07:00
Matt Rickard 5a9ecbe672 Add CommandRunner interface
Two implementations, SSHRunner and ExecRunner allow commands to be run
either through SSH or os.Exec respectively.  This allows the cluster
bootstrappers to be unaware of how they are actually executing the
commands they need.  Copy and Remove functions provide a nice
convenience function for running commands that copy and remove files
respectively.
2017-08-23 14:33:34 -07:00
Matt Rickard d4e211ca4d Merge pull request #1874 from r2d4/k8s-client-integration
Use kubernetes client in integration tests
2017-08-23 14:28:42 -07:00
Matt Rickard 211ebb8a69 Use kubernetes client in integration tests 2017-08-23 13:09:30 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Matt Rickard 41ebed7b62 Merge pull request #1870 from r2d4/none-cleanup
Clean up running containers for none driver
2017-08-22 20:15:33 -07:00
Matt Rickard c75fadccc6 Merge pull request #1786 from r2d4/e2e
Move e2e binary compilation to makefile
2017-08-22 19:05:44 -07:00
Matt Rickard 1bf84c4c11 Clean up running containers for none driver
If containers are running from a previous run of the none driver, the
subsequent test runs will fail.
2017-08-22 18:03:38 -07:00
Matt Rickard 9d6541075e Move e2e binary compilation to makefile 2017-08-22 17:01:13 -07:00
Matt Rickard 62c7ac0c75 Merge pull request #1857 from r2d4/update-viper
Upgrade one vendor dependencie containing a bug (github.com/spf13/viper)
2017-08-22 16:20:38 -07:00
Aaron Prindle 3e3f0071a3 Merge pull request #1860 from aaron-prindle/fix-none-status
Fix status issue with none driver where additional text is being prin…
2017-08-22 16:16:55 -07:00
Matt Rickard fc9a641494 Merge pull request #1858 from r2d4/update-iso
Update minikube-iso to v0.23.2
2017-08-22 16:16:25 -07:00
Matt Rickard af97e0b25d Merge pull request #1868 from r2d4/remove-tests
Remove tests that called exit code
2017-08-22 16:15:19 -07:00