naveenrajm7 / microshift-serverless

Knative in Microshift - Serverless for the Edge!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MicroShift Serverless

Attempt to install knative in Microshift

Micorshift Knative

Platform : Redhat Microshift
Source : Openshift knative Serving (Mid-stream repo)
Images : Openshift Knative quay repository

Environment

Vagrant

Microshift not supported in RHEL vagrant boxes.

VirtualBox VM

Configs:

  • 2 CPU
  • 2 RAM
  • Storage
    • 1 Primary Disk for root
    • 1 Secondary Disk for pv of workloads
  • Networking
    • NAT for internet
    • Host-only to connect to VM locally
    • Port forwarding 80 -> 80 ( to reach service from local)
  • Installation
    • Minimal Install

See vbox file for full configuration

AWS

x86_64 - t3 instance family
ARM - t4g instance family

Provisioning

Terraform Commands

# first , to get all needed modules
terraform init   
# Nicely format all tf files
terraform fmt 
# To validate configs
terraform validate 
# To create infra
terraform apply  
# To destroy infra
terraform destroy

ssh -i priv.cer ec2-user@<public-ip>

Installation

Ansible commands

ansible-playbook -i 192.168.56.103,  playbook.yml --extra-vars "arch_type=amd64 target_env=local" -kK

Credits

This project was done as part of LFX Mentorship program - Term 02 Jun-Aug. Check here for project mid-term report

Resources

About

Knative in Microshift - Serverless for the Edge!


Languages

Language:HCL 100.0%