tall-raincoat-70627
05/08/2023, 5:42 AMaudit-log-max{age,backup,size}
values in the rke2/config.yaml file, however if i set the audit-log-path
argument then the kube-apiserver fails to start, in fact containerd doesnt seem to know about it at all. Im running v1.25.9+rke2r1
which i believe has a recent fix for this in place. When i jump into the container prior to setting the audit-log-path I can see the extra-mount as available, and can create files in that directory. Any hints into debugging this further would be greatly appreciated. The rke2-server logs indicate that it was passed through correctly.creamy-pencil-82913
05/08/2023, 5:52 AMtall-raincoat-70627
05/08/2023, 5:53 AMkube-apiserver
--advertise-port=6443
--allow-privileged=true
--anonymous-auth=false
--api-audiences=<https://kubernetes.default.svc.cluster.local>,rke2
--audit-log-maxage=30
--audit-log-maxbackup=3
--audit-log-maxsize=200
--audit-log-path=/data/kubernetes/audit/audit.log
creamy-pencil-82913
05/08/2023, 7:01 AMkube-apiserver-arg:
- advertise-port=6443
- allow-privileged=true
- anonymous-auth=false
- api-audiences=<https://kubernetes.default.svc.cluster.local|https://kubernetes.default.svc.cluster.local>,rke2
- audit-log-maxage=30
- audit-log-maxbackup=3
- audit-log-maxsize=200
- audit-log-path=/data/kubernetes/audit/audit.log
tall-raincoat-70627
05/08/2023, 7:36 AMcreamy-pencil-82913
05/08/2023, 4:56 PM