This commit is contained in:
parent
d18ccea770
commit
738896b356
3 changed files with 5 additions and 4 deletions
|
|
@ -136,6 +136,7 @@
|
||||||
mode: 0644
|
mode: 0644
|
||||||
with_items:
|
with_items:
|
||||||
- "systemd/system/kubelet.service.d/0-kubelet-extra-args.conf"
|
- "systemd/system/kubelet.service.d/0-kubelet-extra-args.conf"
|
||||||
|
- "systemd/system/kubelet.service.d/11-cgroups.conf"
|
||||||
- "sysconfig/kubelet"
|
- "sysconfig/kubelet"
|
||||||
when:
|
when:
|
||||||
- ansible_service_mgr == "systemd"
|
- ansible_service_mgr == "systemd"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Config
|
kind: Config
|
||||||
clusters:
|
clusters:
|
||||||
- cluster:
|
- name: falco
|
||||||
server: http://<ip_of_falco>:8765/k8s_audit
|
cluster:
|
||||||
name: falco
|
server: http://$FALCO_SERVICE_CLUSTERIP:8765/k8s-audit
|
||||||
contexts:
|
contexts:
|
||||||
- context:
|
- context:
|
||||||
cluster: falco
|
cluster: falco
|
||||||
|
|
|
||||||
|
|
@ -69,8 +69,8 @@ apiServer:
|
||||||
audit-log-maxsize: "100"
|
audit-log-maxsize: "100"
|
||||||
{% if false %}
|
{% if false %}
|
||||||
# Falco
|
# Falco
|
||||||
audit-policy-file: "/etc/kubernetes/policies/k8s_audit_rules.yaml"
|
|
||||||
audit-webhook-config-file: "/etc/kubernetes/policies/audit-webhook-kubeconfig"
|
audit-webhook-config-file: "/etc/kubernetes/policies/audit-webhook-kubeconfig"
|
||||||
|
audit-webhook-batch-max-wait: "5s"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
- name: "audit-log"
|
- name: "audit-log"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue