Commit Graph

3166 Commits (07924618856e73bf2a115302ca7c6a1815571d3b)

Author SHA1 Message Date
Erik Wilson 4456ad84db Move build download to ci 2019-03-24 12:14:01 -07:00
Erik Wilson 5d21064d89 Fix build validation 2019-03-24 12:00:04 -07:00
Morten Lied Johansen 9033891f88 Skip writing manifest when using `--no-deploy`
Instead of skipping the manifest when listing the directory, we now skip
creating it in the first place. This allows users to deploy manifests
that replaces the ones bundled, without having to come up with a new
name.

Fixes #230.
2019-03-23 22:22:58 +01:00
Takeaki Matsumoto 3a6b305455 Change flag name and type 2019-03-23 17:34:55 +00:00
Darren Shepherd 08afcfdc45
Merge pull request #221 from w169q169/patch-1
Adjust the startup order of docker-compose
2019-03-22 14:04:02 -07:00
Darren Shepherd cf666a79ca
Merge pull request #244 from carlonelong/master
Fix go get golang.org/x/* packages timed out issue.
2019-03-22 14:00:10 -07:00
Brandon Wulf 397ae335fd Set the selinux context during the install (#228)
* Set the selinux context
2019-03-22 13:51:59 -07:00
Darren Shepherd 9dd60779a4
Merge pull request #253 from erikwilson/image-airgap-build
Generate air-gap image artifacts
2019-03-22 13:51:25 -07:00
Erik Wilson 40172dc508 Package airgap image files
Generate airgap artifacts from an images list for each architecture.
2019-03-22 06:05:26 +00:00
Erik Wilson 9645048a57 Update klipper-helm version 2019-03-22 06:05:26 +00:00
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