1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 11:21:08 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
51a6b50a84
Revert "Do not rewrite SELinux labels on volume mounts" 2021-07-29 08:59:54 +02:00
Sebastiaan van Steenis
67c17cd9a2 Update SecurityOptions format for Docker API 2021-06-11 17:37:16 +02:00
Sebastiaan van Steenis
ca8cc62303
Merge pull request #2541 from superseb/no_selinux_relabel
Do not rewrite SELinux labels on volume mounts
2021-05-31 15:06:19 +02:00
Kinara Shah
4c8b149835 use docker client with api negotiation 2021-05-27 11:20:11 -07:00
Sebastiaan van Steenis
9757be753f Do not rewrite SELinux labels on volume mounts 2021-05-18 22:22:40 +02:00
Vincent Batts
4849c2fc2b hosts: mapping Flatcar from the docker host info 2020-09-18 10:15:01 -07:00
Luther Monson
7d6181a290 add win_ params for prefix path, env, args and binds
Problem: When building a hybrid cluster with windows nodes there is only
a single set of overrides you can use per service. This limits
configuring the node as service args and prefix_path sometimes need to
be specific for the different OS.
Solution: Add support for `win_` prefixed parameters for cluster level
`path_prefix` and service level `extra_args`, `extra_env` and
`extra_binds`. Params will work as before, passing in the non `win_`
prefixed params, IF you set the `win_` prefixed params it willy only use
those meaning you will need to duplicate the params in both config
sections of your rke cluster yaml.
2020-08-20 13:39:57 -07:00
Darren Shepherd
c405e6ea1b Remove references to rancher/types 2020-07-11 23:29:33 -07:00
Sebastiaan van Steenis
80d7dcc6e9 Revert kubelet fix as Docker 19.03.9 has fix 2020-06-09 19:20:30 +02:00
Sebastiaan van Steenis
0c063587ec Dont relabel volumes on upstream Docker & SELinux 2020-05-19 21:50:24 +02:00
Sebastiaan van Steenis
b4cf3a01f5 Refactor unused certificate logging 2020-03-08 18:42:15 +01:00
Sebastiaan van Steenis
27be846bd0 Add host to logging for Docker 2020-03-07 07:51:24 -08:00
Sebastiaan van Steenis
adc5941fd9 Add per node kubelet server certificate 2019-10-31 15:56:44 -07:00
fpicot
e9327b51f5 fix ssh agent auth with bastion host 2019-10-23 16:11:24 -07:00
galal-hussein
71646420ab Mount non-default docker data dir 2019-10-08 12:27:44 -07:00
Szpadel
01c2237ba3 Remove redundant if branch and make sure that docker info populated 2019-09-04 10:55:46 -07:00
Szpadel
2291a1b734 Do not parse docker version when validation is disabled
When IgnoreDockerVersion is set, do not try to parse its version number
Still retrieve docker info to check check fi docker is reachable

closes #1502
2019-09-04 10:55:46 -07:00
Sebastiaan van Steenis
ff663b5a59 Dont set withHost on Docker client
Problem: Because of the unix socket reference, Windows breaks on rke up
Root cause: Vendor of docker/docker
Resolution: I was checking what was changed in vendor but it seems this setting is not used, as we configure Docker socket per host.
2019-09-03 09:54:54 -07:00
Frank Mai
277797df0f Support to generate Windows worker plan
- Put Windows worker plan generating back to reduce the changing from
Windows on rancher/rancher
- Prepare for rke bootstraps Windows cluster

**Issue:**
https://github.com/rancher/rancher/issues/16460
2019-08-21 20:50:31 -07:00
galal-hussein
9c5de9f577 Handle etcd changing its public IP address 2019-08-21 11:47:42 -07:00
Darren Shepherd
f8bac2c059 Update to new certs package since latest k8s dropped it 2019-08-19 11:02:43 -07:00
Denise
0c405cdc88 Revert "Handle changing public ip for etcd member delete"
This reverts commit b5d7f5dcd4.
2019-08-12 11:51:20 -07:00
galal-hussein
b5d7f5dcd4 Handle changing public ip for etcd member delete 2019-08-09 11:07:30 -07:00
Sebastiaan van Steenis
3f94e86706 Revert "Add per node kubelet server certificate"
This reverts commit b860e634db.
2019-08-08 09:49:47 -07:00
Sebastiaan van Steenis
b860e634db Add per node kubelet server certificate 2019-07-31 14:54:43 -07:00
kinarashah
b4a7b7aa70 use docker versions from k8s metadata 2019-07-16 15:28:57 -07:00
Sebastiaan van Steenis
5660fd44d3 Added onetime container and active running checks 2019-04-24 16:56:17 -07:00
moelsayed
e3d6fb4db9 Restore backup to a new etcd plane 2019-03-06 09:22:52 -08:00
Bernard Wagner
d8758c551f Add support for SSH certificate authentication 2019-01-28 10:40:43 -08:00
galal-hussein
696b61679c Final fixes and cleanup for state management
Fix dind and local and etcd snapshots

add ExternalFlags and dialer options
2018-11-09 11:16:17 -08:00
moelsayed
496d1a46a5 Allow replacing a single contorl node 2018-10-04 13:14:28 -07:00
Sebastiaan van Steenis
12559a21c7 Use clusterversion to check supported Docker versions 2018-10-04 11:31:35 -07:00
galal-hussein
8f47078988 Skip check for private key if using ssh agent 2018-08-30 02:46:18 +10:00
Sebastiaan van Steenis
bc75f0bdcf Add better error when node is unreachable 2018-07-27 13:09:51 -07:00
Sebastiaan van Steenis
25018afe35 Add distinction between failed to dial errors 2018-07-25 10:23:24 -07:00
Sebastiaan van Steenis
1ff65d1fa3 Better guidance on SSH errors 2018-07-11 12:54:47 -07:00
galal-hussein
247f4c9450 Add dind mode to rke 2018-07-10 15:51:17 -07:00
moelsayed
48faa8bf35 Remove container dead log links on cluster remove 2018-06-29 11:32:08 -07:00
Sebastiaan van Steenis
c4f12c8b0d Better error when ssh_key_path can't be opened 2018-06-29 11:27:56 -07:00
moelsayed
fdba4f86e5 Fix reconcile for ros prefix 2018-06-25 17:22:32 -07:00
Gert Palok
70fca52c33 Fall back to HOMEDRIVE+HOMEPATH or USERPROFILE 2018-05-29 15:27:11 -07:00
galal-hussein
db3bda1191 fix rhel and centos regression 2018-05-15 14:08:29 -07:00
galal-hussein
2c64afeb3e Add prefix path for CoreOS 2018-05-10 18:24:57 -07:00
galal-hussein
aff01a9267 Bastion host 2018-05-10 00:16:04 +02:00
galal-hussein
a3416e6b92 Etcd Backup/restore 2018-05-09 19:39:19 +02:00
galal-hussein
825bbbdf71 Add prefix path to services and generate plan 2018-04-12 00:54:47 +02:00
galal-hussein
8350aa203c Accept different patches of supported docker versions 2018-04-05 00:15:03 +02:00
galal-hussein
7c0f3f6e57 Add get node for delete and cordon 2018-04-03 00:34:15 +02:00
David Lewis
c2ad3d5c4d Add host to wait for container check 2018-03-30 10:28:03 -07:00
Alena Prokharchyk
024765a818
Merge pull request #449 from galal-hussein/azure_provider
Add azure cloud provider
2018-03-28 13:46:05 -07:00