Skip to content

This repository contains the configuration files for the production & test environment.

Notifications You must be signed in to change notification settings

devheaven-platform/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure

This repository contains the configuration files for the production & test environment. The platform is deployed on a kubernetes cluster. The cluster is running on a vsphere appliance provided by fontys. Each node in the cluster uses the CentOS operating system. Credentials for the vsphere appliance and the individual nodes can be found in the Google Drive for this project.

Commands

  • Kubernetes Dashboard: kubectl proxy (Use this link to open the dashboard)
  • Prometheus: kubectl port-forward service/prometheus-prometheus 9090:9090 -n monitoring
  • Grafana Dashboard: kubectl port-forward service/prometheus-grafana 8080:80 -n monitoring

Cluster Packges

These packages must be installed on each node for the cluster to operate:

  • rsync
  • nfs-utils

Cluster Requirements

Provider: seclab
VPN: vpnseclab.fhict.nl

K8s-Master
 - Name: pts-s61e-k8s-master
 - Hostname: k8s-master.devheaven.nl
 - IP: 10.10.0.10
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-1
 - Name: pts-s61e-k8s-node-1
 - Hostname: k8s-node-1.devheaven.nl
 - IP: 10.10.0.20
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB
 
K8s-Node-2
 - Name: pts-s61e-k8s-node-2
 - Hostname: k8s-node-2.devheaven.nl
 - IP: 10.10.0.30
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-3
 - Name: pts-s61e-k8s-node-3
 - Hostname: k8s-node-3.devheaven.nl
 - IP: 10.10.0.40
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-4
 - Name: pts-s61e-k8s-node-4
 - Hostname: k8s-node-4.devheaven.nl
 - IP: 10.10.0.50
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-5
 - Name: pts-s61e-k8s-node-5
 - Hostname: k8s-node-5.devheaven.nl
 - IP: 10.10.0.60
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-6
 - Name: pts-s61e-k8s-node-6
 - Hostname: k8s-node-6.devheaven.nl
 - IP: 10.10.0.70
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-Node-7
 - Name: pts-s61e-k8s-node-7
 - Hostname: k8s-node-7.devheaven.nl
 - IP: 10.10.0.80
 - CPU: 2 vCPUs
 - Memory: 8 GB
 - Disk: 32GB

K8s-NFS
 - Name: pts-s61e-k8s-nfs
 - Hostname: k8s-nfs.devheaven.nl
 - IP: 10.10.0.90
 - CPU:4 vCPUs
 - Memory: 8 GB
 - Disk: 200GB

References

Cluster Setup Scratch

Cluster Networking

CNI Providers

K8 On Bare Metal

Kubectl Install

NFS

NFS CentOS

Prometheus

Prometheus Operator

Prometheus / Kubeadm

Squid Reverse Proxy pfSense

HaProxy Reverse Proxy pfSense

Drone Setup

CI/CD Using Drone

Contribution

There are probably some points of improvement in the application design, structure or code.

If you believe there is a best practice I have not followed, please let me know by opening an issue on the issue tracker. Pull requests are welcome!

License

DevHeaven is released under the MIT license:

The MIT License (MIT)

Copyright (c) 2019 DevHeaven

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

This repository contains the configuration files for the production & test environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages