SpectroCloud: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
Line 2: Line 2:
==Vertex Installation==
==Vertex Installation==
===Pre Requisites===
===Pre Requisites===
https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/
====1. Needed Downloads====
====1. Needed Downloads====
* airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)
* airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)

Revision as of 17:31, 20 November 2024

Spectro Cloud Documentation

Vertex Installation

Pre Requisites

1. Needed Downloads

  • airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)

2. vCenter Prep

  • Tag the DataCenter with k8s-region
  • Tag the Cluster with k8s-zone
  • Create a VM Folder called spectro-templates
  • Create a VM Folder called spectro-vms

3. Harbor Prep

  • Create a new Public Project (spectro-images)

4. OVA Setup

DOCS REFERENCE: https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-vmware/airgap-install/environment-setup/vmware-vsphere-airgap-instructions/

  • Deploy the OVA to vCenter (airgap-base-ova).
1. Machine name: sc-deploy
2. Folder: spectro-vms
3. Acknowledge the certificate.
4. Storage: DERS-HDD
5. Network: DERS-87
6. Set SSH Public Key: <opsman-key>
7. Default User Password: <ders>
  • SSH to the sc-deploy VM.
ssh -i ~/.ssh/opsman ubuntu@<IP>
################
# INSTALL ORAS #
################
# GET LATEST VERSION FROM: https://github.com/oras-project/oras/releases
VERSION="1.2.0"
curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz"
mkdir -p oras-install/
tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/
sudo mv oras-install/oras /usr/local/bin/
rm -rf oras_${VERSION}_*.tar.gz oras-install/

##############################
# INSTALL JQ, ZIP, and UNZIP #
##############################
yum -y install jq zip unzip

##################
# INSTALL DOCKER #
##################

#######################
# CREATE HARBOR REPOS #
#######################
* spectro-packs (Private)
* spectro-images (Public)

Vertex Install Steps

#################
# SET VARIABLES #
#################
export OCI_IMAGE_REGISTRY=harbor.dersllc.com
export OCI_PACK_BASE=spectro-images
export OCI_PACK_REGISTRY=harbor.dersllc.com
export OCI_IMAGE_BASE=spectro-images
export SC_VERSION='v4.5.8'

###################
# Log-in via ORAS #
###################
oras login harbor.dersllc.com --username 'admin' --password '<Password>'

#####################
# RUN AIRGAP BINARY #
#####################
cd /nfs/Download/
chmod +x airgap-vertex-$SC_VERSION.bin
./airgap-vertex-$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex/

###########################################################
# UNZIP Manifest in /var/www/html/manifests/ on ders-plex #
###########################################################
# ssh to ders-plex
mkdir -p /var/www/html/manifests
mv /nfs/Download/manifest/spectro-manifests-1731600607.zip /var/www/html/manifests
cd /var/www/html/manifests
unzip spectro-manifests-1731600607.zip
systemctl restart httpd

curl http://172.16.84.22:8710/manifests/roar/nickfury/versions.yaml

#