apiVersion: v1
kind: Pod
metadata:
  name: nginx-host-networking-ports
  labels:
    app: nginx-host-networking-ports
spec:
  hostNetwork: true
  containers:
  - name: nginx
    image: nginx
    ports:
    - containerPort: 9001
      hostPort: 9001
    resources:
      limits:
        cpu: "100m"
        memory: "30Mi"
