Skip to content

Commit

Permalink
Notes from 20230503
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed May 3, 2023
1 parent 6280e1a commit 9926c1b
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 120_kubernetes/dns/headless.demo
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,24 @@ apiVersion: v1
kind: Service
metadata:
name: web
spec:
type: ClusterIP
selector:
app: web
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: web-headless
spec:
clusterIP: None
selector:
app: web
ports:
- name: http
port: 80
Expand Down
24 changes: 24 additions & 0 deletions 120_kubernetes/network_policy/network_policy.demo
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ spec:
image: nginx:stable
---
apiVersion: v1
kind: Pod
metadata:
name: web2
namespace: test1
labels:
app: web2
spec:
containers:
- name: nginx
image: nginx:stable
---
apiVersion: v1
kind: Service
metadata:
name: web
Expand Down Expand Up @@ -49,6 +61,18 @@ spec:
image: nginx:stable
---
apiVersion: v1
kind: Pod
metadata:
name: web2
namespace: test1
labels:
app: web2
spec:
containers:
- name: nginx
image: nginx:stable
---
apiVersion: v1
kind: Service
metadata:
name: web
Expand Down
16 changes: 16 additions & 0 deletions 2023-05-03_heise-Webinar-KubernetesNetworkPolicies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Rainer 01797768716
Lisa 015773743489

- Verschlüsselte DNS-Anfragen im Cluster
- Pod IP klarer machen
- https://www.knowledgehut.com/blog/devops/kubernetes-load-balancing
- Headless service: StatefulSet
- dig!
- Gegenüberstellung hinzufügen/korrigieren
- Namespaced NetworkPolicy
- Pods in demselben Namespace
- Namespace ohne Policy -> keine Beschränkung
- Priority
- Portability vs. Functionality
- Separate ingress and egress
- Hubble slide overflow

0 comments on commit 9926c1b

Please sign in to comment.