You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a single node kubernetes cluster. Issue arises when internet from the node gets disconnected and node rebooted when i checked pods behaviour. they all went into UNKNOWN STATE and flannel pod went into ERROR STATE(crashloopbackoff).
If there is no internet on the node and node rebooted then also my Kubernetes cluster should be working fine. All microservices should be running. What changes should i do in order to achieve this behavior.
Current Behavior
After network interface goes down , we get to see above shared logs messages in pod logs. and after node reboot they all went into unknown state and flannel into error state.
Steps to Reproduce (for bugs)
Install flannel with below commands.
Created kubernetes and install MS and coredns.
install flannel :- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
Now remove the network interface eth0. Now no internet on the node. check the logs after sometime.
Reboot the node and check pod status and logs.
Your Environment
Flannel version: v0.25.4
Backend used (e.g. vxlan or udp): vxlan
Etcd version:
Kubernetes version (if used): 1.29.5
Operating System and version: Ubuntu
Link to your project (optional):
The text was updated successfully, but these errors were encountered:
If eth0 is the network interface used by flannel you can't remove it. The interface should be remain up after flannel started even if there aren't any internet connection the interface should maintain the same IP. If you don't need that the node get internet access I suggest you to create a dummy interface with a static IP and use it as flannel interface.
I have already one dummy interface with static IP which remains in the cluster even though when there is no internet connection. but since that is not public interface when internet goes off from device and reboot also happen after that then when system came up flannel pod unable to start and went into crashloopbackoff state and other went into UNKNOWN state except static pods.
Dummy interface configuration.
daemonset conf
--iface=dummyinterface0
Error example(No internet on node and reboot happens ) :-
I am running a single node kubernetes cluster. Issue arises when internet from the node gets disconnected and node rebooted when i checked pods behaviour. they all went into UNKNOWN STATE and flannel pod went into ERROR STATE(crashloopbackoff).
Flannel pod logs :-
kubectl logs kube-flannel-ds-vtgxv -n kube-flannel
error from server: GET "https://192.168.1.249:10250/containerLogs/kube-flannel-ds-vtgxv/kube-flannel": dial tcp 192.168.1.249:10250: connect network is unreachable
Expected Behavior
If there is no internet on the node and node rebooted then also my Kubernetes cluster should be working fine. All microservices should be running. What changes should i do in order to achieve this behavior.
Current Behavior
After network interface goes down , we get to see above shared logs messages in pod logs. and after node reboot they all went into unknown state and flannel into error state.
Steps to Reproduce (for bugs)
Install flannel with below commands.
Created kubernetes and install MS and coredns.
install flannel :- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
Now remove the network interface eth0. Now no internet on the node. check the logs after sometime.
Reboot the node and check pod status and logs.
Your Environment
The text was updated successfully, but these errors were encountered: