• Yu-Ju Hong's avatar
    kubelet: reject pods on host port conflict · 3ccdb8db
    Yu-Ju Hong authored
    When a host port conflict is detected, kubelet should set the pod status to
    fail. The failed status will then be polled by other components at a later time,
    which allows replication controller to create a new pod if necessary.
    
    To achieve this, this change stores the pod status information in a status map
    upon the detecton of port conflict. GetPodStatus() consults this status map
    before attempting to query docker. The entries in the status map will be removed
    when the pod is no longer associated with the node.
    3ccdb8db
Name
Last commit
Last update
..
ports Loading commit data...
doc.go Loading commit data...
master.go Loading commit data...
master_test.go Loading commit data...
pod_cache.go Loading commit data...
pod_cache_test.go Loading commit data...
publish.go Loading commit data...
rest_to_nodes.go Loading commit data...