Darren Shepherd
9e80177443
Merge pull request #289 from galal-hussein/add_bind_address
...
Add bind address server config
6 years ago
galal-hussein
e8c5b2498c
Change address to bind-address for scheduler and api
6 years ago
galal-hussein
d255574150
Add bind address server config
6 years ago
Erik Wilson
bb14bcb595
Update generated data
6 years ago
Erik Wilson
a4df9f4ab1
Kubelet resolv.conf DNS update
...
Allow the kubelet resolv-conf flag to be set, or automatically
discovered from /etc/resolv.conf & /run/systemd/resolve/resolv.conf if
no loopback devices are present, or create our own which points to
nameserver 8.8.8.8
6 years ago
Erik Wilson
1d61576e54
Fix linting issues
6 years ago
Darren Shepherd
4463408819
Merge pull request #239 from takmatsu/add-hosts
...
Add tls-san flag
6 years ago
Darren Shepherd
9a57e6fd0f
Merge pull request #257 from mortenlj/master
...
Skip writing manifest when using `--no-deploy`
6 years ago
Erik Wilson
2768f559c1
Fix go fmt error
6 years ago
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 .
6 years ago
Takeaki Matsumoto
3a6b305455
Change flag name and type
6 years ago
Erik Wilson
9645048a57
Update klipper-helm version
6 years ago
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.
6 years ago
Erik Wilson
e75e5171af
Generated bin data
6 years ago
Erik Wilson
ffcc9c0c9c
Package static assets
...
Include static Helm assets in the build process needed for air-gap
6 years ago
Erik Wilson
608f3a4e80
Serve static assets
...
Provide a static assets route for use with helm or other air-gap needs.
6 years ago
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.
6 years ago
Darren Shepherd
8649243d34
Merge pull request #229 from epicfilemcnulty/Skip-empty-yaml-objects
...
Do not process empty yaml objects (fixes #222 )
6 years ago
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
6 years ago
Vladimir Zorin
d1348b9898
Trim whitespaces before checking if line is empty or comment
6 years ago
Vladimir Zorin
567532d74d
Do not process empty yaml objects ( fixes #222 )
6 years ago
Darren Shepherd
2771ae1ba9
Merge pull request #184 from ibuildthecloud/default-ns
...
Assign default namespace if not set in manifests
6 years ago
Darren Shepherd
937b379605
Merge pull request #183 from ibuildthecloud/helm
...
Various helm fixes
6 years ago
Darren Shepherd
9a862610ac
Merge pull request #177 from erikwilson/systemd-notify
...
Enable systemd ready notification for k3s server
6 years ago
Darren Shepherd
a649983228
Any change to helm chart values or values.yaml should upgrade
6 years ago
Darren Shepherd
769c1d5415
Fix manifest polling
6 years ago
Darren Shepherd
bef4115657
Assign default namespace if not set in manifests
6 years ago
Darren Shepherd
6e28ede2f8
Fix containerd debug log env var
6 years ago
Darren Shepherd
fe9a5b1601
Remove spurious error on start
6 years ago
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.
6 years ago
Darren Shepherd
2f3da6af94
Merge pull request #175 from ldez/refactor/load-images
...
refactor: creates preloadImages function.
6 years ago
Fernandez Ludovic
e59bd5d489
refactor: creates loadImages function.
6 years ago
Vladimir Zorin
392cfb1231
Add basic templating support for manifests
6 years ago
Vladimir Zorin
44cce9a76f
Set ClusterDNS to ServiceCIDR network address + 10 when cluster-dns is not provided
6 years ago
Vladimir Zorin
7ad03ad8b0
Add cluster-dns server arg support
6 years ago
Vladimir Zorin
b8c3ff1dab
Add --service-cidr server arg support
6 years ago
Adam Liddell
b430513abf
Enforce lower case hostname for node, references #160
6 years ago
Darren Shepherd
4475456a83
Update pkg/agent/config/config.go
...
Co-Authored-By: juliens <julien.salleyron@gmail.com>
6 years ago
Julien Salleyron
164b89bce4
fix review.
6 years ago
Julien Salleyron
1895eec684
Preload images
6 years ago
Darren Shepherd
0414f97c78
Revert "Enable systemd ready notification for k3s server"
...
This reverts commit c73e9187bb
.
6 years ago
Darren Shepherd
49d0f20e5b
Merge pull request #110 from ibuildthecloud/tokenfile
...
Add --token-file support
6 years ago
Darren Shepherd
ef4e34b289
Remove dead code
6 years ago
Darren Shepherd
8acc17fcf3
Merge branch 'master' into tokenfile
6 years ago
Darren Shepherd
70e6ca4ab8
Support external CRI implementations
6 years ago
Darren Shepherd
3d113ceb2d
Add agent command to server command
6 years ago
Darren Shepherd
964cebb070
Don't return object because double update might revert IP change
6 years ago
Thorsten Schifferdecker
2c398c5d5f
Update server.go
...
fallback to the old --address part and enable the non-tls port to make healthz happy
6 years ago
Thorsten Schifferdecker
35cfc717d3
fix missing ","
6 years ago
Thorsten Schifferdecker
ee2fffb0ca
make the controller-manager and scheduler usable for the
...
componentstatus.
Fixes #126
Signed-off-by: Thorsten Schifferdecker <schifferdecker@b1-systems.de>
6 years ago
Darren Shepherd
91f9472751
Add traefik to no-deploy help text
6 years ago
Darren Shepherd
fdb51c9f53
Cleanup docker cgroup errors in kubelet
6 years ago
Darren Shepherd
e5b7d36c55
Actually pass cluster-cidr on to server
6 years ago
Darren Shepherd
e28e497168
Add --token-file support
6 years ago
Erik Wilson
c73e9187bb
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.
6 years ago
Sean Duffy
10f1553564
fix 'fannel' typo.
6 years ago
Darren Shepherd
cb5e425457
Set /proc/sys/net/ipv4/ip_forward on agent start
6 years ago
Darren Shepherd
828ce5a24a
Disable watch caching, not needed for sqlite
6 years ago
Darren Shepherd
b07727ae24
Move default config location to /etc/rancher/k3s/k3s.yaml
6 years ago
Darren Shepherd
8690a277ed
Fix ingress
6 years ago
Darren Shepherd
01b3bb315e
Fix version printing on startup
6 years ago
Darren Shepherd
56fae079e5
Update generated code
6 years ago
Darren Shepherd
b6f9045eca
Retry 1000 times on helm failure
6 years ago
Darren Shepherd
91002f1fee
Fix looping on startup while installing addons
6 years ago
Darren Shepherd
5e1ce4aa42
Cache self-signed loopback cert on startup
6 years ago
Darren Shepherd
af96c908da
Disable proxy hostname checks
6 years ago
Darren Shepherd
04c5567346
Validate that memory cgroup exists
6 years ago
Darren Shepherd
8bdd86198c
Fix dest port so it's the same as src port
6 years ago
Darren Shepherd
529aa431d1
Adjust debug logging and write containerd logs to a file
6 years ago
Darren Shepherd
3df9155d02
Monitor endpoint changes to trigger service-lb
6 years ago
Darren Shepherd
793ac4fb89
Add crictl
6 years ago
Darren Shepherd
84756df8a2
Only run two service-lb if there are more than 1 nodes ready
6 years ago
Darren Shepherd
bd269f8d3e
Update generated code
6 years ago
Darren Shepherd
1d666d9515
Add helm controller
6 years ago
Darren Shepherd
e832588662
Add embedded service load balancer
6 years ago
Darren Shepherd
400225e73d
Prepopulate known IPs in TLS
6 years ago
Darren Shepherd
529e22ef80
Disable leader election for now
6 years ago
Darren Shepherd
1826084b24
Add ping handler
6 years ago
Darren Shepherd
1502ad2530
Package serialized version of openapi
6 years ago
Darren Shepherd
93841ffbcb
Support kubectl symlink and avoid data in home dir
6 years ago
Darren Shepherd
3f2a951564
Ensure that br_netfilter module is loaded
6 years ago
Darren Shepherd
84b6c461b9
Fix go vet issue
6 years ago
Darren Shepherd
6fa7f5b3ae
Clean up build scripts
...
Switch binaries to armhf suffix to be more clean on the on
architecture
6 years ago
Darren Shepherd
287e0f44c9
Prepare for initial release
6 years ago
Darren Shepherd
62c62cc7b4
Continued refactoring
6 years ago
Darren Shepherd
9bb7c27c62
Initial Commit
6 years ago