Skip to content

Instantly share code, notes, and snippets.

@feiskyer
Created September 28, 2020 02:07
Show Gist options
  • Select an option

  • Save feiskyer/6e3104d3ca63d7b242ff70e90a133ed1 to your computer and use it in GitHub Desktop.

Select an option

Save feiskyer/6e3104d3ca63d7b242ff70e90a133ed1 to your computer and use it in GitHub Desktop.
Grabe calico-packet logs from syslog
apiVersion: crd.projectcalico.org/v1
kind: GlobalNetworkPolicy
metadata:
name: calico-log
spec:
egress:
- action: Log
destination: {}
protocol: TCP
source: {}
- action: Log
destination: {}
protocol: UDP
source: {}
- action: Allow
ingress:
- action: Log
destination: {}
protocol: TCP
source: {}
- action: Log
destination: {}
protocol: UDP
source: {}
- action: Allow
types:
- Ingress
- Egress
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: "calico-packet-logs"
namespace: "default"
spec:
selector:
matchLabels:
app: "calico-packet-logs"
template:
metadata:
labels:
app: "calico-packet-logs"
spec:
containers:
- name: "calico-packet-logs"
image: "alpine"
command:
- sh
- -c
- tail -f /var/log/syslog | grep 'calico-packet:'
volumeMounts:
- name: "iptables-logs"
mountPath: "/var/log"
readOnly: true
volumes:
- name: "iptables-logs"
hostPath:
path: "/var/log"
nodeSelector:
beta.kubernetes.io/os: linux
@deltaexecutor123
Copy link

Many users look for reliable sources that offer easy installation, clear instructions, and regular updates to avoid errors or restrictions. In this context, tools and executors that support the latest scripts gain even greater relevance, especially when they are compatible with the updated delta, which guarantees better stability, better execution speed, and access to the latest script functions available. By choosing the right scripts and keeping everything updated, players can explore Roblox in a more dynamic, efficient, and enjoyable way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment