Aaron Prindle
ec17df3e59
Added sshd, kubeconfig and insecure-serving flags to localkube for dind image
2017-09-28 16:05:51 -07:00
Matt Rickard
a90b6a446a
Merge pull request #1998 from vbatts/crio-bin
...
minikube-iso: add cri-o runtime
2017-09-27 10:05:34 -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
yuvipanda
d7bb7c343b
provisioner: Use chmod instead of umask
...
umask affects the entire process, while this is clearer
2017-09-27 01:40:19 -07:00
yuvipanda
f64234b1b8
Set umask to 0 before creating hostpath volumes
2017-09-27 01:40:19 -07:00
Matt Rickard
53341aa30d
golint, go vet, etc. changes
2017-09-11 14:17:58 -07:00
Kent Rancourt
ce2ac65d7f
manage proxy-client / aggregator certs
2017-09-06 18:11:59 -04:00
dlorenc
8837045970
Stop using insecure serving.
2017-07-26 14:38:57 -07:00
Matt Rickard
45eabf66eb
Merge pull request #1720 from r2d4/etcd3
...
Use etcd embed package, switch apiserver to use etcdv3
2017-07-26 13:42:21 -07:00
Aaron Prindle
4798185b47
Fix storage provisioner to use insecure address variable
2017-07-25 13:46:29 -07:00
Matt Rickard
a682bbbfe0
Use embeded etcd package, switch to etcdv3
2017-07-20 11:39:04 -07:00
Matt Rickard
afb7c63d92
Restore some kube-proxy defaults
...
Set some kube-proxy defaults that got unset through the new way of
configuring kube-proxy. Add more delay to the ip tables syncing reduces
idle CPU load a lot.
See
https://github.com/kubernetes/minikube/issues/1158#issuecomment-315308205
2017-07-14 10:58:21 -07:00
Matt Rickard
81fa73d2df
Structural changes to kube-proxy and apiserver
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
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
Srini Brahmaroutu
41f41646a5
Fixed the certification generation to use the correct IP.
...
When invoking localkube a certificate is not correctly generated for the
target ip. For example, when network 10.0.0.1/24 is parsed it generates
a certificate for 10.0.0.0 instead of 10.0.0.1.
Fixed #1215 . (with @mhbauer)
2017-03-24 17:02:28 -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
Matt Rickard
dfdbc6a768
Fixes from gometalinter
2017-01-30 15:39:35 -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
dlorenc
d5c01e7ab3
Add a PodCIDR for kubenet.
2017-01-05 14:50:28 -08:00
Matt Rickard
12c5973fbf
Manual changes for k8s v1.5.0-beta.1
...
The internal k8s client has now been taken out of the kubernetes repo
and is fully at k8s.io/client-go. Minikube should only reference the
client-go library, while Localkube can continue to reference both
internal k8s components as well as client-go.
make gendocs
2016-12-13 11:21:44 -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
Jimmi Dyson
c29cd3bd64
Merge pull request #683 from jimmidyson/default-storageclass
...
Add DefaultStorageClass to admission controllers
2016-10-12 20:32:56 +01:00
Jimmi Dyson
2085b894be
Upgrade to Kubernetes 1.4.1
2016-10-12 14:59:40 +01:00
Jimmi Dyson
7b6a113f69
Add DefaultStorageClass to admission controllers
2016-10-12 13:46:00 +01:00
dlorenc
8611a455ca
Initial configurator commit.
2016-09-30 10:05:14 -07:00
dlorenc
b7523e4400
Add a default NodeEvictionRate
2016-09-29 16:00:26 -07:00
dlorenc
311cba971d
Manual merge fix for 1.4 to build.
2016-09-29 15:57:33 -07:00
dlorenc
02ca33a869
Enable dynamic provisioning.
2016-09-09 10:02:11 -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
Vic Iglesias
b1e1b2c151
Enable host path provisioner
2016-09-01 14:41:04 -07:00
Dan Lorenc
4cfbc17dcb
Actually store registered etcd listeners.
2016-08-08 13:04:36 -07:00
dlorenc
587bf60c37
Switch the DNS etcd port from 9090.
2016-07-25 14:59:34 -07:00
Jimmi Dyson
a2f789590b
Enable all available APIs
2016-07-21 15:39:37 +01:00
Jimmi Dyson
f602020f02
Create long lived CA certificate
2016-07-12 15:59:38 +01:00
Jimmi Dyson
29e492e918
Do not override node hostname to ensure node IP is correct in node resource addresses
2016-07-01 22:38:55 +01:00
Dan Lorenc
e46b0d9cb0
Update k8s.
2016-06-10 09:43:46 -07:00
Dan Lorenc
34ad3b877c
Set the proxy mode to iptables.
...
This passes all conformance tests that pass with the other mode.
2016-06-01 09:16:34 -07:00
dlorenc
a621681e1b
Unmark the DNS Service and Endpoint as cluster-services.
...
This label causes the addon-manager to delete them. We can't let the addon-manager
create these either, because it doesn't support endpoints.
2016-05-31 14:28:32 -07:00
dlorenc
f15f8a4366
Switch logging in dns.go to glog.
2016-05-31 09:52:16 -07: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
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
Dan Lorenc
2858ff3b3e
Check boilerplate in all files.
...
Also fix misisng boilerplate.
2016-05-24 21:57:16 -07:00
Dan Lorenc
e5c3564f9e
Allow privileged pods.
2016-05-23 18:12:52 -07:00
dlorenc
0552f504dd
Update k8s.io components to efc5bbc9e.
...
A manual change was required in kube2sky.go.
Updates were required in appc/spec and a few other libraries.
2016-05-23 11:27:28 -07:00