• Kubernetes Submit Queue's avatar
    Merge pull request #57475 from stmcginnis/iscsi_node_startup · 462db17d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 57399, 57751, 57475). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    iscsi: set node.startup to manual
    
    If the default iSCSI node.startup is set to automatic, if there is a node failure,
    any pods on that node will get rescheduled to another node. If the failed node is
    later brought back up it will then try to log back in to any iSCSI sessions it had
    prior to the failure, which may no longer exist or may be now in-use by the other
    nodes.
    
    It appears most platforms keep the open-iscsi default of node.startup-automatic.
    But in case this system-wide setting has been changed, and just to be explicit, this
    sets node.startup values for kubernetes controlled volumes to manual.
    
    Fixes #21305
    
    ```release-note
    iSCSI sessions managed by kubernetes will now explicitly set startup.mode to 'manual' to
    prevent automatic login after node failure recovery. This is the default open-iscsi mode, so
    this change will only impact users who have changed their startup.mode to be 'automatic'
    in /etc/iscsi/iscsid.conf.
    ```
    462db17d
Name
Last commit
Last update
..
aws_ebs Loading commit data...
azure_dd Loading commit data...
azure_file Loading commit data...
cephfs Loading commit data...
cinder Loading commit data...
configmap Loading commit data...
csi Loading commit data...
downwardapi Loading commit data...
empty_dir Loading commit data...
fc Loading commit data...
flexvolume Loading commit data...
flocker Loading commit data...
gce_pd Loading commit data...
git_repo Loading commit data...
glusterfs Loading commit data...
host_path Loading commit data...
iscsi Loading commit data...
local Loading commit data...
nfs Loading commit data...
photon_pd Loading commit data...
portworx Loading commit data...
projected Loading commit data...
quobyte Loading commit data...
rbd Loading commit data...
scaleio Loading commit data...
secret Loading commit data...
storageos Loading commit data...
testing Loading commit data...
util Loading commit data...
validation Loading commit data...
vsphere_volume Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
metrics_cached.go Loading commit data...
metrics_du.go Loading commit data...
metrics_du_test.go Loading commit data...
metrics_errors.go Loading commit data...
metrics_nil.go Loading commit data...
metrics_nil_test.go Loading commit data...
metrics_statfs.go Loading commit data...
metrics_statfs_test.go Loading commit data...
plugins.go Loading commit data...
plugins_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...
volume.go Loading commit data...
volume_linux.go Loading commit data...
volume_unsupported.go Loading commit data...