modified: README.md

This commit is contained in:
2025-12-14 10:41:35 +00:00
parent c78e370b6f
commit 6090701f7c

View File

@@ -27,6 +27,7 @@ Kubernetes is an opensource platform that automates the deployment, scaling,
- [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables) - [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables)
- [substr](#substr) - [substr](#substr)
- [service accounts](#service-accounts) - [service accounts](#service-accounts)
- [core-dns](#core-dns)
## k3s ## k3s
@@ -362,3 +363,28 @@ envsubst < ./secret.yaml | kubectl apply -f -
```bash ```bash
kubectl get secret continuous-deploy -o jsonpath='{.data.token}' | base64 -d kubectl get secret continuous-deploy -o jsonpath='{.data.token}' | base64 -d
``` ```
## core-dns
Remove warning from logs.
```log
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.server
[WARNING] No files matching import glob pattern: /etc/coredns/custom/*.override
```
1. Apply on kubernetes
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
log.override: |
#
stub.server: |
#
```