from laptop ok (yavin4): ``` kubectl exec -ti -n gitlab-system deployment/gitlab-toolbox -- /srv/gitlab/bin/rails console Defaulted container "toolbox" out of: toolbox, certificates (init), configure (init) -------------------------------------------------------------------------------- Ruby: ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux] GitLab: 15.0.0 (8a186dedfc1) FOSS GitLab Shell: 14.3.0 PostgreSQL: 12.7 ------------------------------------------------------------[ booted in 19.62s ] Loading production environment (Rails 6.1.4.7) irb(main):001:0> Snippet.find(1) => # irb(main):002:0> s = Snippet.find(1) => # irb(main):003:0> s => # irb(main):004:0> u = User.find_by_username("olasd") => # irb(main):005:0> u => # irb(main):006:0> u.id => 3 irb(main):007:0> u.name => "Nicolas Dandrimont" irb(main):008:0> s.author=u => # irb(main):009:0> s.author => # irb(main):010:0> s.created_at => Mon, 13 Jun 2022 08:37:32.284465000 UTC +00:00 ``` From container within yavin4 (ko): ``` forgerie@yavin4:/$ kubectl exec -ti -n gitlab-system deployment/gitlab-toolbox -- /srv/gitlab/bin/rails console bash: kubectl: command not found ``` From desktop bespin (ko): ``` $ kubectl exec -ti -n gitlab-system deployment/gitlab-toolbox -- /srv/gitlab/bin/rails console Unable to connect to the server: dial tcp: lookup euwest-gitlab-staging-89229db0.dd8c7b66-1c78-4e28-9fe3-6f454883861d.privatelink.westeurope.azmk8s.io: no such host ``` From container within bespin (ko): ``` forgerie@bespin:~$ kubectl exec -ti -n gitlab-system deployment/gitlab-toolbox -- /srv/gitlab/bin/rails console Unable to connect to the server: dial tcp: lookup euwest-gitlab-staging-89229db0.dd8c7b66-1c78-4e28-9fe3-6f454883861d.privatelink.westeurope.azmk8s.io on 192.168.100.29:53: no such host ```