Commit Graph

1441 Commits

Author SHA1 Message Date
Erik Wilson
7e1abf28f1 Short port names for service load balancer
If a port name is longer than 15 characters we are unable to create
the associated service load balancer containers. Use our own short
name of `lb-port-{port}` to avoid naming issues.

For rancher/k3s/issues/90
2019-03-14 18:53:00 +00:00
Vladimir Zorin
d1348b9898 Trim whitespaces before checking if line is empty or comment 2019-03-14 14:12:02 +02:00
Vladimir Zorin
567532d74d Do not process empty yaml objects (fixes #222) 2019-03-14 13:36:26 +02:00
Travis
93cb64d347
fix typo
k3s agent param `-u` is incorrect, use `-s`
2019-03-13 16:51:16 +08:00
Dominic Taylor
f0077e2f0b Update docker-compose for v0.2.0, add agent docker-compose, update readme for docker agent run command 2019-03-12 12:47:22 +00:00
senhtry
ef827e9957
Adjust the startup order of docker-compose
Adjust the startup order of node and server, server service should be started at first.
2019-03-12 10:56:47 +08:00
Adam Liddell
144e7a77b4 Update README for correct VXLAN port 2019-03-10 19:55:51 +00:00
Sebastiaan van Steenis
c8e79d30ae Fix version for cli 2019-03-09 15:12:15 +01:00
Darren Shepherd
dc91c4850b
Merge pull request #164 from erikwilson/install-agent
Allow agent install
2019-03-08 20:04:21 -07:00
Erik Wilson
87a2be3453 Update readme
Add information on using the install script with environment variables
for defining desired download version, launch flags, agent install, and
install without downloads.
2019-03-07 13:05:26 -07:00
Darren Shepherd
2771ae1ba9
Merge pull request #184 from ibuildthecloud/default-ns
Assign default namespace if not set in manifests
2019-03-07 13:04:50 -07:00
Darren Shepherd
937b379605
Merge pull request #183 from ibuildthecloud/helm
Various helm fixes
2019-03-07 13:04:42 -07:00
Darren Shepherd
9a862610ac
Merge pull request #177 from erikwilson/systemd-notify
Enable systemd ready notification for k3s server
2019-03-07 13:04:34 -07:00
Darren Shepherd
a649983228 Any change to helm chart values or values.yaml should upgrade 2019-03-07 13:01:21 -07:00
Darren Shepherd
769c1d5415 Fix manifest polling 2019-03-07 13:01:21 -07:00
Darren Shepherd
80d8d3126c Update vendor 2019-03-07 13:00:35 -07:00
Darren Shepherd
bef4115657 Assign default namespace if not set in manifests 2019-03-07 13:00:35 -07:00
Darren Shepherd
7fbeafea46
Merge pull request #182 from ibuildthecloud/revert
Fix containerd debug log env var
2019-03-07 12:56:51 -07:00
Erik Wilson
e05964d1dd Allow agent install
Modify the install script to allow defining arbitrary service names and
commands for k3s.
2019-03-07 12:45:08 -07:00
Darren Shepherd
6e28ede2f8 Fix containerd debug log env var 2019-03-07 11:20:58 -07:00
Darren Shepherd
f4f29e6947
Merge pull request #181 from ibuildthecloud/master
Remove spurious error on start
2019-03-07 11:00:07 -07:00
Darren Shepherd
fe9a5b1601 Remove spurious error on start 2019-03-07 10:25:21 -07:00
Erik Wilson
107b5f3985 Enable systemd ready notification for k3s server
Disables k8s generic api server systemd ready notification and send
our own ready notification after server available and kubeconfig
available.

Make sure we unset the NOTIFY_SOCKET environment variable by passing
`true` to SdNotify so the agent can start containers.
2019-03-07 09:54:04 -07:00
Darren Shepherd
2f3da6af94
Merge pull request #175 from ldez/refactor/load-images
refactor: creates preloadImages function.
2019-03-07 09:46:27 -07:00
Darren Shepherd
3ad5b11522
Merge pull request #171 from epicfilemcnulty/Add-service-cidr-server-arg-support
Add --service-cidr and --cluster-dns server args support
2019-03-07 09:41:33 -07:00
Darren Shepherd
63b81d3399
Merge pull request #180 from ibuildthecloud/pr165
Fixup pr165
2019-03-07 09:34:37 -07:00
Darren Shepherd
c7b2548f66 Fixup pr165 2019-03-07 09:32:33 -07:00
Vladimir Zorin
0eb8bd2988 Merge branch 'master' into Add-service-cidr-server-arg-support 2019-03-07 16:51:56 +02:00
Fernandez Ludovic
10c8ca8ddb doc: minor fix. 2019-03-07 01:49:12 +01:00
Fernandez Ludovic
e59bd5d489 refactor: creates loadImages function. 2019-03-07 01:45:52 +01:00
David Pendray
d7e5c86041 Fix node-token path not resolving for root user in agent scripts 2019-03-07 00:15:10 +00:00
Darren Shepherd
17f9f355bb
Merge pull request #169 from matejgera/master
Document uninstall and Traefik, Helm integration (references #86, #96, #97)
2019-03-06 16:33:04 -07:00
Vladimir Zorin
392cfb1231 Add basic templating support for manifests 2019-03-07 01:22:55 +02:00
Vladimir Zorin
44cce9a76f Set ClusterDNS to ServiceCIDR network address + 10 when cluster-dns is not provided 2019-03-06 20:41:07 +02:00
Vladimir Zorin
7ad03ad8b0 Add cluster-dns server arg support 2019-03-06 13:16:04 +02:00
Vladimir Zorin
b8c3ff1dab Add --service-cidr server arg support 2019-03-06 12:37:03 +02:00
Matej Gera
d11d985b42
Updates README.md to document uninstall and Traefik, Helm integration (references #86, #96, #97) 2019-03-06 08:43:47 +01:00
Darren Shepherd
10be950df5
Merge pull request #161 from aaliddell/master
Enforce lower case hostname for node
2019-03-05 12:53:02 -07:00
Adam Liddell
b430513abf Enforce lower case hostname for node, references #160 2019-03-05 18:34:24 +00:00
Darren Shepherd
36370fdfbd
Merge pull request #149 from JakeConnors376W/patch-1
Fix inconsistent title case
2019-03-05 07:09:48 -07:00
Darren Shepherd
40b5914c58
Merge pull request #150 from JakeConnors376W/patch-2
Improve clarity
2019-03-05 07:08:47 -07:00
Darren Shepherd
b816d1bdcc
Merge pull request #153 from detailyang/patch-1
README: fix typo
2019-03-05 07:04:24 -07:00
detailyang
c2b8d9c31f
README: fix typo 2019-03-05 11:16:38 +08:00
Darren Shepherd
4f13bd6eec
Merge pull request #141 from juliens/preload-images
preload a docker image on the k3s node agents
2019-03-04 17:15:13 -07:00
JakeConnors376W
5c500d444c
Improve clarity 2019-03-04 15:16:59 -08:00
Darren Shepherd
4475456a83
Update pkg/agent/config/config.go
Co-Authored-By: juliens <julien.salleyron@gmail.com>
2019-03-04 23:23:17 +01:00
JakeConnors376W
2f847409cd
Fix inconsistent title case 2019-03-04 14:22:42 -08:00
Julien Salleyron
164b89bce4 fix review. 2019-03-04 21:46:37 +01:00
Julien Salleyron
1895eec684 Preload images 2019-03-04 21:34:24 +01:00
Darren Shepherd
6de915d351
Merge pull request #148 from ibuildthecloud/revert
Revert "Enable systemd ready notification for k3s server"
2019-03-04 13:20:32 -07:00