feat: add prometheus manifest
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
- name: Download and execute K3s installation script with monitoring metrics enabled
|
||||
shell: |
|
||||
curl -sfL https://get.k3s.io | sh -
|
||||
environment:
|
||||
INSTALL_K3S_EXEC: "--server --write-kubeconfig-mode 644 --kube-controller-manager-arg bind-address=0.0.0.0 --kube-proxy-arg metrics-bind-address=0.0.0.0 --kube-scheduler-arg bind-address=0.0.0.0"
|
||||
args:
|
||||
creates: /usr/local/bin/k3s
|
||||
|
||||
- name: Ensure K3s service is started and enabled
|
||||
systemd:
|
||||
name: k3s
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
Reference in New Issue
Block a user