Automated commit at Sat Apr 27 16:30:01 CEST 2024

This commit is contained in:
Mischa van den Burg 2024-04-27 16:30:01 +02:00
parent 117f5cdf56
commit 953d54b076
7 changed files with 87 additions and 0 deletions

18
content/AppArmor.md Normal file
View File

@ -0,0 +1,18 @@
Used to restrict processes
Must know:
apparmor_status
apparmor_parser
IMPORTANT: must give path to apparmor_parser
Also, make sure to add the label to the pod spec and not deployment spec.
## Links:
202404141818

View File

@ -0,0 +1,8 @@
[Create Azure Functions in a local Linux container | Microsoft Learn](https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-container-registry?tabs=acr%2Cbash&pivots=programming-language-python)
## Links:
202404231349

View File

@ -0,0 +1,18 @@
It's better to have a Blacksmith job. Operations doesn't pay that well, but you will never get fired.
People who want to work at FAANGS just want to get the big bucks and then they cry when they get fired. High risk, high reward. Better to be stable.
[🤷‍♂️ Which job do you want and why? (youtube.com)](https://www.youtube.com/watch?v=d2EwuxQHV6Y)
Rob recommends an operation job with a specialization in coding.
Operations jobs allow you to kick back a bit more.
[[Working in operations is like being a firefighter]]
## Links:
202404221843

View File

@ -0,0 +1,34 @@
To list constraints, first look at CRDS
k get crd
The constraints show the statuses:
k get constraints
But to do adjust the actual constraints, you need to edit the constrainttemplate.
k edit constrainttemplate
# Apparmor
Very important!
In k8s docks 1.30 it is configured differently!!!
NOT through annotations anymore, but through securityContext:
# Hacking secrets
I knew I had to curl as service account but there's no way you can do this udring hte exam
```bash
curl https://kubernetes.default/api/v1/namespaces/restricted/secrets -H "Authorization: Bearer $(cat /run/secrets/kubernetes.io/serviceaccount/token)" -k
```
Links:
202404201346

View File

@ -33,6 +33,7 @@
- [[CKS Scenarios to repeat]]
- [[CKS Killer.sh notes]]
[[Post exam notes]]

6
content/Career.md Normal file
View File

@ -0,0 +1,6 @@
[[areas]]
#index
#moc
- [[Blacksmith Jobs]]

View File

@ -35,6 +35,8 @@ If you wish to get in touch with me, take a look at https://mischavandenburg.com
* [[Infrastructure as Code]]
* [[Software Development]]
* [[Linux]]
* [[Azure]]
* [[Career]]
- Workflow
- [[i3]]