Matt Rickard
f368ac4999
Merge pull request #2137 from priyawadhwa/storage-provisioner-as-pod
...
Run storage provisioner as pod
2017-11-01 14:00:57 -07:00
Matt Rickard
30667cb406
Calculate ServiceClusterIP and DNS IP from CIDR
2017-10-31 10:06:51 -07:00
Priya Wadhwa
71b38d1e4e
Tests passing with storage-provisioner in addons
2017-10-30 13:45:31 -07:00
Aaron Prindle
ec17df3e59
Added sshd, kubeconfig and insecure-serving flags to localkube for dind image
2017-09-28 16:05:51 -07:00
Vincent Batts
2788714cc5
minikube-iso: add cri-o runtime
...
https://github.com/kubernetes-incubator/cri-o
Updated the runc version to its latest master commit.
Got crio into the automounter to get off the tmpfs
This feature bubbles up to the minikube command by reusing the
`--container-runtime=` flag, by enabling the value of "`crio`"
(`minikube start --container-runtime=crio`), while the flags/config
passed to localkube are more like k8s (`--container-runtime=remote
--remote-runtime-endpoint=/var/run/crio.sock`)
This is mostly ready for review. It is still lacking having
--insecure-registry plumbed through, but for now the policy.json is
open.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-09-27 09:12:15 -04:00
Matt Rickard
a682bbbfe0
Use embeded etcd package, switch to etcdv3
2017-07-20 11:39:04 -07:00
Matt Rickard
8ad4ffe217
Change localkube 'show-version' flag
...
The k8s components are registering their flags on localkube, polluting
the flag namespace. A 'version' flag was added, which conflicts with a
localkube flag. Changing the name of this flag so that there is no
conflict.
2017-07-13 09:19:44 -07:00
dlorenc
c5b57b0479
Manual changes for 1.7 update.
2017-07-13 09:16:43 -07:00
dlorenc
11ce2369d2
Move kubecfg utils from minikube to util.
...
We'll need to also write a kubecfg inside the VM going forward as we
remove the InsecureServing path.
2017-07-05 17:25:36 -07:00
Budh Ram Gurung
96cb95bdfd
Fix typo, grammar, punctuations and formatting
2017-06-16 17:56:51 +05:30
dlorenc
ca4f2914d1
Add order to localkube startup. ( #1371 )
...
* Add order to localkube startup.
This adds a "ready" concept to localkube servers.
* Add unit tests.
2017-04-24 09:22:05 -07:00
Matt Rickard
b279d733ad
Minikube changes for v1.6.0-beta.2
2017-03-31 13:24:03 -07:00
Matt Rickard
3b46c27b16
Minikube changes for v1.6.0-alpha.1
2017-03-31 13:23:59 -07:00
Matt Rickard
d2e355182b
Fix logging message for feature gates
2017-03-16 11:23:51 -07:00
dlorenc
e969ebe87b
Add an external hostpath provisioner to localkube.
2017-03-01 11:05:14 -08:00
Aaron Prindle
3433a3028c
Added API Name as configuration option
2017-02-18 15:49:49 -08:00
Aaron Prindle
d3531c9eec
Change etcd to be accessible within pods
2017-02-17 15:40:48 -08:00
fate-grand-order
c4ed8df451
fix missing argument for Printf
2017-01-17 15:17:40 +08:00
Matt Rickard
89cdd44197
Support enabling alpha features with feature gates
...
This sets the feature gates on every kube-system component (apiserver,
kubelet, etc.)
Fixes #896
2017-01-09 13:55:39 -08:00
Xinbo Weng
f91f428634
fix duplicated 'the' and some 'a/an' errors
...
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
2016-12-23 19:46:04 +08:00
Matt Rickard
7560384fc8
Remove vendored kube2sky, Add DNS as cluster addon
...
Removes the vendored in kube2sky built into the minikube binary and
replaces the dns solution with kube-dns cluster addon. This will allow
users to swap out DNS implementations by simply turning off the
kube-dns addon.
2016-10-25 14:00:51 -07:00
dlorenc
8611a455ca
Initial configurator commit.
2016-09-30 10:05:14 -07:00
Sergiusz Urbaniak
3945c3bffb
localkube: add rkt, and CNI support
2016-09-09 13:48:22 +02:00
Jimmi Dyson
719bbaf86b
Ensure node IP is routable address
2016-09-05 14:33:27 +01:00
Jimmi Dyson
a2f789590b
Enable all available APIs
2016-07-21 15:39:37 +01:00
Jimmi Dyson
7d5aca9fe3
Switch API server to port 8443
2016-07-08 23:38:27 +01:00
aprindle
32843fa860
Fixed spam caused by etcdserver/api/v2http logging through capnslog, changed etcdserver/api logging to be for NOTICE lvl and above
2016-06-30 10:34:36 -07:00
Lucas Käldström
84004ad6c3
Run gofmt
2016-05-28 18:10:56 +03:00
Lucas Käldström
a62e9e5ca8
Removed localkube start and version commands in favor for starting as default and using version as a flag. Also the version is now set my the Makefile
2016-05-28 17:50:36 +03:00
Dan Lorenc
abca78dfde
Allow glog flags in localkube.
2016-05-27 15:55:16 -07:00
Dan Lorenc
01b76efc7f
Configure capabilities explicitly before starting localkube.
...
There's a race condition in the current capability initialization. These
can only be configured once per binary, so if the APIServer goroutine
sets it first the kubelet goroutine can never change this value.
2016-05-27 11:10:38 -07:00
Lucas Käldström
00d4152313
Rename some constants in constants.go to Default..., and break out more constants
2016-05-25 23:25:49 +03:00
Lucas Käldström
1a3ef791f9
Add a version command to minikube too
2016-05-25 23:24:12 +03:00
Dan Lorenc
43f5851e6d
Fix race condition in cluster setup.
...
We now explicitly generate certs before starting the cluster.
2016-05-22 14:21:10 -07:00
Dan Lorenc
a3fee8fd40
Remove unused portions of GenerateSelfSignedCert
2016-05-11 16:50:27 -07:00
Dan Lorenc
c9b1939b57
Add a check for matching IPs and cert regeneration.
...
Add unit tests for cert generation and checking.
2016-05-11 10:25:22 -07:00
Lucas Käldström
ba9646ed56
Added error handling for certs as commented
2016-05-10 21:06:06 +03:00
Lucas Käldström
0c05a831b4
Remove dependency on easyrsa; now localkube signs its own certs (including CA, which wasn't present earlier). Now serviceAccounts should work properly
2016-05-10 19:53:11 +03:00
Lucas Käldström
a38a9037e2
Use utilnet for getting the host's public IP, which is more reliable. Also, switch to net.IP and net.IPNet flags for validation
2016-05-10 17:49:09 +03:00
Lucas Käldström
c12821809a
Run gofmt
2016-05-09 23:37:46 +03:00
Lucas Käldström
e7cda1ce58
Very large refactor of localkube. Fixed lots of bugs, added flags and commands via cobra, extracted a simple interface for SimpleServer for all Kubernetes components, made DNS working again, created the type LocalkubeServer which holds all necessary data etc.
2016-05-09 23:35:57 +03:00
dlorenc
cfb93eea90
Add a flag to control whether or not localkube runs in a container.
2016-05-05 21:00:14 -07:00
Lucas Käldström
6b2d1ed1cd
Restructure the whole project, gofmt and improve the makefile
2016-05-05 16:38:23 +03:00
Dan Gillespie
fe340e52e7
added localkube and dependencies
2016-05-04 01:54:00 -07:00