NGINX Ingress on IONOS

From PKC
Jump to navigation Jump to search

Foreword and Goals

This page documentation purpose is to documented the process of learning how to expose kubernetes application on IONOS platform into internet accessible application using NGINX Ingress. Hopefully that we can understand how to handle such requirement and that we can established common process on every cloud platform.

Pre Installation Process

The cluster is consist of two Virtual Private Cloud server, listed below

  1. Master Node, 2vCPU with 2GB of RAM and 60GB of Storage Space
  2. Worker Node, 1vCPU with 1GB of RAM and 30GB of Storage Space

For best practices, all above server is accessible using public/private key and acessed using normal user with sudo authorization. below are the ouline of the process

  1. login with root users, you can find this information on your IONOS Dashboard for each Cloud server that you have.
  2. create normal user, and add sudo authorization
  3. add this new normal user to enable sudo without password
  4. on your machine, create your private and public key
  5. register your public key into worker and master node

Once all the process is done and checked, you can connect to the server and perform sudo command without input any password. For best security practice, wht private key and public key should be rotated within certain periode of time.

Private Network Setup

To enable private network, please use your IONOS dashboard, and setup private network. Once the private network is enabled, one need to configure the new interface as can be seen with below command

sudo ifconfig -a

Master Plane Installation

Worker Plane Installation

Kubernetes Deployemnt