This documentation lays out a step by step process of getting started on Kubernetes.
To install docker we will switch to the root user just to make our work easier.
{ | |
"name": "angular-io-example", | |
"version": "1.0.0", | |
"private": true, | |
"description": "Example project from an angular.io guide.", | |
"scripts": { | |
"lint": "tslint ./src/**/*.ts -t verbose", | |
"start": "ng serve", | |
"test": "ng test", | |
"build": "ng build --prod", |
export ANDROID_HOME=$HOME/Android/Sdk | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export GRADLE_HOME=/opt/gradle/gradle-5.6.2 | |
export PATH=${GRADLE_HOME}/bin:${PATH} |
This documentation lays out a step by step process of getting started on Kubernetes.
To install docker we will switch to the root user just to make our work easier.
This document contains descripion on how to maintain agilion's cluster.
* Basic understanding of kubernetes(k8s) and microservice architecture.
* Cluster is up and running (There will be commands to verify the cluster status)
* Master Node configuration:
-- RAM >= 2 GB
Onve you settup a private repo, you will need an access token to access the image. | |
To login to GitHub repo, first create a file at and add your github password: | |
``nano ~/TOKEN.txt`` | |
Then run this command, replacing USERNAME with your github username. | |
``$ cat ~/TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin | |
`` |
In this documentation, we are going to set-up an nfs-server, nfs-client and test the network and eventually mount a persistent storage into the nfs server.
We will install an NFS server on an external machine (In my case: 192.168.1.100) to reduce the risk of system-failure and also allow for hardware optimization. (SSD and RAM)
For this case, we will be using a Unix environment:
# Prerequisites. | |
# Instalation | |
Install MetalLB for bare metal installation. | |
REF: https://metallb.universe.tf/installation/ | |
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/namespace.yaml | |
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/metallb.yaml | |
# On first install only | |
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)" |
kind: ServiceAccount | |
apiVersion: v1 | |
metadata: | |
name: nfs-client-provisioner | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: nfs-client-provisioner-runner | |
rules: |
apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: managed-nfs-storage | |
labels: | |
type: nfs | |
storage: nfs | |
provisioner: example.com/nfs | |
volumeBindingMode: WaitForFirstConsumer | |
parameters: |