Microservices Deployment Strategies: Node-Level Workloads
56%
When Deployment and StatefulSet are Not Enough
Imagine you have a platform that sniffs network traffic on every node in your Kubernetes cluster for security monitoring purposes. At t0, you have 3 nodes in your cluster, so you deploy 3 instances of your network sniffer application:
apiVersion: apps/v1
kind: Deployment
metadata:
name: network-sniffer
spec:
replicas: 3
selector:
matchLabels:
app: network-sniffer
template:
metadataCloud-Native Microservices With Kubernetes - 2nd Edition
A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in KubernetesEnroll now to unlock all content and receive all future updates for free.
