modified: README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user