Attempt to install knative in Microshift
Micorshift | Knative | |
---|---|---|
➕ |
Platform : Redhat Microshift
Source : Openshift knative Serving (Mid-stream repo)
Images : Openshift Knative quay repository
Microshift not supported in RHEL vagrant boxes.
Configs:
- 2 CPU
- 2 RAM
- Storage
- 1 Primary Disk for root
- 1 Secondary Disk for pv of workloads
- Networking
NAT
for internetHost-only
to connect to VM locally- Port forwarding 80 -> 80 ( to reach service from local)
- Installation
- Minimal Install
See vbox file for full configuration
x86_64 - t3 instance family
ARM - t4g instance family
# 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>
ansible-playbook -i 192.168.56.103, playbook.yml --extra-vars "arch_type=amd64 target_env=local" -kK
This project was done as part of LFX Mentorship program - Term 02 Jun-Aug. Check here for project mid-term report