LogoLogo
Tabnine websiteContact Sales
  • ๐Ÿ‘‹Welcome
    • Overview
      • Architecture
        • Deployment options
      • Security
      • Privacy
      • Protection
        • Provenance and Attribution
      • Personalization
        • Tabnineโ€™s Personalization in Depth
        • Connection: Global Codebase Awareness
      • AI Models
        • Tabnine's private and protected Universal models
        • Tabnine's fine-tuned AI models
      • Integrations
        • Atlassian Jira
      • System Requirements
      • Supported Languages
      • Supported IDEs
      • Tabnine Subscription Plans
        • Dev Preview
        • Dev
        • Enterprise (SaaS)
        • Enterprise (private installation)
    • Support & Feedback
  • ๐Ÿš€Getting started
    • Install
      • Client setup (SaaS)
        • VS Code
          • Install Tabnine in VS Code
          • Activate Tabnine in VS Code
        • JetBrains IDEs
          • Install Tabnine in a JetBrains IDE
          • Activate Tabnine in a JetBrains IDE
        • Visual Studio
          • Install Tabnine in Visual Studio 2022
          • Activate Tabnine in Visual Studio 2022
        • Eclipse
          • Install Tabnine in Eclipse
          • Activate Tabnine in Eclipse
        • Sign in
          • Using an email
          • Using an authentication token
      • Client setup (private installation)
        • Join your team (private installation)
        • VS Code (private installation)
        • JetBrains IDEs (private installation)
        • Visual Studio (private installation)
        • Eclipse (private installation)
    • Quickstart Guide
      • Menus and Icons
    • Getting the Most from Tabnine Code Completions
      • Pause (snooze)
    • Getting the Most from Inline Actions
    • Getting the Most from Tabnine Chat
      • Launching Tabnine Chat
      • Interacting with Tabnine Chat
      • Reviewing suggestions
      • Writing prompts
      • Chat Context
        • Understanding Context
        • Jira Connection
        • Context Scoping
      • Conversing with Tabnine Chat
      • Switching between chat AI models
      • Image Prompts
      • Tabnine's Prompting Guide
        • Getting Started
        • Basic Prompting
          • Be specific and clear
          • Define the context
          • Start a fresh conversation as appropriate
          • Include necessary details
          • Ask for examples
          • Be concise but complete
  • ๐Ÿ’ชSoftware Development with Tabnine
    • Overview
    • Plan
    • Create
    • Test
      • Intro to the Test Agent
      • Test Agent Workflow
      • Custom Commands
      • Generate Test Files with @Mentions
    • Review
    • Fix
    • Document
    • Explain
    • Maintain
  • ๐ŸญAdministering Tabnine
    • Start a team
    • Manage a team
    • SaaS
      • Enterprise (SaaS) team admin
        • Set up a Tabnine Enterprise (SaaS) account
        • Invite team members
        • Manage your team
        • AI models for Chat (Enterprise SaaS)
      • Enterprise (SaaS) team member
        • Join your Tabnine team by invitation email (team member)
        • Join Tabnine team by link (member)
    • Private installation
      • Server setup guide
        • Kubernetes (MicroK8s) Installation guide
        • Deployment guide
          • Tabnine update guide
        • Air-gapped deployment guide
      • Admin guide
        • Monitoring Tabnine
        • Prometheus Operator install
        • Audit logs
      • Managing your team
        • Tabnine teams
        • Roles in an enterprise
        • Inviting users to your team
        • Deactivating and reactivating users
        • Deleting PII data of a deactivated user
        • Reset user's password
        • Usage reports
          • Reports Glossary
          • CSV-based reports (V2)
            • Configuring scheduled CSV reports
            • CSV-based reports V1 (Depracted since version 5.7.0
          • Usage API
        • Settings
          • General
          • Single Sign-On (SSO)
          • Personalization (f.k.a. Workspace)
            • Connecting to External Code Repositories
          • Email
          • License
          • Models
          • Access Tokens
        • IdP Sync
      • Release Notes
  • ๐Ÿ“ฃProduct Updates
    • What's new?
      • What's new? (August 2024)
      • What's new? (July 2024)
      • What's new? (June 2024)
      • What's new? (May 2024)
      • What's new? (April 2024)
      • What's new? (March 2024)
      • What's new? (February 2024)
      • What's new? (January 2024)
Powered by GitBook
On this page

Was this helpful?

  1. Administering Tabnine
  2. Private installation
  3. Server setup guide

Kubernetes (MicroK8s) Installation guide

Last updated 10 months ago

Was this helpful?

The following article demonstrate a sequence of commands that Tabnine users use to setup microK8s kubernetes on an ubuntu server (22.04 LTS, 20.04 LTS, 18.04 LTS or 16.04 LTS).

In case you already have a Kubernetes cluster installed, you can skip this guide and proceed straight to our to install tabnine.

Install microk8s ( 1.27 is our minimal supported version)

sudo snap install microk8s --classic --channel=1.27

Verify user is already in microk8s group

groups

If microk8s is not present in print, add user to group (Replace ubuntu with your username if different):

sudo usermod -aG microk8s ubuntu
sudo newgrp microk8s
groups

Now microk8s should appear in the list of groups. If you need to check all groups on the system, you can use:

sudo cat /etc/group

Validate the server is up

microk8s status --wait-ready

Install some required addons

microk8s enable ingress
microk8s enable metrics-server
microk8s helm install -n local-path-provisioner --create-namespace  local-path-provisioner  oci://registry.tabnine.com/self-hosted/local-path-provisioner

Install nvidia apt pakcages

sudo apt update
sudo apt install nvidia-utils-525 nvidia-driver-525

Restart the host machine to allow drivers to be udpated

sudo reboot
microk8s enable gpu
sudo reboot

Validate that you see "nvidia.com/gpu" in the output

microk8s kubectl get nodes -ojsonpath="{.items[*]['metadata.name', 'status.allocatable']}"
๐Ÿญ
deployment guide