
Networking And Kubernetes: A Layered Approach ✍️ By @strongjz and @isthelaststop 📓Available from @OReillyMedia
Layer 8
Joined September 2021
- Tweets147
- Following129
- Followers814
- Likes215
Networking and Kubernetes retweeted
Day 2 of DevOps: Network Protocols & HTTP Basics
Core Network Protocols:
➡️TCP (Transmission Control Protocol)
➡️UDP (User Datagram Protocol)
➡️HTTP/HTTPS (Web protocols)
HTTP Methods:
➡️GET: Retrieve data
➡️POST: Submit data
➡️PUT: Update data
➡️DELETE: Remove data
Let's do hands-on practical exercises:
IDK, if these will get formatted properly on X, but who gives a shit.
Make a simple HTTP request:
`curl -I x.com`
Send a GET request with headers:
`curl -H "Accept: application/json" api.github.com/users/octocat`
Monitor network traffic:
`netstat -an`
Create a simple HTTP server in Python:
```
from http.server import HTTPServer, SimpleHTTPRequestHandler
def run(server_class=HTTPServer, handler_class=SimpleHTTPRequestHandler):
server_address = ('', 8000)
httpd = server_class(server_address, handler_class)
print('Starting server on port 8000...')
httpd.serve_forever()
if __name__ == '__main__':
run()
```
Run the server:
`python simple_server.py`
Visit `http://localhost:8000` in your browser to see it working.
Key Takeaways for Day 2:
👉Understanding HTTP request/response cycle
👉Basic HTTP methods and status codes
👉How to use curl for API testing
Creating a basic HTTP server
Try these exercises, and let me know if you need clarification on any concept!
Follow @ghumare64 for Day 3 of DevOps; We will learn DevOps Daily.
Day 1 of learning DevOps: Networking Fundamentals
🛜What is a Network?
A network is a collection of connected devices that can communicate and share resources
🧑💻Key Concepts:
🔎IP Address: Your device's unique address on a network (like a house address)
📀DNS (Domain Name System): Translates domain names to IP addresses
🔋Ports: Virtual points where network connections start/end (like different doors to a house)
🔌Protocols: Rules for how data is transmitted (HTTP, HTTPS, FTP, etc.)
🎛️Let's do some practical exercises:
Check your IP address:
`ipconfig`
For Linux/Mac:
`ifconfig`
Look up a domain's IP:
`nslookup x.com`
Check if a server is responding:
`ping x.com`
Common Port Numbers to Remember:
```
HTTP: 80
HTTPS: 443
FTP: 21
SSH: 22
DNS: 53
```
Try demo: Try visiting x.com in your browser and then use these tools to:
- Find its IP address
- Ping the server
Check your own IP address
☎️ This foundation will help you understand how web applications communicate and set you up for more advanced networking concepts.
🧰Want to test your knowledge? Try explaining back to me:
👉What's the difference between an IP address and a domain name?
👉Why do we need different ports?
👉What happens when you type x.com in your browser?
Follow @ghumare64 for Day 2 of DevOps; We will learn DevOps Daily.
Networking and Kubernetes retweeted
The tutorial covers creating CRDs, including defining the scope, spec, and status, and using validation markers and Common Expression Language (CEL) to ensure well-defined configurations
➤ dev.to/gianlucam76/extending…
Networking and Kubernetes retweeted
I got this dm yesterday, it feels great to hear that @NetworkAndK8s is helping folks.
Networking and Kubernetes retweeted
🥳 Go 1.22.0 is released!
🗒️ Release notes: go.dev/doc/go1.22
📦 Download: go.dev/dl/#go1.22.0
#golang
Networking and Kubernetes retweeted
👀 Here are some insights into the dynamic world of Kubernetes networking! 🌐 In this blog, Jeremy Colvin dives deep into the roles of kube-proxy and iptables, unraveling their significance in the #Kubernetes ecosystem!
isovalent.site/3Hrcko4
Networking and Kubernetes retweeted
This article provides an in-depth guide on how to work with a Kubernetes cluster and Containerd, discussing how images are pulled from DockerHub and the efficiency of the process
➤ medium.com/@doug.hellinger/e…
Networking and Kubernetes retweeted
In this guide, you will learn how Cilium processes packets in Kubernetes using eBPF
➜ addozhang.medium.com/kuberne…
Networking and Kubernetes retweeted
How is data sent over the internet? What does that have to do with the OSI model? How does TCP/IP fit into this?
7 Layers in the OSI model are:
1. Physical Layer
2. Data Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Networking and Kubernetes retweeted
Blog: Kubernetes 1.29: New (alpha) Feature, Load Balancer IP Mode for Services - kubernetes.io/blog/2023/12/1… #Kubernetes
Networking and Kubernetes retweeted
KubeSkoop is a networking diagnosis tool for different CNI plug-ins
It automatically reconstructs the network traffic graph and monitors and analyses the kernel's critical path with eBPF to resolve most cluster network problems
➤ github.com/alibaba/kubeskoop
Networking and Kubernetes retweeted
They say you should learn the fundamentals, and the rest will fall into place.
DNS is right at the foundation of the internet.
Networking and Kubernetes retweeted
We resume the CNCF Kubernetes Book Club on January 12th with the CKS Study Guide by @bmuschko
Join the CNCF Slack channel kubernetes-book-club and add your contact info to get a voucher or discount for the book.
You can add an invite to your calendar here community.cncf.io/events/det…
With their powers combined @ciliumproject hubble, @kubeshark_oss , and netshoot you can overcome any k8s networking issue!
In this blog post, you will delve into the essentials of network traffic within Kubernetes clusters, explore tools and techniques for packet capturing, and unearth best practices to ensure our efforts are efficient and safe
➜ jysk.tech/inspect-deployment…
Networking and Kubernetes retweeted
🧵 Tips and Tricks to Pass the CKA and CKAD Exams (Resource Links Included) 👇
Ace the CKA and CKAD exams with these crucial tips and helpful resource links!
Networking and Kubernetes retweeted
Linux device virtualization technology has continually evolved in different directions, from serving VM & supporting containers to combining software & hardware approaches that allow for maximum performance and flexibility
A day dedicated to learning:
itnext.io/the-evolution-of-n…
Networking and Kubernetes retweeted
🌟 Go 1.21.5 and 1.20.12 are released!
🔐 Security: Includes security fixes for net/http (CVE-2023-39326), cmd/go (CVE-2023-45285), path/filepath (CVE-2023-45283 update).
📢 Announcement: groups.google.com/g/golang-a…
⬇️ Download: go.dev/dl/#go1.21.5
#golang
Networking and Kubernetes retweeted
Multi Tool Kubernetes Pentest Image contains all the most popular and necessary tools for Kubernetes penetration testing
➤ github.com/r0binak/MTKPI



























