4 files changed
+19
-2
No files matched your search
@@ -16,6 +16,7 @@ tasks:
|
||||
- sops --decrypt {{.KUBERNETES_DIR}}/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
|
||||
- kubectl apply -f {{.KUBERNETES_DIR}}/flux/vars/cluster-settings.yaml
|
||||
- kubectl apply --kustomize {{.KUBERNETES_DIR}}/flux/config
|
||||
- sleep 5
|
||||
- task: reconcile
|
||||
preconditions:
|
||||
- sh: test -f {{.SOPS_AGE_KEY_FILE}}
|
||||
|
||||
@@ -216,7 +216,7 @@ In order to use Terraform and `cert-manager` with the Cloudflare DNS challenge y
|
||||
6. Reboot the nodes
|
||||
|
||||
```sh
|
||||
task ansible:reboot
|
||||
task ansible:force-reboot
|
||||
```
|
||||
|
||||
### ⛵ Installing k3s with Ansible
|
||||
|
||||
@@ -491,7 +491,7 @@ success() {
|
||||
_log() {
|
||||
local type="${1}"
|
||||
local msg="${2}"
|
||||
printf 'timestamp="%s" type="%s" message="%s"\n' "$(date --rfc-3339=seconds)" "${type}" "${msg}"
|
||||
printf 'timestamp="%s" type="%s" message="%s"\n' "$(date)" "${type}" "${msg}"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
@@ -34,3 +34,19 @@ spec:
|
||||
group: networking.k8s.io
|
||||
version: v1
|
||||
kind: NetworkPolicy
|
||||
- patch: |
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --concurrent=8
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --kube-api-qps=500
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --kube-api-burst=1000
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --requeue-dependency=5s
|
||||
target:
|
||||
kind: Deployment
|
||||
name: "(kustomize-controller|helm-controller|source-controller)"
|
||||
Reference in new issue
Block a user