From 88c70a96ab5c86482876d5c6841c0b7047613f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 12 Jul 2026 15:08:32 +0000 Subject: [PATCH] modified: README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 802fb75..75b5ef2 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling, - [Manifest - StringData](#manifest---stringdata) - [Inline with heredoc and environment variables](#inline-with-heredoc-and-environment-variables) - [substr](#substr) +- [annotations](#annotations) - [nodes](#nodes) - [taints](#taints) - [add taint](#add-taint) @@ -43,6 +44,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling, - [Deployment - rollout restart](#deployment---rollout-restart) - [Daemonset](#daemonset) - [Daemonset - rollout restart](#daemonset---rollout-restart) +- [services](#services) - [certs](#certs) - [list all certs](#list-all-certs) - [get cert end date](#get-cert-end-date) @@ -537,6 +539,14 @@ envsubst < ./secret.yaml | kubectl apply -f - ``` +## annotations + +``` bash +kubectl annotate secret test-your-domain-tls \ + -n test-namespace \ + replicator.v1.mittwald.de/replicate-to="namespace-1,namespace-2" --overwrite +``` + ## nodes **Get nodes info:** @@ -677,6 +687,19 @@ NAMESPACE="???" kubectl rollout restart daemonset $NAME -n $NAMESPACE ``` +## services + +**nuke finalizers:** + +``` bash +SERVICE="traefik" +NAMESPACE="traefik-public" +kubectl patch service ${SERVICE} \ + -n ${NAMESPACE} \ + --type=merge \ + -p '{"metadata":{"finalizers":[]}}' +``` + ## certs ### list all certs