forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix kube-proxy post deployment removal (kubernetes-sigs#5554)
* Fix kube-proxy removal * Fix unwanted skipped task for kube-proxy * Fix kube_proxy_remove default Signed-off-by: Arthur Outhenin-Chalandre <[email protected]> * Add test for kube-router svc proxy Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
- Loading branch information
1 parent
406b95d
commit 42172f5
Showing
6 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
|
||
kubernetes_user_manifests_path: "{{ ansible_env.HOME }}/kube-manifests" | ||
# Optionally remove kube_proxy installed by kubeadm | ||
kube_proxy_remove: false | ||
# nodeselector for kube-proxy ds is beta until 1.18 | ||
kube_proxy_nodeselector: "{{ 'kubernetes.io/os' if kube_version is version('v1.18.0', '>=') else 'beta.kubernetes.io/os' }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# Instance settings | ||
cloud_image: ubuntu-1604 | ||
mode: separate | ||
|
||
# Kubespray settings | ||
bootstrap_os: ubuntu | ||
kube_network_plugin: kube-router | ||
deploy_netchecker: true | ||
dns_min_replicas: 1 | ||
|
||
kube_router_run_service_proxy: true |