Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
abregman committed Oct 9, 2021
1 parent 76d2541 commit 5d85d21
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 19 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ Note: "Provisioning" tools can be used to perform configuration management to so
- [ ] Salesforce
- [ ] Zuora

- [ ] Kubernetes
- [ ] [confTest](https://www.conftest.dev)
- [ ] [datree](https://www.datree.io)
- [ ] [gatekeeper](https://github.com/open-policy-agent/gatekeeper)

## More Infra & DevOps projects

<p align="center"><a href="https://github.com/bregman-arie/howtheydevops"><img src="images/how_they_devops.png"/></a></p>
Expand Down
44 changes: 26 additions & 18 deletions resources/kubernetes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kubernetes
## Kubernetes

## Getting started with Kubernetes
### Getting started with Kubernetes

Name | Comments
:------ |:--------:
Expand All @@ -13,45 +13,45 @@ Name | Comments
[Kubernetes Deployment Tutorial](https://devopscube.com/kubernetes-deployment-tutorial) |
[Katacoda](https://www.katacoda.com/courses/kubernetes) | Learn Kubernetes using Interactive Browser-Based Scenarios

### Kubernetes - Tooling

## Kubernetes Deep Dive
Name | Comments
:------ |:--------:
[confTest](https://www.conftest.dev) | Used in the development phase
[datree](https://www.datree.io) | Used in the development phase
[gatekeeper](https://github.com/open-policy-agent/gatekeeper) | Used in the production

### Kubernetes - Deep Dive

Name | Comments
:------ |:--------:
[Kubernetes Networking](https://github.com/nleiva/kubernetes-networking-links) | Kubernetes Networking Resources
[Liveness and Readiness Probes](https://www.openshift.com/blog/liveness-and-readiness-probes) |
[Kubernetes Troubleshooting Visual Guide](https://learnk8s.io/troubleshooting-deployments?fbclid=IwAR2k6ziNfhBe--CKoYP6qh5_lHYM7_kruDjc1EcyrpgyV_tKJzQlwiuA_Jk) |

## Kubernetes Deep Dive
### Kubernetes - Security

Name | Comments
:------ |:--------:
[Kubernetes Troubleshooting Visual Guide](https://learnk8s.io/troubleshooting-deployments?fbclid=IwAR2k6ziNfhBe--CKoYP6qh5_lHYM7_kruDjc1EcyrpgyV_tKJzQlwiuA_Jk) |
[Kubescape](https://github.com/armosec/kubescape) | "Kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by NSA and CISA"

## Misc
### Kubernetes - Misc

Name | Comments
:------ |:--------:
[Kubernetes CheatSheet](https://cheatsheet.dennyzhang.com/cheatsheet-kubernetes-A4) |
[OperatiorHub.io](https://www.operatorhub.io) | Kubernetes native applications
[YAML templates](https://cheatsheet.dennyzhang.com/kubernetes-yaml-templates) |
[Kubesort](https://github.com/AATHITH/kubesort) | "kubesort helps you sort the results from kubectl get in an easy way"
[IngressMonitorController](https://github.com/stakater/IngressMonitorController) | "A Kubernetes controller to watch ingresses and create liveness alerts for your apps/microservices"

## Videos

Name | Comments
:------ |:--------:
[The Illustrated Children's Guide to Kubernetes](https://www.youtube.com/watch?v=4ht22ReBjno) |
[Learn Kubernetes](https://www.youtube.com/playlist?list=PL34sAs7_26wNBRWM6BDhnonoA5FMERax0) | Over 50 Kubernetes videos
[Kubernetes Ingress Explained Completely For Beginners](https://www.youtube.com/watch?v=GhZi4DxaxxE&ab_channel=KodeKloud) | 2019

## Tools & Projects
### Kubernetes - SRE

Name | Comments
:------ |:--------:
[KubeInvaders](https://github.com/lucky-sideburn/KubeInvaders) | "Chaos Engineering Tool for Kubernetes and Openshift"
[Kubesort](https://github.com/AATHITH/kubesort) | "kubesort helps you sort the results from kubectl get in an easy way"
[IngressMonitorController](https://github.com/stakater/IngressMonitorController) | "A Kubernetes controller to watch ingresses and create liveness alerts for your apps/microservices"

## Certificates
### Kubernetes - Certificates

Name | Comments
:------ |:--------:
Expand All @@ -66,6 +66,10 @@ Name | Comments
* Start cluster: `minikube start`
* Delete cluster: `minikube delete`

#### Common Kubectl Operations

* Create objects defined in a YAML: kubectl apply -f rs.yaml

#### Service Accounts

* List service accounts: `kubectl get serviceaccounts`
Expand Down Expand Up @@ -103,3 +107,7 @@ openssl x509 -req -in user.csr -CA ca.crt -CAkey ca.key -CAcreateseral -out user
kubectl config set-credentials myuser --client-certificates=$PWD/user.crt --client-key=$PWD/user.key
kubectl config set-context myuser-context --cluster=k8s-cluster --user=user
```

### Service

* Expose a ReplicaSet: `kubectl expose rs REPLICASET_NAME --name=SERVICE_NAME --target-port=PORT --type=NodePort/SOME_OTHER_SERVICE_TYPE`
6 changes: 6 additions & 0 deletions resources/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ sudo ausearch -m avc -m user_avc -m selinux_err -m user_selinux_err -i -ts today
* Destroy: `virsh destroy <vm_name>`
* Shutdown: `virsh shutdown <vm_name>`

#### Date

* year: `date +”%Y”`
* month: `date +”%m”`
* day: `date +”%a”`

## Checklist

Check your Linux educational progress with the following list:
Expand Down
16 changes: 15 additions & 1 deletion resources/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,27 @@ Name | Description
[Django](https://www.djangoproject.com) | Web framework with batteries included
[Mypy](http://mypy-lang.org) | Static type checker

## Cheat Sheet
### Cheat Sheet

#### YAML

* Read YAML
```
with open(r'/file/path') as file:
```

#### Files

* Read remote file(s)

```
from fabric import Connection
with Connection(host) as conn:
with conn.sftp().open(path) as stream:
...
```

## Python Checklist

<div align="center"><img src="images/python_map.png"></div><hr/>
Expand Down
5 changes: 5 additions & 0 deletions resources/security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Security

### Books

* [building_secure_and_reliable_systems](https://static.googleusercontent.com/media/sre.google/en//static/pdf/building_secure_and_reliable_systems.pdf)

0 comments on commit 5d85d21

Please sign in to comment.