Deployment Overview of Minikube on Server¶
Prerequisites and Basic Requirements¶
To ensure a successful deployment, the following requirements must be met by the host system:
-
Operating System: Ubuntu (specifically version 24.04 or compatible).
-
Privileges: Root or sudo access is required for package installation and binary placement.
-
Dependencies: Python 3 and
pipmust be available to facilitate library installations. -
Container Runtime: Docker must be installed and running on the host to serve as the Minikube driver.
File and Directory Structure¶
The deployment modifies several system paths to ensure command availability:
-
/usr/local/bin/minikube: The Minikube binary executable. -
/usr/local/bin/kubectl: The Kubernetes command-line tool. -
~/.bashrc: Updated to include/usr/local/binin the systemPATH.
Application installation process¶
The installation of Minikube is performed through a series of automated steps on Ubuntu systems:
-
System Package Installation: The system installs
python3-pipand thepython3-dockerlibrary to allow Python-based management of Docker containers. -
Minikube Binary Deployment:
-
The latest Minikube Linux AMD64 binary is downloaded from Google Cloud Storage.
-
The binary is moved to
/usr/local/bin/minikube. -
Execution permissions are granted via
chmod +x. -
Kubernetes CLI Installation:
-
The latest stable version of Kubernetes is retrieved from the official release URL.
-
The
kubectlbinary is downloaded and placed in/usr/local/bin/kubectlwith executable permissions (0755). -
Environment Configuration: The
/usr/local/bindirectory is appended to the user'sPATHwithin the.bashrcfile to ensure commands are accessible from any terminal session. -
Minikube Initialization: The application is started using the Docker driver with the
--forceflag:
Access Rights and Security¶
-
Binary Permissions: All installed binaries (
minikube,kubectl) are granted execution rights for system-wide access. -
Path Security: The installation modifies the user's shell configuration to ensure proper command resolution within the
/usr/local/bindirectory.
Starting and Stopping the application¶
The application is managed through the Minikube CLI:
-
Starting the application:
-
Stopping the application:
Available ports for connection¶
Minikube utilizes Docker as a driver, meaning it operates within a containerized environment. Standard Kubernetes API communication and service access will depend on the specific workloads deployed within the cluster once initialized.