Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 404 Bytes

configuring-secure-node-access.md

File metadata and controls

21 lines (14 loc) · 404 Bytes

Configuring secure node access from your pod

Steps

Create your ssh key

ssh-keygen -t rsa

Copy the public key to your node

ssh-copy-id -i ~/<pub-key-file> <username>@<host>

Create your k8s secret

kubectl create secret generic migoperator-secret --from-file=ssh-privatekey=/path/to/.ssh/id_rsa --from-file=ssh-publickey=/path/to/.ssh/id_rsa.pub