mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Ansible: fast update of binaries
If you are using locally build binaries as a developer you likely will want to just push those binaries to an existing cluster, not rerun the entire playbook. Add a tag to do just that.
This commit is contained in:
parent
0653156e1e
commit
9aed89f816
@ -9,6 +9,7 @@
|
||||
- kube-scheduler
|
||||
- kube-controller-manager
|
||||
- kubectl
|
||||
notify: restart daemons
|
||||
|
||||
- name: Copy master service files
|
||||
copy:
|
||||
|
@ -1,9 +1,13 @@
|
||||
---
|
||||
- include: packageManagerInstall.yml
|
||||
when: source_type == "packageManager"
|
||||
tags:
|
||||
- binary-update
|
||||
|
||||
- include: localBuildInstall.yml
|
||||
when: source_type == "localBuild"
|
||||
tags:
|
||||
- binary-update
|
||||
|
||||
- name: write the config file for the api server
|
||||
template: src=apiserver.j2 dest={{ kube_config_dir }}/apiserver
|
||||
|
@ -8,6 +8,8 @@
|
||||
- kubelet
|
||||
- kube-proxy
|
||||
- kubectl
|
||||
notify:
|
||||
- restart daemons
|
||||
|
||||
- name: Copy node service files
|
||||
copy:
|
||||
|
@ -10,9 +10,13 @@
|
||||
|
||||
- include: packageManagerInstall.yml
|
||||
when: source_type == "packageManager"
|
||||
tags:
|
||||
- binary-update
|
||||
|
||||
- include: localBuildInstall.yml
|
||||
when: source_type == "localBuild"
|
||||
tags:
|
||||
- binary-update
|
||||
|
||||
- name: Make sure manifest directory exists
|
||||
file: path={{ kube_manifest_dir }} state=directory
|
||||
|
Loading…
Reference in New Issue
Block a user