Skip to content

Installation

MacOS

  1. [if you had navtunnel]: uninstall navtunnel
  2. install Kolide agent
  3. Write in the terminal: curl https://device.nais.io/install.sh | bash (you might be prompted for password)
  4. Command+Space -> naisdevice -> systray icon -> connect (allow ~20 seconds before filing issues)
  5. Remember to update your kubeconfig

Windows

  1. install Kolide agent
  2. install WireGuard (Note: Ignore error message regarding UI only being accessible by the Builtin Administrators group)
  3. install naisdevice (naisdevice.msi)
  4. Remember to update your kubeconfig
  5. Start naisdevice from the Start menu

Ubuntu (using Gnome, is the only supported variant atm)

  1. install Kolide agent
  2. Install wireguard
  3. sudo add-apt-repository ppa:wireguard/wireguard
  4. sudo apt install wireguard
  5. Clone repo: git clone https://github.com/nais/device
  6. Make binaries: cd device && make local
  7. Run agent: ./bin/device-agent
  8. Remember to update your kubeconfig

Install Kolide agent

  1. Send a message to the Kolide app on Slack: /msg @Kolide installers
  2. Select platform and wait for Kolide to create your installer
  3. Install package (xkxp-*-kolide-launcher.{pkg,msi,deb,rpm}). There are no success feedback from the installer. No error message means that the installation was successful.
  4. Allow a couple of minutes to let Kolide initialize device state, but if you're stuck at "Waiting for your device to connect" just go to the next step.
  5. Check your devices status: /msg @Kolide status on Slack and fix errors if there are any

Connecting to NAIS clusters

  1. In a terminal/shell of your choice, navigate to kubeconfigs repo'.
  2. If you haven't downloaded repo already: git clone https://github.com/navikt/kubeconfigs.git && cd kubeconfigs
  3. git pull To ensure you've got latest & greatest.
  4. git checkout naisdevice Remember to use the right branch!
  5. Pek KUBECONFIG miljøvariabelen på config-filen (fra terminal): export KUBECONFIG="<path-to>/kubeconfigs/config"

Uninstall navtunnel

  • Remove proxy settings from MAVEN_OPTS and Maven settings.xml
  • Remove Navtunnel settings from .ssh/config and .ssh/config.d

MacOS

  1. sudo sed -i -e '/\# NAV MANAGED/,/\# END NAV MANAGED/d' /private/etc/hosts
  2. sudo rm -rf "/Applications/navtunnel.app"
  3. sudo rm -rf "/Applications/ScaleFT.app"
  4. networksetup -setautoproxystate "Wi-Fi" off

Windows

  1. Remove Navtunnel-entries from c:\windows\system32\drivers\etc\hosts
  2. Remove proxy settings from your browser