root@node-0:~# kubectl create namespace wrk-2
namespace/wrk-2 created
root@node-0:~# vim 1.yaml
+```
+
+# 09-1
+```yaml
+apiVersion: v1
+kind: Service
+metadata:
+ name: node-wrk-1-ubuntu24
+ labels:
+ app: node-wrk-1-ubuntu24
+spec:
+ type: ClusterIP
+ ports:
+ - name: tcp-9999
+ port: 9999
+ targetPort: 9999
+ protocol: TCP
+ - name: udp-9999
+ port: 9999
+ targetPort: 9999
+ protocol: UDP
+ selector:
+ app: node-wrk-1-ubuntu24
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: node-wrk-1-ubuntu24
+spec:
+ selector:
+ matchLabels:
+ app: node-wrk-1-ubuntu24
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: node-wrk-1-ubuntu24
+ spec:
+ containers:
+ - name: node-wrk-1-ubuntu24
+ image: docker.io/seantywork/ubuntu24
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 9999
+ protocol: TCP
+ - containerPort: 9999
+ protocol: UDP
+ nodeSelector:
+ nodelabel: node-wrk-1
+
+```
+
+# 09-2
+
+```Dockerfile
+FROM ubuntu:24.04
+
+ARG DEBIAN_FRONTEND=noninteractive
+
+WORKDIR /workspace
+
+RUN apt-get update
+
+RUN apt-get install -y ncat tshark
+
+CMD ["tail", "-f","/dev/null"]
+```
+
+# 09-3
+```shell
root@node-0:~# kubectl -n wrk-1 apply -f ./1.yaml
service/node-wrk-1-ubuntu24 created
deployment.apps/node-wrk-1-ubuntu24 created
```
-# 17
-
-```shell
-root@node-wrk-2-ubuntu24-85748464f7-mwmrt:/workspace# nc -l 0.0.0.0 9999
-```
-
-```shell
-root@node-wrk-1-ubuntu24-684f7d8fd6-2zncq:/workspace# nc node-wrk-2-ubuntu24.wrk-2 9999
-Ncat: Could not resolve hostname "node-wrk-2-ubuntu24.wrk-2": Temporary failure in name resolution. QUITTING.
-
-```
-
-# 18
-
-```shell
-
-root@node-wrk-1-ubuntu24-684f7d8fd6-2zncq:/workspace# nc 10.168.0.2 9999
-asdfdas
-
-seantywork@node-0:~$ nc -l 10.168.0.2 9999
-asdfdas
-
-
-```
-
-# 19
-
-```shell
-
-root@node-1:~# ip a
-...
-5: cilium_vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc noqueue state UNKNOWN group default
- link/ether b2:32:b8:a8:45:44 brd ff:ff:ff:ff:ff:ff
- inet6 fe80::b032:b8ff:fea8:4544/64 scope link
- valid_lft forever preferred_lft forever
-...
-```
-
-# 20
-
-```shell
-
-root@node-1:~# tshark -i cilium_vxlan -f tcp
-Running as user "root" and group "root". This could be dangerous.
-Capturing on 'cilium_vxlan'
- 1 0.000000000 10.0.1.49 → 10.0.0.252 HTTP 167 GET /hello HTTP/1.1
- 2 0.032000570 10.0.1.145 → 10.0.0.31 TCP 66 4240 → 46148 [ACK] Seq=1 Ack=1 Win=509 Len=0 TSval=371927877 TSecr=1863786270
- 3 0.207922950 10.0.1.49 → 10.0.0.252 TCP 167 [TCP Retransmission] 55212 → 4240 [PSH, ACK] Seq=1 Ack=1 Win=504 Len=101 TSval=1496745839 TSecr=99162087
- 4 0.415906275 10.0.1.49 → 10.0.0.252 TCP 167 [TCP Retransmission] 55212 → 4240 [PSH, ACK] Seq=1 Ack=1 Win=504 Len=101 TSval=1496746047 TSecr=99162087
- 5 0.823897888 10.0.1.49 → 10.0.0.252 TCP 167 [TCP Retransmission] 55212 → 4240 [PSH, ACK] Seq=1 Ack=1 Win=504 Len=101 TSval=1496746455 TSecr=99162087
- 6 1.631940972 10.0.1.49 → 10.0.0.252 TCP 167 [TCP Retransmission] 55212 → 4240 [PSH, ACK] Seq=1 Ack=1 Win=504 Len=101 TSval=1496747263 TSecr=99162087
-```
-
-
-# 21
-
-```shell
-root@node-1:~# tshark -i cilium_vxlan -f "tcp port 9999"
-Running as user "root" and group "root". This could be dangerous.
-Capturing on 'cilium_vxlan'
- 1 0.000000000 10.0.1.15 → 10.0.2.215 TCP 74 55470 → 9999 [SYN] Seq=0 Win=64390 Len=0 MSS=1370 SACK_PERM TSval=123429871 TSecr=0 WS=128
- 2 0.000493751 10.0.2.215 → 10.0.1.15 TCP 74 9999 → 55470 [SYN, ACK] Seq=0 Ack=1 Win=65184 Len=0 MSS=1370 SACK_PERM TSval=2041106803 TSecr=123429871 WS=128
- 3 0.000602455 10.0.1.15 → 10.0.2.215 TCP 66 55470 → 9999 [ACK] Seq=1 Ack=1 Win=64512 Len=0 TSval=123429872 TSecr=2041106803
-
-```
-
# 22
```shell