Go is now a popular choice for network and protocol handling code. Taking Weaveworks' Network Policy Controller as an example, Bryan Boreham will show how you can program Linux network facilities including netlink and iptables in Go.
Weave Network Policy Controller (weave-npc) is an implementation of the Kubernetes Network Policy, which specifies allowed connections within a Kubernetes cluster. The code is all written in Go, and available on GitHub under Apache Licence.
YOU MAY ALSO LIKE:
- Automate Kubernetes with GitOps (SkillsCast recorded in September 2019)
- Docker Fundamentals with Matt Saunders (Online Course on 21st - 24th September 2020)
- Advanced Kubernetes Concepts with Jérôme Petazzoni (Online Course on 28th September - 1st October 2020)
- Web Scraping with GoLang (Online Meetup on 13th August 2020)
- Debugging Containers on Kubernetes with "kubectl debug" (SkillsCast recorded in July 2020)
- Let’s Play with Cloud Code to Run Cloud Native Applications (SkillsCast recorded in June 2020)
Weave-npc: Container firewalls in Go
After first getting into programming as a kid, creating a video game called "Splat", Bryan's career has ranged from charting pie sales at a bakery to real-time pricing of billion-dollar bond trades. At Weaveworks, Bryan works on deployment and observability for containers and microservices, and is a contributor to many Cloud Native Open Source projects including Kubernetes, Weave Net and Cortex. Outside of work he is a father, a helicopter pilot, and can cook a mean risotto primavera.