modified: README.md
This commit is contained in:
26
README.md
26
README.md
@@ -27,6 +27,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
||||
- [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables)
|
||||
- [substr](#substr)
|
||||
- [service accounts](#service-accounts)
|
||||
- [core-dns](#core-dns)
|
||||
|
||||
## k3s
|
||||
|
||||
@@ -362,3 +363,28 @@ envsubst < ./secret.yaml | kubectl apply -f -
|
||||
```bash
|
||||
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: |
|
||||
#
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user