Commit Graph

3206 Commits (2669d67a9b3a913565bf172ffa54301670f64f3f)

Author SHA1 Message Date
Erik Wilson 8d57fbd430 Change klipper-helm to PullIfNotPresent
PullAlways ImagePullPolicy causes issues with offline/airgap support,
so only pull if image is not already present.
2019-03-22 00:10:29 +00:00
Darren Shepherd 78d75fb15b
Merge pull request #204 from superseb/version
Fix version for cli
2019-03-20 11:49:59 -07:00
Darren Shepherd e54cfc74c6
Merge pull request #241 from erikwilson/helm-airgap
Air-gap chart support
2019-03-20 11:49:18 -07:00
Erik Wilson e75e5171af Generated bin data 2019-03-20 18:35:25 +00:00
Erik Wilson ffcc9c0c9c Package static assets
Include static Helm assets in the build process needed for air-gap
2019-03-20 18:35:25 +00:00
Erik Wilson 5716acab44 Use traefik chart on API server 2019-03-20 18:35:25 +00:00
Darren Shepherd cd1339b742
Merge pull request #223 from dominictayloruk/docker-fix
Update docker-compose for v0.2.0, add agent docker-compose, update re…
2019-03-20 10:26:56 -07:00
Darren Shepherd c0bfc5d8cc
Merge branch 'master' into docker-fix 2019-03-20 10:25:55 -07:00
Erik Wilson 608f3a4e80 Serve static assets
Provide a static assets route for use with helm or other air-gap needs.
2019-03-20 00:24:27 +00:00
longfei d24973553f Fix go get golang.org/x/* packages timed out issue.
Change-Id: I60c92d0127cfc503c46b26fe7b2e3ad2f957dfa3
2019-03-19 17:15:25 +08:00
Takeaki Matsumoto 9551e1db21 Add advertise-address flag
In NAT or LB environment,
we need not just the certs for local ip, but also additional ips.
advertise-address flag enables to add optional ips.
2019-03-18 08:26:23 +00:00
Darren Shepherd 697c6e1580
Merge pull request #209 from aaliddell/master
Update README for correct VXLAN port
2019-03-17 13:13:25 -07:00
Darren Shepherd 5c9d8b7ee8
Merge pull request #224 from trawor/fix-typo-readme
fix typo
2019-03-17 13:05:28 -07:00
Darren Shepherd 8649243d34
Merge pull request #229 from epicfilemcnulty/Skip-empty-yaml-objects
Do not process empty yaml objects (fixes #222)
2019-03-17 13:01:40 -07:00
Darren Shepherd cfc8ab54f6
Merge pull request #232 from erikwilson/load-balancer-port-name-size-limit-fix
Short port names for service load balancer
2019-03-17 12:59:59 -07:00
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