feature:TSG-12552:新增k3s相关证书轮转方法
This commit is contained in:
@@ -184,6 +184,7 @@ spec:
|
||||
args:
|
||||
- "--multus-conf-file=auto"
|
||||
- "--cni-version=0.3.1"
|
||||
- "--multus-kubeconfig-file-host=/etc/rancher/k3s/k3s.yaml"
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
RuntimeMaxSec=300d
|
||||
@@ -65,3 +65,8 @@
|
||||
copy:
|
||||
src: "{{ role_path }}/files/crontab_clean_orphaned_pods_dir"
|
||||
dest: /var/spool/cron/root
|
||||
|
||||
- name: "copy override service file to dest"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/service_set_RuntimeMaxSec.conf"
|
||||
dest: /usr/lib/systemd/system/k3s.service.d/
|
||||
|
||||
Reference in New Issue
Block a user