Published
- 1 min read
Arch Linux K8S Cluster
A Kubernetes Cluster Based on Arch Linux Image
- Part of Kubernetes Installation
- Github Repository
🚩 Notes
- containers username is:
nasa
- containers password is:
nsa
- take a look at each containers exported ports
Requirements
- docker
- docker-compose
- make utilities (just for simplicity)
Commands
The is a make file provided for simplicity,
-
Docker build
$ make d-build # use `d-build-nc` for --no-cache building
-
Docker starting/stopping
$ make d-up # compose up containers saliency $ make d-down # compose down containers
-
Docker Shell Connection
$ make c-node-1 # connect to node 1 integrated shell $ make c-node-2 # connect to node 2 integrated shell $ make c-node-3 # connect to node 3 integrated shell
SSH connection
to if you want to connect to the containers SSH service run.
# the password is `nsa`
$ ssh nasa@0.0.0.0 -p 2200 # for connecting to container No. 1
$ ssh nasa@0.0.0.0 -p 2201 # for connecting to container No. 2
$ ssh nasa@0.0.0.0 -p 2202 # for connecting to container No. 3
Installed Packages on Each Arch Linux
- sudo
- openssh
- docker