Skip to content

Instantly share code, notes, and snippets.

@felipesere
Created June 24, 2025 18:05
Show Gist options
  • Save felipesere/9157736c9456267567cfde2e81b2e778 to your computer and use it in GitHub Desktop.
Save felipesere/9157736c9456267567cfde2e81b2e778 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2025-06-23T21:25:10Z"
generateName: kube-flannel-
generation: 1
labels:
controller-revision-hash: 5bc68d77f8
k8s-app: flannel
pod-template-generation: "1"
tier: node
name: kube-flannel-42j9b
namespace: kube-system
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: DaemonSet
name: kube-flannel
uid: 720b2753-707d-4dc9-a81a-7f0656c20315
resourceVersion: "95388"
uid: e2e064e5-743b-423d-928c-65d687727be1
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchFields:
- key: metadata.name
operator: In
values:
- talos-6n2-kja
containers:
- args:
- --ip-masq
- --kube-subnet-mgr
command:
- /opt/bin/flanneld
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: EVENT_QUEUE_DEPTH
value: "5000"
- name: KUBERNETES_SERVICE_HOST
value: 127.0.0.1
- name: KUBERNETES_SERVICE_PORT
value: "7445"
image: ghcr.io/siderolabs/flannel:v0.26.7
imagePullPolicy: IfNotPresent
name: kube-flannel
resources:
requests:
cpu: 100m
memory: 50Mi
securityContext:
capabilities:
add:
- NET_ADMIN
- NET_RAW
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /run/flannel
name: run
- mountPath: /etc/kube-flannel/
name: flannel-cfg
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-x7fdg
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
hostNetwork: true
initContainers:
- args:
- -f
- /etc/kube-flannel/cni-conf.json
- /etc/cni/net.d/10-flannel.conflist
command:
- cp
image: ghcr.io/siderolabs/flannel:v0.26.7
imagePullPolicy: IfNotPresent
name: install-config
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/cni/net.d
name: cni
- mountPath: /etc/kube-flannel/
name: flannel-cfg
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-x7fdg
readOnly: true
nodeName: talos-6n2-kja
preemptionPolicy: PreemptLowerPriority
priority: 2000001000
priorityClassName: system-node-critical
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: flannel
serviceAccountName: flannel
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
operator: Exists
- effect: NoExecute
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/disk-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/memory-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/pid-pressure
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/unschedulable
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/network-unavailable
operator: Exists
volumes:
- hostPath:
path: /run/flannel
type: ""
name: run
- hostPath:
path: /opt/cni/bin
type: ""
name: cni-plugin
- hostPath:
path: /etc/cni/net.d
type: ""
name: cni
- configMap:
defaultMode: 420
name: kube-flannel-cfg
name: flannel-cfg
- name: kube-api-access-x7fdg
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2025-06-24T17:42:57Z"
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2025-06-23T21:25:26Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2025-06-24T17:42:58Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2025-06-24T17:42:58Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2025-06-23T21:25:10Z"
status: "True"
type: PodScheduled
containerStatuses:
- allocatedResources:
cpu: 100m
memory: 50Mi
containerID: containerd://e7e1b957c2acf313ae83250d843b6ea2d9a5816f2d2783035fee34f160efffbc
image: ghcr.io/siderolabs/flannel:v0.26.7
imageID: ghcr.io/siderolabs/flannel@sha256:288b45ff822c72526a35f518ac9a1f84d43d52c52ed7685fa4bf8d54cf537848
lastState:
terminated:
containerID: containerd://6d253336eba9802cfaed4f567d00f517871de629f272ab4ffe1bd2a593aa9ae9
exitCode: 255
finishedAt: "1970-01-01T00:00:56Z"
reason: Unknown
startedAt: "2025-06-24T16:30:44Z"
name: kube-flannel
ready: true
resources:
requests:
cpu: 100m
memory: 50Mi
restartCount: 17
started: true
state:
running:
startedAt: "2025-06-24T17:42:57Z"
user:
linux:
gid: 0
supplementalGroups:
- 0
- 1
- 2
- 3
- 4
- 6
- 10
- 11
- 20
- 26
- 27
uid: 0
volumeMounts:
- mountPath: /run/flannel
name: run
- mountPath: /etc/kube-flannel/
name: flannel-cfg
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-x7fdg
readOnly: true
recursiveReadOnly: Disabled
hostIP: 192.168.1.201
hostIPs:
- ip: 192.168.1.201
initContainerStatuses:
- containerID: containerd://111bd52a26890face20456910741d52b07c9e5515997b160587a61c81663ee0e
image: ghcr.io/siderolabs/flannel:v0.26.7
imageID: ghcr.io/siderolabs/flannel@sha256:288b45ff822c72526a35f518ac9a1f84d43d52c52ed7685fa4bf8d54cf537848
lastState: {}
name: install-config
ready: true
resources: {}
restartCount: 1
started: false
state:
terminated:
containerID: containerd://111bd52a26890face20456910741d52b07c9e5515997b160587a61c81663ee0e
exitCode: 0
finishedAt: "2025-06-24T17:42:56Z"
reason: Completed
startedAt: "2025-06-24T17:42:56Z"
user:
linux:
gid: 0
supplementalGroups:
- 0
- 1
- 2
- 3
- 4
- 6
- 10
- 11
- 20
- 26
- 27
uid: 0
volumeMounts:
- mountPath: /etc/cni/net.d
name: cni
- mountPath: /etc/kube-flannel/
name: flannel-cfg
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-x7fdg
readOnly: true
recursiveReadOnly: Disabled
phase: Running
podIP: 192.168.1.201
podIPs:
- ip: 192.168.1.201
qosClass: Burstable
startTime: "2025-06-23T21:25:10Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment