mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
Automated commit at Sat Apr 27 16:30:01 CEST 2024
This commit is contained in:
parent
117f5cdf56
commit
953d54b076
18
content/AppArmor.md
Normal file
18
content/AppArmor.md
Normal 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
|
||||
8
content/Azure Functions in Containers.md
Normal file
8
content/Azure Functions in Containers.md
Normal 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
|
||||
18
content/Blacksmith Jobs.md
Normal file
18
content/Blacksmith Jobs.md
Normal 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
|
||||
34
content/CKS Killer.sh notes.md
Normal file
34
content/CKS Killer.sh notes.md
Normal 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
|
||||
@ -33,6 +33,7 @@
|
||||
|
||||
|
||||
- [[CKS Scenarios to repeat]]
|
||||
- [[CKS Killer.sh notes]]
|
||||
|
||||
[[Post exam notes]]
|
||||
|
||||
|
||||
6
content/Career.md
Normal file
6
content/Career.md
Normal file
@ -0,0 +1,6 @@
|
||||
[[areas]]
|
||||
#index
|
||||
#moc
|
||||
|
||||
- [[Blacksmith Jobs]]
|
||||
|
||||
@ -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]]
|
||||
Loading…
Reference in New Issue
Block a user