deleted: LICENSE
modified: README.md
This commit is contained in:
25
README.md
25
README.md
@@ -17,6 +17,7 @@ Kubernetes is an open‑source platform that automates the deployment, scaling,
|
||||
- [taint nodes](#taint-nodes)
|
||||
- [control plane - NoSchedule](#control-plane---noschedule)
|
||||
- [Resources](#resources)
|
||||
- [Services Accounts](#services-accounts)
|
||||
|
||||
## k3s
|
||||
|
||||
@@ -177,3 +178,27 @@ kubectl taint nodes ${MASTER_NODE_NAME} node-role.kubernetes.io/control-plane=:N
|
||||
```bash
|
||||
kubectl get all -n kube-system | grep traefik
|
||||
```
|
||||
|
||||
**List service accounts:**
|
||||
|
||||
```bash
|
||||
kubectl get serviceAccount --all-namespaces
|
||||
```
|
||||
|
||||
### Services Accounts
|
||||
|
||||
**List all:**
|
||||
|
||||
```bash
|
||||
kubectl get serviceAccount --all-namespaces
|
||||
```
|
||||
|
||||
**Get Service Account Token:**
|
||||
|
||||
```bash
|
||||
kubectl get secret <secret_name> -o jsonpath='{.data.token}' | base64 -d
|
||||
```
|
||||
|
||||
```bash
|
||||
kubectl get secret <secret_name> -o jsonpath='{.data.token}' | base64 -d > ./service-account-secret-base64
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user