Benjamin Elder
709bb412ed
tidy provider package
2019-11-01 06:32:31 -07:00
Benjamin Elder
e258374de8
remove kubeconfig-path
2019-10-30 10:33:00 -07:00
Benjamin Elder
aa3dd90d98
move cli to kubeconfig utils
2019-10-30 10:33:00 -07:00
Benjamin Elder
5c488ab62b
cluster context -> provider
2019-10-29 17:08:40 -07:00
Benjamin Elder
d0f4a5ad70
roll our own config loading
2019-10-02 18:04:39 -07:00
Antonio Ojea
bb96a19093
Enable IPv6 on nodes
2019-09-28 12:33:06 +02:00
Benjamin Elder
1649222ea1
introduce node and provider interfaces, implement for docker, migrate to these
2019-09-27 20:15:17 -07:00
Benjamin Elder
1b6e537ffc
switch error packages
2019-09-11 16:20:41 -07:00
Benjamin Elder
7d1d737524
remove RunLoggingOutputOnFail now that we include output in exec errors
2019-09-09 17:47:36 -07:00
chentanjun
50013db310
fix-up kind typo
2019-08-26 18:18:31 +08:00
Benjamin Elder
245ca10481
fix spelling errors
2019-08-22 21:37:55 -07:00
Benjamin Elder
ca3a118dcb
fix errcheck errors
2019-08-22 21:37:24 -07:00
Benjamin Elder
41794341c4
make all of /var an anonymous volume, use long flags when creating nodes
2019-08-19 17:55:31 -07:00
Benjamin Elder
b22369dade
compare host and node image ID when loading images
2019-08-16 16:54:40 -07:00
Benjamin Elder
53f8b72a32
use anonymous volume for /var/lib/kubelet
2019-08-15 15:44:36 -07:00
ethan
3e77b2d412
cleanup: create.go words correction.
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io >
2019-08-10 17:11:20 +08:00
Benjamin Elder
08b3004ee4
make internal API version internal
2019-07-24 23:07:14 -07:00
Nándor István Krácser
10f6d70324
add omitempty tag to Nodes and Networking attributes
...
both of the attributes are optional when reading back a marshaled version
2019-07-17 13:12:04 +02:00
Darragh Bailey
ce59fa3bff
Remove extraneous blank entry from NO_PROXY
...
Strip trailing whitespace from subnet retrieved from docker network
inspection to prevent splitting returning an array with an extraneous
element of ''.
Enabling use of proxies results in a NO_PROXY value containing an
extraneous element signified by ',,' appearing in the value appearing
in the container runtime environment.
This can be seen by running a `docker network inspect ..` command
locally using the same go format string to retrieve the output.
echo "'$(docker network inspect bridge -f ...)'"
'172.17.0.0/16 '
This is due to the embedded space in the format string in order to
provide a delimiter should more than one subnet be returned.
To prevent a subsequent split from returning an array that looks like
"['172.17.0.0/16', '']", should first trim any trailing whitespace.
This changes the NO_PROXY variable in the <cluster>-control-plane and
subsequent services from looking like:
172.17.0.0/16,,localhost,127.0.0.1,...
to:
172.17.0.0/16,localhost,127.0.0.1,...
2019-07-05 14:03:22 +01:00
Benjamin Elder
ecf22e10c6
upgrade default image to v1.15.0
2019-06-25 17:12:03 -07:00
Benjamin Elder
76e082784d
validate ports
2019-06-25 16:18:08 -07:00
Benjamin Elder
419213c78b
validate port values
2019-06-25 16:18:08 -07:00
Benjamin Elder
c8bc82efc9
drop kind v1alpha2
2019-06-25 16:18:08 -07:00
Fernando Llaca
8ccedd8fda
Remove ExtraPortMappings from load balancer nodes
2019-06-25 16:17:31 -07:00
Fernando Llaca
07bbc5ee61
Use PortMappings to expose API server and load balancers
2019-06-25 16:17:31 -07:00
Fernando Llaca
61b22ccece
First draft implementation of port mappings
2019-06-25 16:17:31 -07:00
Kubernetes Prow Robot
e9e20a8785
Merge pull request #382 from aojea/loadimage
...
load image only if not present
2019-06-24 15:10:37 -07:00
Kubernetes Prow Robot
4d1ea76acf
Merge pull request #628 from amwat/proxy
...
Automatically add the docker network to no_proxy
2019-06-24 12:46:36 -07:00
Benjamin Elder
e16951ef2e
use haproxy for loadbalancing, with healthchecks
2019-06-23 23:42:03 -07:00
Antonio Ojea
5ac138725f
Quote ControlPlaneEndpoint for kubeadm v1beta1
2019-06-23 17:02:28 +02:00
Benjamin Elder
59dfcf448e
quote ControlPlaneEndpoint
2019-06-21 13:03:43 -07:00
Antonio Ojea
d198ca31e8
Add debug logging to kubeadm config
2019-06-21 19:20:11 +02:00
Antonio Ojea
765c313b6d
Add IPv6 support
...
This commits adds allows kind to create IPv6 Kubernetes clusters
and makes the code ready to implement dual stack support. For simplicity,
only one address of each ip family is considered.
It adds 2 new options to the v1alpha3 API: ipFamily and serviceSubnet
2019-06-21 11:25:38 +02:00
Antonio Ojea
a50cf33284
Dont set the crictl socket inside the nodes
2019-06-20 23:43:44 +02:00
Benjamin Elder
1bfd1cf053
fix improper sharing of kubeadm config inputs
2019-06-19 16:22:05 -07:00
Benjamin Elder
af0d60889d
handle v1.11 kubeadm config correctly
2019-06-19 16:22:05 -07:00
Antonio Ojea
2b413f26c5
Add kubeadm v1alpha2 template join config
2019-06-19 16:11:28 -07:00
Antonio Ojea
123ba76a0d
Fix templating errors
2019-06-19 16:11:28 -07:00
Antonio Ojea
98e924aadc
Use APIendpoint type correctly
2019-06-19 16:11:28 -07:00
Antonio Ojea
25587d7c8a
Fix kubeadm v1alpha3 control plane
2019-06-19 16:11:28 -07:00
Antonio Ojea
766cecd165
Remove getJoinAddress function
2019-06-19 16:11:28 -07:00
Antonio Ojea
6946cac2e6
Always get a control plane endpoint
2019-06-19 16:11:28 -07:00
Antonio Ojea
429693ac1f
Use kubeadm config files to create the cluster
2019-06-19 16:11:28 -07:00
Amit Watve
d2897ef9ab
Additionally set lower case envs. Propagate network inspect during node creation.
2019-06-19 14:01:43 -07:00
Amit Watve
632f4a01c2
Add docker network to no_proxy.
2019-06-19 13:42:25 -07:00
Amit Watve
3c8ae60889
Warn if cluster name is too long.
2019-06-17 14:17:17 -07:00
Antonio Ojea
347819df63
Add method to inspect images inside nodes
2019-06-11 23:19:27 +02:00
Antonio Ojea
54b2229012
Kindnet 0.2.0
...
This new version brings several improvements:
- Fastest bootup, nodes are reconciled every 10 sec
- Masquerade handling for IPv4 and IPv6, removing the ipmasq-agent
dependency
- Improved perforformance, replacing the bridge plugin by ptp
- More resilient to failures
2019-06-10 09:21:14 +02:00
Antonio Ojea
8a8fd251fe
Collect logs only from internal nodes
2019-06-05 13:13:26 +02:00
Antonio Ojea
8cfdb8cca3
Add context method to list internal nodes
2019-06-05 13:12:48 +02:00