• Kubernetes Submit Queue's avatar
    Merge pull request #39074 from Random-Liu/node-e2e-set-user · 1955ed61
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Node E2E: Set user with `--ssh-user` flag when running remote node e2e.
    
    This PR unblocks https://github.com/kubernetes/test-infra/issues/1348.
    
    In our test environment, we must login test instance as user `jenkins` because of the service account. Node e2e is always using the default user on the host, which works fine till now, because it is always run as `jenkins` in our test environment.
    
    However, now we moved the test runner into a docker container, inside the container user is `root` by default, which will cause error:
    ```
    Permission denied (publickey)
    ```
    
    This PR added a flag `--ssh-user` to explicitly specify the user used to ssh into test instance. The dockerized test runner can set user to `jenkins` with this flag.
    
    @krzyzacy  @ixdy
    1955ed61
Name
Last commit
Last update
..
builder Loading commit data...
conformance Loading commit data...
environment Loading commit data...
jenkins Loading commit data...
remote Loading commit data...
runner Loading commit data...
services Loading commit data...
system Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
apparmor_test.go Loading commit data...
benchmark_util.go Loading commit data...
cgroup_manager_test.go Loading commit data...
container.go Loading commit data...
container_manager_test.go Loading commit data...
density_test.go Loading commit data...
disk_eviction_test.go Loading commit data...
doc.go Loading commit data...
dynamic_kubelet_configuration_test.go Loading commit data...
e2e_node_suite_test.go Loading commit data...
garbage_collector_test.go Loading commit data...
gubernator.sh Loading commit data...
image_id_test.go Loading commit data...
image_list.go Loading commit data...
inode_eviction_test.go Loading commit data...
kubelet_test.go Loading commit data...
lifecycle_hook_test.go Loading commit data...
log_path_test.go Loading commit data...
memory_eviction_test.go Loading commit data...
mirror_pod_test.go Loading commit data...
resource_collector.go Loading commit data...
resource_usage_test.go Loading commit data...
restart_test.go Loading commit data...
runtime_conformance_test.go Loading commit data...
simple_mount.go Loading commit data...
summary_test.go Loading commit data...
util.go Loading commit data...
volume_manager_test.go Loading commit data...