Gitea container and SSH

Cluster information:

Kubernetes version: v1.17.4+k3s1
Cloud being used: bare-metal
Installation method: k3s install script
Host OS: Arch Linux

The goal

I’m hosting a Gitea instance right now. http works fine, but I’m trying to get ssh to work.

git clone works as expected.

What I think I need to do

  • Generate ssh keys within container
  • Ingress Controller map outside port 22 to service (running via standard port 22)


I don’t know if the above is correct. Also, I access my nodes via ssh on port 22. Won’t there be a conflict?