GitBook: [master] 4 pages and 3 assets modified

This commit is contained in:
CPol 2021-04-25 11:54:36 +00:00 committed by gitbook-bot
parent 03e24bf90f
commit 64ca37fc18
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
6 changed files with 13 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

View File

@ -170,8 +170,7 @@
* [Print Job Retention](pentesting/pentesting-printers/print-job-retention.md)
* [Scanner and Fax](pentesting/pentesting-printers/scanner-and-fax.md)
* [Pentesting SAP](pentesting/pentesting-sap.md)
* [Pentesting Kubernetes](pentesting/pentesting-kubernetes/README.md)
* [Kubernetes Intro](pentesting/pentesting-kubernetes/kubernetes-intro.md)
* [Pentesting Kubernetes](pentesting/pentesting-kubernetes.md)
* [7/tcp/udp - Pentesting Echo](pentesting/7-tcp-udp-pentesting-echo.md)
* [21 - Pentesting FTP](pentesting/pentesting-ftp/README.md)
* [FTP Bounce attack - Scan](pentesting/pentesting-ftp/ftp-bounce-attack.md)

View File

@ -10,7 +10,7 @@ Security tips for Kubernetes
* Part 2 - Vulnerabilities
* Part 3 - Hardening
## PART 1 - ARCHITECTURE
## PART 1 - ARCHITECTURE & BASICS
### What does Kubernetes do?
@ -132,6 +132,17 @@ kubectl delete deployment mongo-depl
kubectl apply -f deployment.yml
```
### YAML configuration files
Each configuration file has 3 parts: **metadata**, **specification** \(what need to be launch\), **status** \(desired state\).
Inside the specification of the deployment configuration file you can find the template defined with a new configuration structure defining the image to run:
![](../.gitbook/assets/image%20%28458%29.png)
Note how in the metadata element key-value pairs are created. In the following case: "app": "nginx". Then, this key-value pair can be used on other parts of the configuration file:
![](../.gitbook/assets/image%20%28456%29.png)
## PART 2 - VULNERABILITIES and some fixes.
### Vulnerabilities - kubernetes secrets

View File

@ -1,2 +0,0 @@
# Kubernetes Intro