Darren Shepherd
2f5ee914f9
Add supervisor port
...
In k3s today the kubernetes API and the /v1-k3s API are combined into
one http server. In rke2 we are running unmodified, non-embedded Kubernetes
and as such it is preferred to run k8s and the /v1-k3s API on different
ports. The /v1-k3s API port is called the SupervisorPort in the code.
To support this separation of ports a new shim was added on the client in
then pkg/agent/proxy package that will launch two load balancers instead
of just one load balancer. One load balancer for 6443 and the other
for 9345 (which is the supervisor port).
5 years ago
Erik Wilson
39c3854648
Merge pull request #1720 from ilknarf/master
...
remove redundant Sprintf
5 years ago
Erik Wilson
c71561129e
Merge pull request #1716 from ibuildthecloud/debugpublic
...
Make debug variable public to be used by wrapper programs
5 years ago
Erik Wilson
c941e1d0bb
Merge pull request #1695 from ibuildthecloud/kubeproxy
...
Add ability to disable kubeproxy
5 years ago
Erik Wilson
df1725cb06
Merge pull request #1694 from ibuildthecloud/inittwice
...
Allow InitLogging to be called twice
5 years ago
Frank
a18d94e5f9
remove redundant Sprintf
5 years ago
Darren Shepherd
56770ff2cc
Make debug variable public to be used by wrapper programs
5 years ago
Darren Shepherd
5715e1ba0d
Add ability to disable kubeproxy
5 years ago
Darren Shepherd
8cc9efdf7c
Allow InitLogging to be called twice
...
This makes it a bit easier to embed k3s into another go program
5 years ago
Darren Shepherd
8b8af94eb2
Move disabled items to a const to keep more consistency
...
This also help when embedding k3s because we can programmitically know
all the components to disable.
5 years ago
galal-hussein
3f927d8006
Revert "Replace traefik with nginx"
...
This reverts commit 9a17033095
.
5 years ago
Erik Wilson
ceff3f58fb
Merge pull request #1466 from galal-hussein/traefik_to_nginx
...
Replace traefik with nginx
5 years ago
galal-hussein
9a17033095
Replace traefik with nginx
5 years ago
Erik Wilson
a3cb9ee1f6
Simplify SELinux detection and add --disable-selinux flag
5 years ago
Erik Wilson
0374c4f63d
Add --disable flag
5 years ago
Erik Wilson
1a2690d7be
Merge pull request #1192 from galal-hussein/add_encryption_config
...
Add secret encryption config
5 years ago
Erik Wilson
7675f9f85c
Clean up host-gw variable names
5 years ago
Segator
c23f12765e
hostgw flannel support
5 years ago
galal-hussein
388cd9c4e8
Add secret encryption configuration
5 years ago
Erik Wilson
d4959d53af
Merge pull request #1182 from erikwilson/docker-pause-image
...
Allow --pause-image to set docker sandbox image also
5 years ago
Erik Wilson
2eacfa75cb
Merge pull request #1180 from erikwilson/cleanup-flannel-backend-help-text
...
Cleanup --flannel-backend help text
5 years ago
Erik Wilson
2de93d70cf
Allow --pause-image to set docker sandbox image also
5 years ago
Erik Wilson
11e4d01efe
Cleanup --flannel-backend help text
5 years ago
Jacob Blain Christen
063efb25bb
Mutable --node-label values for server/agent sub-commands.
...
Values passed in via the server/agent `--node-label` flag are treated as mutable. They are passed through to the kubelet just as before but after the kubelet comes up they are applied again. This allows for passing labels a k3s start-time that may be necessary for scheduling but may change from boot to boot, e.g. `k3os.io/version` after an upgrade.
Tested locallon on my amd64 workstation with the docker container.
Addresses #1119 .
5 years ago
galal-hussein
99b8222e8d
Change storage to datastore
5 years ago
Erik Wilson
95ff805c98
Fix broken K3S_TOKEN env
5 years ago
Erik Wilson
d4151b7739
Add the --with-node-id flag to agent
5 years ago
Erik Wilson
a73f8b1773
Update check-config.sh for k3s
5 years ago
Erik Wilson
e4b3730fa2
Go DNS lookup order hack
5 years ago
Erik Wilson
55c05ac500
Refactor node password location
5 years ago
Darren Shepherd
3e213d1347
Allow --debug to be set with K3S_DEBUG env var
5 years ago
Darren Shepherd
3f5fb70116
Move server arguments to experimental for dqlite related
5 years ago
Darren Shepherd
e2431bdf9d
Add dqlite support
5 years ago
Darren Shepherd
53d3ab074c
Shrink k3s wrapper binary
5 years ago
Erik Wilson
0fef39de65
Add default multi-arch metrics-server deployment
5 years ago
Darren Shepherd
ba240d0611
Refactor tokens, bootstrap, and cli args
5 years ago
Erik Wilson
f648a64ee3
Merge pull request #923 from AkihiroSuda/fix-rootless-kubelet-flags
...
rootless: add kubelet flags automatically
5 years ago
Akihiro Suda
aafccdbccb
rootless: add kubelet flags automatically
...
Fix https://github.com/rancher/k3s/issues/784
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
5 years ago
Erik Wilson
ad4ea681ce
Hide the --disable-agent flag
5 years ago
Erik Wilson
da3a7c6bbc
Add network policy controller
5 years ago
galal-hussein
d2c1f66496
Add k3s cloud provider
5 years ago
galal-hussein
5ccc880ddb
Add private registry to containerd
5 years ago
galal-hussein
56e0e5ad7e
Add default local storage provisioner
5 years ago
Erik Wilson
6f7a1a70fa
Label new flannel flags as experimental
5 years ago
Erik Wilson
959acf9c92
Add --flannel-backend flag
5 years ago
Erik Wilson
3cd807a657
Add --flannel-conf flag
5 years ago
Darren Shepherd
2cb6f52339
Disable storing bootstrap information by default
5 years ago
galal-hussein
1ae0c540d7
Refactor bootstrap, move kine startup code to kine, integrate kine
5 years ago
Erik Wilson
30e050a692
Cleanup logging
5 years ago
Erik Wilson
a17e336993
Use go tcpproxy
5 years ago
Darren Shepherd
dbb7b04c3d
Add option to disable scheduler
5 years ago
Erik Wilson
24b73403c7
Cleanup bootstrap
5 years ago
Erik Wilson
4b540f8d94
Cleanup command help text
6 years ago
galal-hussein
37582b6fac
Add cert storage backend flag
6 years ago
Erik Wilson
2c9444399b
Refactor certs
6 years ago
galal-hussein
17d8708ca5
Add storage backend flags
6 years ago
Erik Wilson
199f673676
Merge pull request #479 from galal-hussein/add_storage_backend_options
...
Add MySQL and Postgress support
6 years ago
galal-hussein
e9cd8adbf6
Add Storage endpoint option
6 years ago
galal-hussein
930093dfe9
Expose node labels and taints and add node roles
6 years ago
haokang.ke
52f845ec84
Make pause image configurable ( #345 )
6 years ago
Darren Shepherd
0e3711b8b7
Merge pull request #339 from km4rcus/cluster-domain-option
...
Add --cluster-domain option
6 years ago
Darren Shepherd
08c3d0d4ef
Merge pull request #250 from yoink00/master
...
Allow flannel interface to be specified on the command line
6 years ago
Stuart Wallace
2268e028a2
Add ability to override flannel interface
6 years ago
Marco Mancini
b445bad171
Add --cluster-domain option
6 years ago
galal-hussein
e5d8d72e59
Fix comment of bind address
6 years ago
Darren Shepherd
046a817818
Add rootless support
6 years ago
galal-hussein
7794528aa1
Add extra flags for server and agent components
6 years ago
galal-hussein
d255574150
Add bind address server config
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
Erik Wilson
2768f559c1
Fix go fmt error
6 years ago
Takeaki Matsumoto
3a6b305455
Change flag name and type
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
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
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
91f9472751
Add traefik to no-deploy help text
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
Darren Shepherd
01b3bb315e
Fix version printing on startup
6 years ago
Darren Shepherd
793ac4fb89
Add crictl
6 years ago
Darren Shepherd
e832588662
Add embedded service load balancer
6 years ago
Darren Shepherd
287e0f44c9
Prepare for initial release
6 years ago
Darren Shepherd
62c62cc7b4
Continued refactoring
6 years ago