Installation

MacOS

  1. [if you had navtunnel]: uninstall navtunnel

  2. curl https://device.nais.io/install.sh | bash (you might be prompted for password)

  3. Command+Space -> naisdevice -> systray icon -> connect (allow ~20 seconds before filing issues)

  4. Remember to update your kubeconfig

Windows

  1. install WireGuard (Note: Ignore error message regarding UI only being accessible by the Builtin Administrators group)

  2. install naisdevice (naisdevice.msi)

  3. Remember to update your kubeconfig

Ubuntu

  1. Install wireguard

    1. sudo add-apt-repository ppa:wireguard/wireguard

    2. sudo apt install wireguard

  2. Clone repo: git clone https://github.com/nais/device

  3. Make binaries: cd device && make local

  4. Run agent: ./bin/device-agent

  5. Remember to update your kubeconfig

Install Kolide agent

  1. 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'.

    1. If you haven't downloaded repo already: git clone <clone URL> && cd kubeconfigs

  2. git pull && git checkout naisdevice To ensure you've got latest & greatest.

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 you browser