diff --git a/content/AppArmor.md b/content/AppArmor.md new file mode 100644 index 000000000..528c6e1d0 --- /dev/null +++ b/content/AppArmor.md @@ -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 \ No newline at end of file diff --git a/content/Azure Functions in Containers.md b/content/Azure Functions in Containers.md new file mode 100644 index 000000000..ef180f05c --- /dev/null +++ b/content/Azure Functions in Containers.md @@ -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 \ No newline at end of file diff --git a/content/Blacksmith Jobs.md b/content/Blacksmith Jobs.md new file mode 100644 index 000000000..7f91c0960 --- /dev/null +++ b/content/Blacksmith Jobs.md @@ -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 \ No newline at end of file diff --git a/content/CKS Killer.sh notes.md b/content/CKS Killer.sh notes.md new file mode 100644 index 000000000..b506a9ac7 --- /dev/null +++ b/content/CKS Killer.sh notes.md @@ -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 diff --git a/content/CKS.md b/content/CKS.md index 2a83f350b..110e96603 100644 --- a/content/CKS.md +++ b/content/CKS.md @@ -33,6 +33,7 @@ - [[CKS Scenarios to repeat]] +- [[CKS Killer.sh notes]] [[Post exam notes]] diff --git a/content/Career.md b/content/Career.md new file mode 100644 index 000000000..a9f4ee1fc --- /dev/null +++ b/content/Career.md @@ -0,0 +1,6 @@ +[[areas]] +#index +#moc + +- [[Blacksmith Jobs]] + diff --git a/content/index.md b/content/index.md index 0860c0481..efed6c547 100644 --- a/content/index.md +++ b/content/index.md @@ -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]] \ No newline at end of file